30 lines
1.0 KiB
Plaintext
30 lines
1.0 KiB
Plaintext
V7.6 TV launcher
|
|
Base : V7.5 boutons à droite.
|
|
|
|
Changement :
|
|
- Ajout de android.intent.category.LEANBACK_LAUNCHER.
|
|
- Ajout du support Android TV / Google TV launcher.
|
|
- L'application devrait apparaître dans la liste des applications de la Mi Box.
|
|
|
|
Fichiers à copier :
|
|
lib/main.dart -> D:\07-Logiciels\04-INSTATV\insta_tv_viewer\lib\main.dart
|
|
android/app/src/main/AndroidManifest.xml -> D:\07-Logiciels\04-INSTATV\insta_tv_viewer\android\app\src\main\AndroidManifest.xml
|
|
|
|
Puis :
|
|
flutter clean
|
|
flutter pub get
|
|
flutter build apk --debug
|
|
|
|
Pour installer sur la Mi Box 192.168.1.56 :
|
|
adb connect 192.168.1.56:5555
|
|
adb -s 192.168.1.56:5555 uninstall com.example.insta_tv_viewer
|
|
adb -s 192.168.1.56:5555 install build\app\outputs\flutter-apk\app-debug.apk
|
|
adb -s 192.168.1.56:5555 shell monkey -p com.example.insta_tv_viewer 1
|
|
|
|
Après installation :
|
|
- Va dans Applications sur la Mi Box.
|
|
- Cherche : Insta TV Viewer.
|
|
|
|
Si elle n'apparaît pas tout de suite :
|
|
adb -s 192.168.1.56:5555 shell am force-stop com.google.android.tvlauncher
|