-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Some notes so it's easier to fudge a tutorial about how to install twisted on android later.
Random things to remember...
the environment variables we created both to
- use the Android SDK as usual
- use python-to-android & specify the api we wanted to build to (we are going with 14)
Installing the NDK http://developer.android.com/tools/sdk/ndk/index.html#Installing Kivy hello world (epic 45 minute compile! make sure to use ccache) http://python-for-android.readthedocs.org/en/latest/helloworld/
Your machine is the 'build' machine The machine you want to build to (in this case Android arm) is the 'host'.
Each Android process has it's own user id & processes are cosily bubbled from one another. See: http://source.android.com/tech/security/#the-application-sandbox
If we want to get out of the sandbox and play, and say, serve a webpage using Twisted, when we ./build.sh our python program for a distribution, we must ask for permission.
./build.sh --package org.java.hello.world.verbosity.factory --name "hello world" --version 1.0 --dir /path/to/our/python/main.py debug installd --permission INTERNET
In case that wasn't clear...
./build.sh <bla bla bla> --permission INTERNET