On Sat, Feb 26, 2011 at 1:14 PM, tedx <[email protected]> wrote:
> RPM lets you specify scripts that can be run at different phases of
> the install/unstall process. Is there any equivalent for Android apps?
> I'd like to do things like create and populate a DB for instance.

http://stackoverflow.com/questions/5128703/can-you-run-an-intent-or-script-when-your-app-gets-installed-on-android

A related post:

http://stackoverflow.com/questions/2127044/how-to-start-android-service-on-installation

includes this comment from Ms. Hackborn:

"Yes, [not allowing apps to run on install] is deliberate. Application
installation happens automatically in the background when the app is
downloaded. We prefer that no app code run until the user explicitly
goes to the app the first time."

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

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
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