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

BlackBerry® World™ Development

Reply
Highlighted
Developer
Posts: 97
Registered: ‎05-12-2009
My Device: PlayBook
My Carrier: 3

appworld:// urls for vendors

Looking at the documentation for navigator_invoke(), there are only URLs that can be used to launch "My World" or the app world for a single app.  Is there any way to launch it for a particular publisher?  For example, on the Android Market I could launch https://market.android.com/developer?pub=floor4 to get to all apps published by my account.   It's potentially a very handy type of link to feature in an app ("More apps by me here" type links).

-------
You can find me (sporadically) writing and developing at http://floor4.co.uk and gaming at http://uk-tf.co.uk
My Apps: Flip!
Contributor
Posts: 41
Registered: ‎09-13-2011
My Device: BlackBerry Z10 Limited Edition
My Carrier: TIM - Italy

Re: appworld:// urls for vendors

I don't think that at the moment theris this kind of page in Appworld.

It looks like that Appworld can display only one product at same time.

 

Developer
Posts: 97
Registered: ‎05-12-2009
My Device: PlayBook
My Carrier: 3

Re: appworld:// urls for vendors

Having a further dig through the App World web interface (not got a device yet) it seems you can always see vendor apps from a URL like this: https://appworld.blackberry.com/webstore/vendor/25238/ (yes, I know I haven't published anything yet Smiley Happy )

What happens on an actual device if you visit the app world web interface in the browser? Does it then re-integrate with the app world app on the device (as I write that I realise I don't know if such a thing exists)?
-------
You can find me (sporadically) writing and developing at http://floor4.co.uk and gaming at http://uk-tf.co.uk
My Apps: Flip!
Developer
Posts: 1,452
Registered: ‎11-06-2009
My Device: Torch 9810
My Carrier: WiFi

Re: appworld:// urls for vendors

Correct, if you call the URL as in your example, it will open AppWorld with a listing of all apps of that vendor. However apps will be ordered by name ascending (A ->Z) not by popularity or rating.

 

You can test this behavior on simulator if you don't have device yet.



"When you become a level 3 developer, you learn to communicate over the ether. I'm told that level 5 developers are ascend into a higher level of existence beyond the physical realm." gord888 @ crackberry
Developer
Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: appworld:// urls for vendors

@QuiteSimple I am not seeing AppWorld open when I do this. I am just getting the standard webpage.


Read my thoughts on BlackBerry Development at news.ebscer.com
Developer
Posts: 1,452
Registered: ‎11-06-2009
My Device: Torch 9810
My Carrier: WiFi

Re: appworld:// urls for vendors

My bad, the URL call should be http:// and not https://


"When you become a level 3 developer, you learn to communicate over the ether. I'm told that level 5 developers are ascend into a higher level of existence beyond the physical realm." gord888 @ crackberry
Contributor
Posts: 41
Registered: ‎09-13-2011
My Device: BlackBerry Z10 Limited Edition
My Carrier: TIM - Italy

Re: appworld:// urls for vendors

Hi Falo,

I was referring to the opening appworld application from your app and not through browser.

it's nice to use invocation class and open it.

But I don't know  how open vendor page. (Args to pass for vendor page).

 

private void openAppWorld( String myContentId ) throws IllegalArgumentException, ContentHandlerException,
SecurityException, IOException

{

Registry registry = Registry.getRegistry( Object.class.getName() );
Invocation invocation = new Invocation( null, null, "net.rim.bb.appworld.Content", true, ContentHandler.ACTION_OPEN );
invocation.setArgs( new String[] { myContentId } );
boolean mustExit = registry.invoke( invocation );
if( mustExit )

  this.close();

Invocation response = registry.getResponse( true );
if( response.getStatus() != Invocation.OK )
    Dialog.alert( "Problem invoking BlackBerry App World.  Error code " + response.getStatus() );
}

}

Developer
Posts: 97
Registered: ‎05-12-2009
My Device: PlayBook
My Carrier: 3

Re: appworld:// urls for vendors

Yeah, I was looking for a way to directly invoke the appworld as well, but figured finding the view I wanted on the web based version would be a good starting point. Also trying to do this using the native SDK.

Unless I've missed something, there's no app-world app on the simulator so I'll have to have a hack around when I get a device and feed back what I manage to achieve.
-------
You can find me (sporadically) writing and developing at http://floor4.co.uk and gaming at http://uk-tf.co.uk
My Apps: Flip!
Developer
Posts: 1,452
Registered: ‎11-06-2009
My Device: Torch 9810
My Carrier: WiFi

Re: appworld:// urls for vendors

If you can start the browser via NDK and set a URL, then calling this URL

http://appworld.blackberry.com/webstore/content/XXXXXX

will open AppWorld at a given app (where XXXXXX is the app ID)

while this URL

http://appworld.blackberry.com/webstore/vendor/XXXXX

will open AppWorld listing of all the vendor apps

 

With Java it is quite easy

     BrowserSession bsession = Browser.getDefaultSession();
     String url = ""; // desired URL goes here
     bsession.displayPage(url);

 but no idea how it is with the NDK



"When you become a level 3 developer, you learn to communicate over the ether. I'm told that level 5 developers are ascend into a higher level of existence beyond the physical realm." gord888 @ crackberry
Developer
Posts: 97
Registered: ‎05-12-2009
My Device: PlayBook
My Carrier: 3

Re: appworld:// urls for vendors

Excellent! Who needs a device eh? Well, I mean, I do, but you get the idea.

Let me try at the weekend and see what can be done in native.
-------
You can find me (sporadically) writing and developing at http://floor4.co.uk and gaming at http://uk-tf.co.uk
My Apps: Flip!