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
Regular Contributor
Posts: 63
Registered: ‎12-24-2010
My Device: Torch
Accepted Solution

Programatically invoking App World client

Can we, in out Java apps, programatically invoke the App World client and point it at particular content?

That would be perfect if one wants to have a 'upgrade to full' in his 'lite' app....

Developer
Posts: 887
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha

Re: Programatically invoking App World client

 

Registry registry = Registry.getRegistry( NAME_OF_THIS_APP.class.getName() );
Invocation invocation = new Invocation( null, null, "net.rim.bb.appworld.Content", true, ContentHandler.ACTION_OPEN );
invocation.setArgs( new String[] { appWorldIdNumber } );
registry.invoke(invocation);
registry.getResponse(true);

 

 


Read my thoughts on BlackBerry Development at news.ebscer.com
New Developer
Posts: 5
Registered: ‎04-07-2009
My Device: Not Specified

Re: Programatically invoking App World client

Can you pleae specify the packages of the classes involved in this solution? Which SDK should I download?