sinkuri256 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

SL4A API #523

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Idea - SL4A as a scripting addon to android apps that can allow "smart 
updates", changing the way a program "thinks".

For example, say you had an app that used the phone's GPS to direct you to a 
nice spot to eat your lunch. At the time of the app's creation, its 
decisionmaking is simple -> find the nearest public space.

But then, after the fact the developer figures out that a better process is -> 
find list of public spaces nearby -> find how many people are there from 
magical web service -> compute the orbit of Venus and figure out its influence 
on your happy place by awesome mathematical formula based on date and time.

If this part of the operation was controlled by a script, the developer could 
push out as a signed script file which the app would run on every decision, the 
whole behaviour of the app can be changed remotely. The value in it would be 
apps that can evolve between versions.

Of course that sounds like a huge security and technical risk on the face of 
it, but provided the script cannot exceed the granted permissions or 
capabilities of the host app there should be a safe way to implement it.

Thanks for all the great work so far, btw - useful project!

Original issue reported on code.google.com by flyinglu...@gmail.com on 24 Feb 2011 at 10:44