Kivy 1.8.0 & Android 4.4.2 (TVBox)

297 views
Skip to first unread message

Oleg Kozlov

unread,
Mar 10, 2015, 7:33:11 PM3/10/15
to kivy-...@googlegroups.com
Hello.
Does someone has experience with Kivy & Android 4.4.2?

I wrote app with Kivy (no external dependencies) and build APK with buildozer (spec attached).
I tested it on smartphone with Android 4.2.9. It's work fine via standalone APK install and it's work fine via Kivy Launcher (android.txt attached) too.

Also I have TVBox (without usb ports) with Android 4.4.2. App installs from same APK but after open shows only black screen and nothing happens. No presplash screen, no logs. Nothing at all. If I start app via Kivy Launcher I have same issue.
Really strange that in internal_sd/kivy/<App> doesn't creates .kivy directory (so, I have no logs at all), only .launch file with "started" inside it.
Look like app doesn't loads at all. It's don't try to execute main.py (compiled equivalent for main app's file).

Because TVBox doesn't has usb ports it is not possible to debug it with adb (for lan/wifi debugging first connection need to be via usb anyway). And I don't have any other Android 4.4.* devices.

I understand that impossible to say something specific info for solution without any logs. But may be someone already created  apps with Kivy for Android 4.4.2 and already looked similar issue?
android.txt
buildozer.spec

Federico Curzel

unread,
Mar 11, 2015, 3:41:48 AM3/11/15
to kivy-...@googlegroups.com

I've been using kivy with android 2.3, 4.2, 4.3, 4.4 and 5...
No costumization needed...
Try using adb logcat to see what's happening and post to log....


--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Oleg Kozlov

unread,
Mar 11, 2015, 6:36:42 AM3/11/15
to kivy-...@googlegroups.com
TVBox doesn't have usb ports. I cannot connect it to PC and use adb.
Anyway, now I know that app doesn't need any customization for  Android 4.4. Look like issue in app code.

Thanks.

--
You received this message because you are subscribed to a topic in the Google Groups "Kivy users support" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-users/pZzTl2CZYDg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-users+...@googlegroups.com.

oly

unread,
Mar 11, 2015, 8:24:28 AM3/11/15
to kivy-...@googlegroups.com
look in the app store for logcat, you should find something like https://play.google.com/store/apps/details?id=com.ttxapps.wifiadb&hl=en there are others but i have not researched this you should then be able to see logs via wifi or even on the device with some of the apps.

not tried this myself as i just use usb :)

Oleg Kozlov

unread,
Mar 11, 2015, 9:20:42 AM3/11/15
to kivy-...@googlegroups.com
Thanks for advice. I'll try it.

qua non

unread,
Mar 11, 2015, 10:05:28 AM3/11/15
to kivy-...@googlegroups.com

Federico Curzel

unread,
Mar 11, 2015, 10:52:42 AM3/11/15
to kivy-...@googlegroups.com

Adb over WiFi might need root on some devices

Oleg Kozlov

unread,
Mar 11, 2015, 12:14:11 PM3/11/15
to kivy-...@googlegroups.com
I found app which not need root, but first connection for setup need to be via usb :)

Anyway it does not matter. Look like I found the reason of problem. First APK I build with orientation=portrait in android.txt and buildozer.
I build new APK with orientation=all and it work fine now on TVBox, smartphone and tapletpc.

Android TVBox connected via HDMI to Philips TV (screen resolution 1920*1080). Look like TVBox can run only landscape oriented applications and if run app build with orientation=portrait it can't be executed by TVBox.

Thanks to all.
Solved.

Reply all
Reply to author
Forward
0 new messages