开发者

Application running triggers another application installation

开发者 https://www.devze.com 2022-12-28 01:19 出处:网络
My application is a trial version apk. Once the period is completed, can I initiate another 开发者_如何学Capplication to be installed/downloaded from the android market ( purchasing process) which is

My application is a trial version apk. Once the period is completed, can I initiate another 开发者_如何学Capplication to be installed/downloaded from the android market ( purchasing process) which is a paid application using the current running trail application.


The best you can do is point the user to your appication in the market by searching for it:

startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("market://search?q=pname:com.example.yourpackage")));
0

精彩评论

暂无评论...
验证码 换一张
取 消