Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Contributor
Posts: 2
Registered: ‎11-06-2012
My Device: playbook
My Carrier: NA

Appworld market link in Android runtime.

[ Edited ]

So I have an app on the appworld and I would like to add a link to it in my app so that people can more easily rate it.  Normally on the android market I would do something like:

 

Uri uri = Uri.parse("market://details?id=com.example.test");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);

 

Or on Amazon I would do:

 

Uri uri = Uri
.parse("http://www.amazon.com/gp/mas/dl/android?p=com.example.test");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);

 

But when I try the following it does not work:

 

Uri uri = Uri.parse("appworld://content=000000");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);

 

It pops up a browser and then I get a message about not being able to do it or somthing.  What would be to correct way to handle this link?

 

Thanks!

New Developer
Posts: 23
Registered: ‎02-12-2012
My Device: PlayBook
My Carrier: Free Mobile

Re: Appworld market link in Android runtime.

[ Edited ]

I'm also interested in this issue. I tried to link to the webpage of the App World, which normally launch the App World app, but this happens only with the native browser. So a workaround would be to acheive launching the native browser from the Android runtime, but how ?

-----------------------------
See my PlayBook apps and my website.
Twitter : @Minishlink
Contributor
Posts: 32
Registered: ‎02-26-2012
My Device: Playbook
My Carrier: None

Re: Appworld market link in Android runtime.

You would do the same as you would do it on Android...

 

market://details?id=com.example.test

 

The runtime on BlackBerry PlayBook recognizes that it is a market link and opens the App World. 

Highlighted
New Developer
Posts: 23
Registered: ‎02-12-2012
My Device: PlayBook
My Carrier: Free Mobile

Re: Appworld market link in Android runtime.

Well I guess this is new from 2.0.1 or 2.1. Thank you ! Smiley Happy
-----------------------------
See my PlayBook apps and my website.
Twitter : @Minishlink
New Contributor
Posts: 2
Registered: ‎11-06-2012
My Device: playbook
My Carrier: NA

Re: Appworld market link in Android runtime.

[ Edited ]

Thank you.  I cannot believe I did not try that.