"Python for Android" Has Been Launched


A new project named "Python For Android" has been launched. The goal of this project is to package your python application into an APK. The project is under the umbrella of Kivy organization, but is not designed to be limited to Kivy only, its a opensource project. To that end, the packaged applications currently only have one "bootstrap" which decompresses the files, creates an OpenGL ES 2.0 surface for drawing and sets up to handle audio and touch events. Although built for the Kivy project, the developers welcome anyone prepared to create a new lighter bootstrap mechanism. Python has been executable on Android through the Android Scripting project, but that doesn't create simple-to-install, self-contained binary files.

Overview:- 

  1. Download Android NDK, SDK
  2. Launch "android", and download latest Android platform
  3. Export some 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
    
  4. Clone python-for-android:
    git clone git://github.com/kivy/python-for-android
    
  5. Build a distribution with OpenSSL module, PIL and Kivy:
    cd python-for-android
    ./distribute.sh -m "openssl pil kivy"
    
  6. 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
    
  7. Install the debug apk to your device:
    adb install bin/touchtracer-1.0-debug.apk
    
  8. Enjoy.


    To Know More About The Python For Android Project Click Here



SHARE OUR NEWS DIRECTLY ON SOCIAL NETWORKS:-

LINK TO OUR HOME PAGE :
Voice Of GREYHAT is a non-profit Organization propagating news specifically related with Cyber security threats, Hacking threads and issues from all over the spectrum. The news provided by us on this site is gathered from various Re-Sources. if any person have some FAQ's in their mind they can Contact Us. Also you can read our Privacy Policy for more info. Thank You ! -Team VOGH
If you enjoyed VOGH News, Articles Then Do Make sure you to Subscribe Our RSS feed. Stay Tuned with VOGH and get Updated about Cyber Security News, Hacking Threads and Lots More. All our Articles and Updates will directly be sent to Your Inbox. Thank You! -Team VOGH

Categories: ,
Related Posts Plugin for WordPress, Blogger...