kivy / python-for-android

Turn your Python application into an Android APK
https://python-for-android.readthedocs.io
MIT License
8.27k stars 1.84k forks source link

Example Applications? #197

Closed TheChymera closed 10 years ago

TheChymera commented 10 years ago

Hi, I would like to write a python app for android which asks te user for input a few times a day and writes it to a .csv file. The obvious problem with that is that additionally to my script I'll also need to ship python with my "application". I understand python-for-android does just that.

But I don't really understand the workflow of using it and what the finite app will look like (maning directory structure et al. rather than visually) - are there any apps already packaged with this? It would be great if you could also add links to them in the README.

brousch commented 10 years ago

Most people use python-for-android with Kivy (http://kivy.org/#home). Kivy is a cross-platform Python GUI framework. Using Kivy and buildozer ( https://github.com/kivy/buildozer), you can compile your Android APK quite painlessly.

On Mon, Jan 20, 2014 at 9:32 AM, Horea Christian notifications@github.comwrote:

Hi, I would like to write a python app for android which asks te user for input a few times a day and writes it to a .csv file. The obvious problem with that is that additionally to my script I'll also need to ship python with my "application". I understand python-for-android does just that.

But I don't really understand the workflow of using it and what the finite app will look like (maning directory structure et al. rather than visually)

  • are there any apps already packaged with this? It would be great if you could also add links to them in the README.

— Reply to this email directly or view it on GitHubhttps://github.com/kivy/python-for-android/issues/197 .

Ben Rousch brousch@gmail.com http://clusterbleep.net/

TheChymera commented 10 years ago

if Kivy takes care of the GUI and buildozer of the packageing - what exactly does python-for-android do? I assumed that was what it did. Also, can I use any libraries/functions at all with my app? Can I for instance use this combination of tools to ship my app with numpy (or parts thereof)? Does my app need to be compiled, or can it exist like a script which can be edited live on the phone?

tito commented 10 years ago

Kivy = crossplatform GUI / NUI Python for Android = toolchain for cross-compiling Python and others libraries + package thoses / your app / bootstrap into one APK Buildozer = Tool for describing your app in a specification file, and install/invoke Python-for-android or Kivy-ios. It is using python-for-android behind the scene.

brousch commented 10 years ago

Let's move this conversation off of the python-for-android issue tracker, as it is obviously not a bug in python-for-android. The Kivy Google Group ( https://groups.google.com/forum/#!forum/kivy-users) is a better place to talk about this.

On Mon, Jan 20, 2014 at 10:55 AM, Horea Christian notifications@github.comwrote:

if Kivy takes care of the GUI and buildozer of the packageing - what exactly does python-for-android do? I assumed that was what it did. Also, can I use any libraries/functions at all with my app? Can I for instance use this combination of tools to ship it with numpy (or parts thereof)?

— Reply to this email directly or view it on GitHubhttps://github.com/kivy/python-for-android/issues/197#issuecomment-32771206 .

Ben Rousch brousch@gmail.com http://clusterbleep.net/