[email protected] wrote:
> Can a service launch an activity? 

Yes, but your user will shoot you if you interrupt what they are doing
by popping up an activity asynchronously.

> I need to run something periodically
> using JavaScript (say every 4 hours). Porting Rhino probably won't
> work for me because I use a lot of large Strings, and putting that in
> the Java heap will soon fragment it very bad ...

Then, eliminate your dependency on Javascript.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, $35/Year

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to