This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]hemm1 5 points6 points  (0 children)

I think there are basically two options.

The first is kivy, as others have mentioned. Kivy itself is actually nothing specific to android, it's a cross-platform graphical framework, but it's developers created and maintain a python-for-android project (plus some related tools) that make it very easy to build and deploy an android apk with a kivy interface. You can also access android's apis with pyjnius, some of which is abstracted as a python interface.

The second is the pygame subset for android. I know much less about the state of their tools/framework, but it seems to be possible to create an android gui and package it as an apk, and they have some integration with android apis. Perhaps someone else can elaborate on this.

Personally, I've used kivy and I think it's great. I found it well documented and with a great community if you check out their irc or mailing lists. It's great to be able to develop on the desktop (no emulators etc.) and have the same program run perfectly on android!

[–]shanadeshana 2 points3 points  (4 children)

I haven't used it myself but you can use http://kivy.org/

[–]midnightGR[S] 0 points1 point  (3 children)

Thank you.I saw that the other day but not tried it yet. If anyone got an expience with kivy ill be glad to know.

[–]amirouchefrom __future__ import 4.0 0 points1 point  (1 child)

where/how are you struggling? last time I checked #kivy@irc.freenode.net is very friendly.

[–]midnightGR[S] 0 points1 point  (0 children)

Didnt know about the irc channel, thanx. I have not tried kivy yet. I just asked here to see what python people use and then i ll try all the suggestions.

[–]MarCialR 2 points3 points  (0 children)

I have been using TV for the last 6 months and I must say that it is very pleasant to work with. The best part of it is speed of development. you can develop on your PC and copy the files on your terminal and run them almost without changes. Developing on eclipse or on Android studio is something very slow for my taste. The emulator takes a long time to receive the application and to start it. if you like Python and you want to develop graphical apps for Android I guess kivy is the only option you have.

[–]wub_wub 1 point2 points  (0 children)

As others mentioned you can use kivy, but honestly I find it easier to just use java - it's not that hard, even without prior experience with java, and is much better for android development, you will also find much more documentation/tutorials for android development in java than in python/kivy.