TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

Android need to automatically open .tic files with TIC-80

Open Popolon opened this issue 4 months ago • 8 comments

It's very add to make the link between .tic TIC-80 cardridges files and TIC-80 on Android today.

the intent-filter section in file build/android/app/src/main/AndroidManifest.xml

need the missing parameters <data android:pathPattern=".*\\.tic">

Like this:

            <!-- Drop file event -->
            <!--
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <data android:mimeType="*/*" />
                <data android:pathPattern=".*\\.tic" />
            </intent-filter>

Popolon avatar Aug 15 '25 14:08 Popolon

Please check if it works https://github.com/nesbox/TIC-80/pull/2834

nesbox avatar Sep 13 '25 06:09 nesbox

Apk is at https://github.com/nesbox/TIC-80/actions/runs/17691922422/artifacts/4001827125

imsys avatar Sep 13 '25 06:09 imsys

It seems to depend a bit on the file browser. The main one that I use is the Mix file browser, and it works correctly Image

But googles file browser seems to fail. Image

imsys avatar Sep 13 '25 06:09 imsys

Strange, I'm quite sure I got it working in a previous test. Anyway, I will rest a bit and check this later.

imsys avatar Sep 13 '25 06:09 imsys

Oh, maybe it's the tooling. I'm using more up to date building tools locally.

imsys avatar Sep 13 '25 06:09 imsys

Image Image

imsys avatar Sep 14 '25 00:09 imsys

Apk is at https://github.com/nesbox/TIC-80/actions/runs/17691922422/artifacts/4001827125

This version of TIC-80 when launching the icon (not a cart) just make black screen or display the icon in middle of black screen in waydroid, didn't tested on my phone. Previous one worked.

Popolon avatar Sep 19 '25 10:09 Popolon

This version of TIC-80 when launching the icon (not a cart) just make black screen or display the icon in middle of black screen in waydroid, didn't tested on my phone. Previous one worked.

Sorry, try this one that is from the latest build: artifact apk

imsys avatar Sep 19 '25 12:09 imsys