Ich möchte den Play Store von App öffnen. Es ist gut in Samsung, aber es scheiterte in OnePlus Mobile. Ich weiß nicht, wo die alibaba herkommt. Es ist komisch.Sicherheits-Exception lösen: Permission Denial: Start Intent. Welche Erlaubnis benötige ich?
Ausnahme java.lang.SecurityException: Permission Denial: Start Intent {act = android.intent.action.VIEW dat = http://play.google.com/ ... cmp = com.alibaba.intl.android.apps.poseidon/com.alibaba .android.intl.weex.activity.WeexPageActivity} von {ProcessRecord a1dd30c 15827: a2bliving.ie.a2b/u0a151} (pid = 15827, uid = 10151) nicht aus uid 10156 exportiert
Code:
private static final String PLAY_STORE_LINK = "http://play.google.com/store/apps/details?id=%s&hl=en";
public void openUpdateLink() {
context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(getExternalAppLink())));
}
public String getExternalAppLink() {
return String.format(PLAY_STORE_LINK, context.getPackageName());
}
Bereits gefragt Suche verwenden – Selvin
Das gleiche Problem ist in meiner App aufgetreten. Ich finde dieses Problem nicht – ashraful