What's the current state on using Python to make Android applications?
-
Back in 2009 Google announced the Android Scripting Environment: http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html I'm looking into developing applications for android and am curious if things have progressed since then. One question on SE suggested that you can't handle touch events and things like that. Is it possible to bundle a python android application and put it on the Android store?
-
Answer:
Yes, you most definitely can make functional apps using Python. In fact, I have done this. You can find the app I made on this link (https://play.google.com/store/apps/details?id=com.gmail.snigam3112.WordSudoku). As you'll see when you try it out, it is very functional for something made in under six hours on Python. To do this, you'll need to first learn http://pygame.org/wiki/about . It's pretty simple and straightforward. There's also some 3D effects possible, but I never got around to using those. Once, you've written your game in Python/Pygame, you use this library - http://pygame.renpy.org/ and just map computer-keys to android gestures like: if android: android.map_key(android.KEYCODE_BACK, pygame.K_ESCAPE) Package the file into .apk using pgs4a, upload it and you're done. As simple as that. Other helpful tutorials: http://shemseddine.com/oldblog/2013/11/27/pygame-android-game-pgs4a-tutorial-1/ http://pychildren.blogspot.in/2013/12/pgs4a-installation-tutorial.html
Shikhar Nigam at Quora Visit the source
Related Q & A:
- What Are The Best Android Applications For Samsung Galaxy Fit?Best solution by samsung.com
- What's the current postage rate from France to the US?Best solution by stamps.com
- What's the difference between the "open" and "current" spread?Best solution by answers.yahoo.com
- What's the difference between Current (I) and Potential Difference (V?Best solution by diffen.com
- What's your favorite state and why?Best solution by community.pennfoster.edu
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.