You can watch for ACTION_PACKAGE_ADDED:

http://developer.android.com/reference/android/content/Intent.html#ACTION_PACKAGE_ADDED

However, there is no broadcast if the user abandons the install (e.g.,
does not like the listed permissions).

On Mon, Feb 7, 2011 at 5:23 PM, sathya <[email protected]> wrote:
> My app downloads an app from the server and install it using below
> code
>
> Intent i = new Intent(Intent.ACTION_VIEW);
> i.setDataAndType(Uri.fromFile(f), "application/vnd.android.package-
> archive");
> startActivity(i);
>
> I want to get the app installation status(success/failure). In case of
> failure, i want to get the failure reason.  Is there a way to get
> these information?
>
> --
> 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
>



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

Android App Developer Books: http://commonsware.com/books

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