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.43k stars 800 forks source link

nested JSONObject in Intent's extras (patch provided) #133

Open damonkohler opened 9 years ago

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:30

Hello,

After asking on the Google Groups, if nested JSONObject were supported by the 
makeIntent function, I start looking into the source code, and apparently no 
support for nested object
So I made a recursive method putNestedJSONObject to put nested object into 
extras via the putExtrasFromJsonObject.
Some minimal testing was done with Tasker intent (1-level nesting), no issue 
found so far.

Best regards,

Emmanuel.

Original issue reported on code.google.com by emmanuel...@gmail.com on 17 Sep 2011 at 11:53

Attachments:

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

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:30

Looks kind of cool.

Can you/have you signed the CLA so I can incorporate this?

http://code.google.com/p/android-scripting/wiki/DeveloperGuide#Contributing_Code

Original comment by rjmatthews62 on 18 Sep 2011 at 1:23

damonkohler commented 9 years ago

From @GoogleCodeExporter on May 31, 2015 11:30

Just signed the CLA :-)
On a side note, is there an action to be done on my side to have my messages 
accepted on the SL4A
 Google groups ? Because it seems they are still in the New User moderation queue...

Emmanuel

Original comment by emmanuel...@gmail.com on 18 Sep 2011 at 8:44