Hi

I am trying to develop an application which will install a free
application from market.

The input from the user would be package name. eg:
"com.outfit7.talkingtom"

I am able to open the market application using below code:

                        Intent intent = new Intent(Intent.ACTION_VIEW);
                        intent.setData(Uri.parse("market://details?
id=com.outfit7.talkingtom"));
                        startActivity(intent);

After that user has to give permission explicitly to install. Can be
do this programmatically?

Regards
Ajay

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to