I'm testing an app created in android but on my blackberry playbook, and i have an action not supported error caused by this code:

Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("appworld://content/xxxxxx"));
startActivity(intent);

I read that to use the appworldId uri on native sdk, we use the navigator invoke method but how do I do it on android?

有帮助吗?

解决方案

I know this will sound odd to you, but try changing the URI from

"appworld://content/xxxxxx"

to

"market://details?id=xxxxxx"

Where "xxxxxx" is NOT the AppWorld ID, but the package name (same as in Android).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top