Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Python Scripting in Android with SL4A

Python Scripting in Android with SL4A

SL4A allows to run scripts in android using most APIs that are available to native apps except that the process is simpler. It can be used to build anything from home automation systems to high altitude ballooning projects.

Cb1f21dfadcb9c132230786a5ec7f962?s=128

Sivasubramanyam A

March 24, 2015
Tweet

Other Decks in Programming

Transcript

  1. Python Scripting in Android with SL4A

  2. Hello! Sivasubramanyam A Geek, Trekker, Astronomer

  3. What’s this? A library that allows to run scripts directly

    on Android. Has access to the most commonly used APIs that normal Java based applications use. Very simple and easy to code. Helpful in situations when you need to quickly script your phone for something*. Scripting Layer For Android(SL4A)
  4. Something??? ◦ Time lapse photography ◦ Home automation ◦ A

    counterpart to Siri/Cortana ◦ High Altitude Balloon projects ◦ or….getting important questions for tomorrow’s semester exam??
  5. SL4A Scripting environment

  6. SL4A Python Interpreter

  7. Time Lapse photography Let’s assume that you are at a

    beach on a fine evening and you happen to see a dramatic sunset. You would like to get a timelapse shot. But, wait. You don’t have a timelapse app installed in your phone.
  8. SL4A script in Python

  9. Google’s documentation. Notice the size of the scroll bar.

  10. High Altitude Ballooning Because taking photos from beaches are too

    mainstream!
  11. None
  12. None
  13. Important questions for semester exams Because, I am an engineering

    student who likes to do things at the last minute. Rejinpaul == 1 month engineering God But what if God fails?
  14. None
  15. “ “Progress isn't made by early risers. It's made by

    lazy men trying to find easier ways to do something.”
  16. Thanks! ANY QUESTIONS? You can find me at github.com/astronomersiva sivasubramanyam.me

    contact@sivasubramanyam.me