damonkohler / sl4a

SL4A brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device.
Apache License 2.0
2.44k stars 800 forks source link

Add Tasker APIs #192

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

http://tasker.dinglisch.net/invoketasks.html

Original issue reported on code.google.com by damonkoh...@gmail.com on 8 Nov 2010 at 8:05

Copied from original issue: damonkohler/android-scripting#473

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

This is the same as issue 464.

Original comment by dch...@gmail.com on 8 Nov 2010 at 1:35

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

Issue 464 has been merged into this issue.

Original comment by damonkoh...@gmail.com on 8 Nov 2010 at 1:43

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

Shouldn't this just be the sendBroadcast stuff?  Which should really be just a 
copy of the startActivity stuff with the optional receiver permissions somehow 
added?  Or am I missing something important?

Original comment by slisto...@gmail.com on 28 Feb 2011 at 5:09

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

When I try to use the sendbroadcast published API 
http://code.google.com/p/android-scripting/wiki/ApiReference#sendBroadcast I 
get :-

V/sl4a.JsonRpcServer$ConnectionThread:89( 1608): Received: {"params": [[1, 
null, "com.googlecode.android_scripting.rpc.RpcError: Unknown RPC."]], "id": 2, 
"method": "sendBroadcastIntent"}
V/sl4a.JsonRpcServer$ConnectionThread:132( 1608): Sent: 
{"error":"com.googlecode.android_scripting.rpc.RpcError: Unknown 
RPC.","id":2,"result":null}

in my logcat output.

Am I right in concluding that this RPC isn't implemented yet?

Original comment by warrell....@gmail.com on 1 Apr 2011 at 12:09

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

Until this is implemented, what kind of workarounds exist for passing values 
from sl4a to Tasker?  Passing values via text files?

Original comment by tomlo...@gmail.com on 30 Jun 2011 at 2:28

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:28

See this: 
http://groups.google.com/group/taskerpro/browse_thread/thread/5577b2ee589e5d64#

Original comment by dch...@gmail.com on 30 Jun 2011 at 3:16