We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,420 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Android SDK, Python for Android questions

Early this morning, and I haven't a clue how this slipped by me, I learned about the Android SDK and Python for Android, I did a little research, it's very intriguing. Has anybody worked with this at all? Do most built in libraries and modules work for it? How do GUI's work with it "I don't suppose tkinter is somehow working on there..." I apologize for my barage but I feel...giddy about the idea of this :)

3
Contributors
3
Replies
4 Days
Discussion Span
1 Year Ago
Last Updated
5
Views
Question
Answered
pyguy62
Posting Whiz
353 posts since Aug 2011
Reputation Points: 34
Solved Threads: 19
Skill Endorsements: 0

The android SDK isn't set up to run python per-say. Python for android runs through Android Scripting Environment (ASE). You can find more information on ASE at there website. They have plenty of tutorials. Most libs that are native python code will work. You can't embed any C, or do low level operating system stuff with the os module or sys module.

As for any GUI's, no. At the moment there isn't any "real" GUI support. You can do some simple dialog stuff, like asking for input or displaying simple menus. I have a little dialog sample on my site.

As stated before, anything written in pure Python, will work with ASE. You can even use Twisted framework for web servers. I also have an example on my site of using Twisted. Using the web server way of doing things, not just with Twisted, you can achieve a real working GUI via a web browser.

Tech B
Posting Whiz in Training
268 posts since May 2009
Reputation Points: 59
Solved Threads: 33
Skill Endorsements: 0

If you want to learn seriously , this is a really good book :


Pro Android Python With SL4A

@Tech B , nice example.

indianjoe
Newbie Poster
3 posts since Sep 2011
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

Nice, thanks.

pyguy62
Posting Whiz
353 posts since Aug 2011
Reputation Points: 34
Solved Threads: 19
Skill Endorsements: 0
Question Answered as of 1 Year Ago by Tech B and indianjoe

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0604 seconds using 2.65MB