0 Members and 1 Guest are viewing this topic.
You can actually compile Python on the Android?EDIT: I don't own an android but I'm going to try writing an output function for it. Liek the one in TI-Basic on the 84does anyone know how many chars on a line in a python app on the android? and how many lines there are on the screen?
Are there any good emulators I can use for free to test this?EDIT: also how would I load the python file to it. Do i nee to run some kind of a script on it efore loading
# No shebang necessary.# You need these only if you want to use the android API.import androiddroid = android.Android()# both the title and message are optional parameters.title = "Name"message = "Enter your name here:"# Creating the inputdroid.dialogCreateInput(title, message)droid.dialogSetPositiveButtonText("Submit")droid.dialogShow()# Getting the responseresponse = droid.dialogGetResponse().result["value"]print response