Android Market Link shows two options

I have the following working code:

startActivity( new Intent(Intent.ACTION_VIEW, Uri.parse("http://market.android.com/details?id=me.cexi.accuapp"))); 

When the user clicks the "Action" button, they get the full action using a dialog with the following:

 Browser Market 

How to restrict access to the market?

+4
source share
1 answer

of using intentions to launch an application on the market

use market://details?id=<packagename> instead of http://market.android.com/... URL

+5
source

Source: https://habr.com/ru/post/1338902/


All Articles