lihuazhang / android-scripting

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

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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