Thursday, July 22, 2010

[android-developers] Re: can we start application after installing .apk file

You can't start your application. Neither service nor activity.

The only ugly workaroung I can offer is:

1. Have your other application already installed on the device.
2. Subscribe to receive PACKAGE_INSTALLED broadcast.
3. Check if broadcated unstalled package is your application that
needs to be autostarted.
4. If it is, send appropriate intent for it to start.

On Jul 21, 3:44 pm, "A N K ! T" <ankit.awasth...@gmail.com> wrote:
> i am trying to make application run just after installing it.....
>
> --
> Thanks
>  Ankit Awasthi

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate