Hi,
Hope all doing well.
I am trying to install app using following intent..
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setDataAndType(apkUri,
"application/vnd.android.package-
archive");
startActivity(intent);
This will launch package installer screen with ok & cancel commands
(depends on device) for user approval.
If the user press Ok ,app will install & if user press
cancel,installation will decline..
Can I get these callbacks to my programme depending on user selection
means whether installation is successful or declined...
Do I need to specify some key in the intent to acieve this????
Thanks & Regards,
Ashiq sayyad
--
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