Post 2 made on Thursday July 15, 2010 at 19:03 |
Lyndel McGee RC Moderator |
Joined: Posts: | August 2001 12,994 |
|
|
Unfortunately, there is no shared scope across activities. Upon entry into each activity, the ECMA/Javascript engine is started. Upon exit from the activity, the engine is stopped. To overcome this, use System.setGlobal/getGlobal.
Rusty Fobe has been nice enough to upload some utility scripts in the files section that let you save/restore object trees. Also note that this is basically what JSON (Javascript Object Notation) does as well.
|
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|