darylbrewer / android-scripting

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

UI Screen API #658

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What should be supported?

1. It will better, if sl4a includes ui functionality for standard actions like 
touch event on any widget present on screen.
2. Any api to fetch all Widget ids, & Strings present on screen

Original issue reported on code.google.com by vinayak....@gmail.com on 12 Sep 2012 at 9:23

GoogleCodeExporter commented 9 years ago
exists - anything majorly different in your request? 

http://code.google.com/p/android-scripting/wiki/FullScreenUI

http://code.google.com/p/python-for-android/wiki/fullscreenwrapper2

Original comment by srinathd...@gmail.com on 12 Sep 2012 at 9:40

GoogleCodeExporter commented 9 years ago
I hav seen these links..
but what i want is to select any widget on screen by fetching its id or string 
attached to it.
The example displayed in first link shows the hardcoded xml layout, but what if 
i want to fetch current screen layouts widgets ids & strings?
API: fullShow() will show the layout after passing xml file object..
API: fullQuery() will show all ids & strings but it requires "fullShow()"  to 
be executed first..
Is there any way to fetch current screens ids & string like  fullQuery() ?

Original comment by vinayak....@gmail.com on 12 Sep 2012 at 10:17

GoogleCodeExporter commented 9 years ago
hmmm.... don't know if that's even possible in android (let alone scripting 
environment)... i believe android's vm sandboxes apps and the preferred 
interaction medium are intents 

Original comment by srinathd...@gmail.com on 12 Sep 2012 at 1:47