Android Question Android TV Leanback is supported?

Jerez

Active Member
Licensed User
Longtime User
Hello,

I want to know if Android TV Leanback is supported or just a "cheat" to run Android Phone apps on Android TV?

If not, any possible way to port this library to use in B4A? $$ I'm able to do a reasonable pay.

https://github.com/googlesamples/androidtv-Leanback

atv-leanback-all.png
 

Jerez

Active Member
Licensed User
Longtime User
Upvote 0

aidymp

Well-Known Member
Licensed User
Longtime User
The steps that you should follow can be easily done from B4A. You just need to add a few snippets to the manifest editor.

What are the steps?

I added

AddManifestText(<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>)
AddManifestText(<uses-feature android:name="android.software.leanback" android:required="false" />)

but am stuck on this!

<application
android:banner="@drawable/banner">
...
<activity
android:name="com.example.android.MainActivity"
android:label="@string/app_name">

<intent-filter>
<actionandroid:name="android.intent.action.MAIN"/>
<categoryandroid:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>

<activity
android:name="com.example.android.TvActivity"
android:label="@string/app_name"
android:theme="@style/Theme.Leanback">
...

Thanks

Aidy
 
Upvote 0
Top