Skip to main content

A new Project Python For Android

A project named Python For Android has been launched to create a package of your Python app into .apk. It is a Open Source project under the maintenance of Kivy Organisation.

It currently only has one bootstrap which decompresses the packed application's files and creates an OpenGL ES 2.0 surface for drawing and it also sets audio and touch events to be accessed.

Get Started

  • Download Android SDK or NDK.
  • Start and download latest Android platform
  • Export some other environment variables:
              export ANDROIDSDK="/path/to/android/android-sdk-linux_86"
              export ANDROIDNDK="/path/to/android/android-ndk-r7"
              export ANDROIDNDKVER=r7
              export ANDROIDAPI=14
  • Clone of python-for-android:

              https://github.com/kivy/python-for-android

  • Build a distribution with OpenSSL module, PIL and Kivy:

            cd python-for-android
           ./distribute.sh -m "openssl pil kivy"

  • Go to your fresh distribution, build the APK of your application:

          cd dist/default
         ./build.py --package org.test.touchtracer --name touchtracer \
        --version 1.0 --dir ~/code/kivy/examples/demo/touchtracer debug

  • Install the debug apk to your device:

          adb install bin/touchtracer-1.0-debug.apk


Now you are done
Go to official Site http://python-for-android.readthedocs.org/en/latest/index.html.

Comments

Popular posts from this blog

Microsoft pays Facebook to put Bing on logout page

Facebook got its first customer for the logout page, and the customer is also OS giant Microsoft . Now, it may bee soon that you will get to see Bing page as you logout of the Facebook, though some of the people have got it already as it is testing phase . This step is taken by Microsoft to save its search engine so called BING 'Bing Is Not Google' . Microsoft has been spending millions of dollars to increase Bing's market share so this

JQuery Plugins Site Down

Two three days before when I entered to  http://plugins.jquery. com   I thought it might be a small error and will be fixed in a hour or so . But, when I returned it showed the same message COME BACK LATER.

Jailbreak for iPhone OS 6 Beta

If you are iPhone user then this post is surely going to surprise you. Whenever iPhone or iPad with new iOS is released then it takes some time for their jailbreak to come. But this time it is something special. It’s only 15 days from the date when iOS 6 was released and in this short span of time, iPhone Dev team has announced that they have released the jailbreak for it. Seems to be interesting and this news is hitting the web across the world. Some say that it’s just announcement and far from reality. Whatever is, in this post I am going to post the procedure to jailbreak iOS6. Hope you find it useful for you. So let’s have a look on it.