I can't find the F-Droid app on Android TV, once I install it

Hi all!

I have tried to install F-Droid on my Android TV by sideloading it the same way I did on my phone, but at the end I can’t find the app on the menu.

Everything works and it says at the end that it has been installed but when I look at the menu, it’s not there.

I’m sure that installing apps from unknown sources works because I’ve succesfully installed an other app and it appears in the menu.

What can I do?

I’ve looked at the installed app section (settings - app - all the apps - F Droid) and I have found it… but I still don’t understand why it doesn’t appear on the main menu

I’ve seen that the app for some reason is installed as a system app not a normal app… so that is why probably it doesn’t appear in the main menu.

Why is that? How do I change this?

Maybe https://developer.android.com/training/tv/start/start#tv-activity & androidmanifest with

<uses-feature android:name="android.software.leanback"
        android:required="false" />

<uses-feature android:name="android.hardware.touchscreen"
              android:required="false" />

android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|layoutDirection|navigation|uiMode|density"

?

1 Like

but the app isn’t mine… so this is for the developers, isn’t it?

Indeed , it’ a nightmare to update apps with f-droid hidden so deep, @hans @hotlittlewhitedog I’ve uploaded 2x minimalist patches for both android TV & Dex basics https://gitlab.com/oF2pks/fdroidclient/-/commits/1009000-1.8, that should not interfere regular smartphone use.
Look well in androidTV (Pie) AVD (AndroidStudio), but sdk28 is required for Leanback/17 minimal compatibility.

@portata @mato can you give a try and comment ?

EDIT: I forgot the new

    <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>

check latest https://gitlab.com/oF2pks/fdroidclient/uploads/be210e1e3723c2c2c4f9d95bfca67435/app-full-debug.apk

3 Likes

@oF2pks I don’t understand, what should I do? Try and reinstall the F-Droid app after your what you’ve commited? Did your changes get already implemented by the F-Droid developers?

1 Like

Indeed: reinstall the debug one.

I also updated my Lineage browser with same androidTV (Apps/menu) minimal support: official 1.0-7 https://f-droid.org/en/packages/com.oF2pks.jquarks/

1 Like

I don’t know which debug version you are talking about, can you link to me the debug version?

I’ve uninstalled the official one and reinstalled it, but the same happens.

I also updated my Lineage browser with same androidTV (Apps/menu) minimal support: official 1.0-7 https://f-droid.org/en/packages/com.oF2pks.jquarks/

So, it’s a browser similar to the Puffin Browser? It works on Samsung TVs too? Because you can’t install an apk on Tizen from what I know.

1 Like

https://gitlab.com/oF2pks/fdroidclient/uploads/be210e1e3723c2c2c4f9d95bfca67435/app-full-debug.apk

Both debug-fdroid_client and jQuarks should appear well and works (well?) on AndroidTV and SamsungDEX (not Tizen OS).

1 Like

@portata (@hotlittlewhitedog) what I don’t get with my androidTV emulator is that android property
packageInfo.lastUpdateTime is wrongly reported.

Can some verify that, on real androidTV, with @xgouchet F-Droid Stanley app ? This property is also used by F-Droid client https://gitlab.com/search?utf8=✓&snippets=&scope=&repository_ref=master&search=lastUpdateTime&project_id=36189

(There are many other AOSP unsupported features in androidTV e.g. https://stackoverflow.com/questions/50981739/android-tv-getting-last-used-apps-through-usagestatsmanager)

btw, I will update apps_PackageInfo and ClassyShark3xodus for androidTV soon.

1 Like