android - Eclipse, PyDev, and Kivy -
android - Eclipse, PyDev, and Kivy -
i have installed eclipse, pydev, , kivy , setup first project main.py file using instructions found here:
http://www.ocularsoftware.com/2012/11/how-to-use-pydev-to-develop-and-run-kivy-applications-on-windows/
but i'm stuck on how create hello world android app , install on android emulator.
do need import part of android sdk? missing anything? don't know set in main.py except
print("hello, world!")
edit: ok figured out how run in test window, still can't run in android virtual device.
here new code:
from kivy.app import app kivy.uix.button import button class testapp(app): def build(self): homecoming button(text='hello world') if __name__ in ('__main__', '__android__'): testapp().run()
thanks
the tutorial linked not have android.
the title is:
how utilize pydev develop , run kivy applications (on windows)
note (on windows) part.
so don't think going anywhere.
it possible write python apps android. see here: https://code.google.com/p/python-for-android/
and here: http://code.google.com/p/android-scripting/
i don't think kivy going work on sl4a though. believe have back upwards gui applications, not thorough java sdk.
android python kivy
Comments
Post a Comment