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

Native Development

Reply
Contributor
renjini
Posts: 24
Registered: ‎11-05-2012
My Device: BB10

How to download app in blackberry app world programmatically using cascades?

[ Edited ]

Hi,

 

   I want to search the app in app world programmatically using cacsades. if application exists in app world , it would downlaod and launch. is it possible?

 

Regrads,

Renjini.

Developer
dishooom
Posts: 103
Registered: ‎12-31-2012
My Device: Blackberry 9810

Re: How to search app in blackberry app world programmatically using cascades?

[ Edited ]

You could do this using invocation framework. Since AppWorld is a core application, it can be invoked using the target ID, given here . How to search within appworld with a specific term is also discussed in this page. Hope this is what you ve been looking for.. :smileyhappy:

 

_Dishooom

Contributor
renjini
Posts: 24
Registered: ‎11-05-2012
My Device: BB10

Re: How to download app in blackberry app world programmatically using cascades?

[ Edited ]

Hi,

 

 Thanks for your reply. I have tested the following code for searching. It is wprking fine. But i want to download that particular application from the app wolrd programmatically using cacsades. is it possible?

 

For searching the particular app from app wolrd. code is..

 

Invocation 

{
id: invoke
query: InvokeQuery
{
mimeType: "text/html"
uri: "appworld://search/NightClock"
invokeActionId: "bb.action.OPEN"
}

 

Thanks & Regards

Renjini

Contributor
renjini
Posts: 24
Registered: ‎11-05-2012
My Device: BB10

Re: How to search app in blackberry app world programmatically using cascades?

 
Developer
dishooom
Posts: 103
Registered: ‎12-31-2012
My Device: Blackberry 9810

Re: How to search app in blackberry app world programmatically using cascades?

I doubt if that would ever be possible.. As triggering download for an app programmatically would allow a lot of malicious apps to be downloaded without user intention....

 

I m sure any OS would not want to do that...

Contributor
renjini
Posts: 24
Registered: ‎11-05-2012
My Device: BB10

Re: How to download app in blackberry app world programmatically using cascades?

[ Edited ]

Hi,

Thanks,

I mean in app purchasing concept , How they can be done?

Thanks & Regards,

Developer
peter9477
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: How to download app in blackberry app world programmatically using cascades?

It simply cannot be done. Aside from invoking the BB World app, you will not have any form of access to install apps.

Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!