Wednesday, October 19, 2011

code to install an app using market place?


Is this a way to install an appication using the market?



 Intent intent=new Intent(Intent.ACTION_VIEW);


intent.setDataAndType(Uri.parse("file://"+ dl.getDestination()),
"application/vnd.android.package-archive");
                                   startActivity(intent);


Thanks for advance

No comments:

Post a Comment