Powered By Blogger

Wednesday 23 May 2012

In Love with SL4a on my android :D

      SL4A basically is a layer to access few of the Google APIs easily through scripting languages. I will be using Python. 

Why SL4a?? 
       Imagine your phone replacing all the sensors which you normally use GPS, GSM,Light sensor,Proximity sensor, Accelerometer, Magnetometer,Camera,WiFi, Bluetooth,Text to Speech and Speech to text.......and many more...
 

Installation (cake walk)

  Easy way
    Download SL4a from this link  http://code.google.com/p/android-scripting/ on the phone by clicking the QR code.

  Easiest way
     Just open the above link on your computer and point your phones Bar code scanner to the QR code it will do the job for you. :)

    Once it's finished downloading, tap the download notification to start the installation process as you would for any other downloaded APK. Install it. It will appear just like the other APPs on your phone. Open it,

     Only shell is included with the SL4a install. Other interpreters must be installed separately. To add another interpreter:
  1. Press the menu button
  2. Tap "View"
  3. Tap "Interpreters"
  4. Press the menu button
  5. Tap "Add"
  6. Select the interpreter you would like to install(Python in our case)
     Once it's finished downloading, again tap the download notification. To start the installation click on the install button wait for a while till few more files are downloaded.

Troubleshooting
  • Make sure you are connected to the network.
  • If there is a problem try installing again following the above steps again.
 Stay tuned to do interesting projects with your phone. : )

No comments:

Post a Comment