Slide 1

Slide 1 text

Python Scripting in Android with SL4A

Slide 2

Slide 2 text

Hello! Sivasubramanyam A Geek, Trekker, Astronomer

Slide 3

Slide 3 text

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)

Slide 4

Slide 4 text

Something??? ◦ Time lapse photography ◦ Home automation ◦ A counterpart to Siri/Cortana ◦ High Altitude Balloon projects ◦ or….getting important questions for tomorrow’s semester exam??

Slide 5

Slide 5 text

SL4A Scripting environment

Slide 6

Slide 6 text

SL4A Python Interpreter

Slide 7

Slide 7 text

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.

Slide 8

Slide 8 text

SL4A script in Python

Slide 9

Slide 9 text

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

Slide 10

Slide 10 text

High Altitude Ballooning Because taking photos from beaches are too mainstream!

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

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?

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

“ “Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.”

Slide 16

Slide 16 text

Thanks! ANY QUESTIONS? You can find me at github.com/astronomersiva sivasubramanyam.me [email protected]