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

Java Development

Reply
Contributor
MobileVisuals
Posts: 28
Registered: ‎11-27-2010
My Device: Not Specified

The right URL for an app to access another app on BB world?

I want to publish a trial version of my app on BB world. The trial version has a button, which links to the complete version of the app on BB world, so the consumers can buy it there. I use this call

 

 platformRequest("https://appworld.blackberry.com/webstore/content/21100");

 

but that does not work. I assume this is because I use the URL to the web version of BB world. Which URL should I use so the app can access the complete version on BB world? The web URL to this app is

 

https://appworld.blackberry.com/webstore/content/21100

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: The right URL for an app to access another app on BB world?

I know it has something to do with the SKU of the app. I can't find the proper link format but I did find this: http://supportforums.blackberry.com/t5/Java-Development/Programatically-invoking-App-World-client/m-...

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Contributor
MobileVisuals
Posts: 28
Registered: ‎11-27-2010
My Device: Not Specified

Re: The right URL for an app to access another app on BB world?

I see, but wouldn't it be better to just connect to the URL of the app on the appworld?

I assume that not everyone has the App World client installed?

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: The right URL for an app to access another app on BB world?

Yea it would be better, I just can't find the link again.

 

Here is a more detailed version of the previously specified code:

http://supportforums.blackberry.com/t5/BlackBerry-App-World-Development/Interface-with-the-BlackBerr...

 

 

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.
Contributor
MobileVisuals
Posts: 28
Registered: ‎11-27-2010
My Device: Not Specified

Re: The right URL for an app to access another app on BB world?

Does anyone know how to just connect to the URL of the app on the appworld?

 

I don't think that I can use the code that you supplied for starting the BB client, because my app is a midlet and not a UIApplication.

Please use plain text.
Contributor
MobileVisuals
Posts: 28
Registered: ‎11-27-2010
My Device: Not Specified

Re: The right URL for an app to access another app on BB world?

I tried the code that suggested on

 

http://supportforums.blackberry.com/t5/BlackBerry-App-World-Development/Interface-with-the-BlackBerr...

 

It seems like it can't be used it in a midlet application, because the import

 

import net.rim.device.api.ui.*;

 

gives me the error message

 

 "reference to Graphics is ambiguous, both class net.rim.device.api.ui.Graphics in net.rim.device.api.ui and class javax.microedition.lcdui.Graphics in javax.microedition.lcdui match"

 

The other imports give me similar error messages. I assume that the code that you suggested is for UIApplications and that it can't be used in a midlet app?

Please use plain text.
Developer
rcmaniac25
Posts: 1,804
Registered: ‎04-28-2009
My Device: Z10 (STL100-4)-10.2.1.2174, Z10 (STL100-3)-10.3.0.700 Dev OS, Z30 (STA100-5)-10.3.0.700 Dev OS, PlayBook (16GB)-2.1.0.1917
My Carrier: Verizon

Re: The right URL for an app to access another app on BB world?

I don't believe it wouldn't work in a Midlet. The first link I posted doesn't seem to have anything that wouldn't work in a Midlet, but I haven't tried.

---Spends time in #blackberrydev on freenode (IRC)----
Three simple rules:
1. Please use the search bar before making new posts.
2. "Like" posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.
Please use plain text.