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

Web and WebWorks Development

Reply
Developer
Philipk
Posts: 676
Registered: ‎05-06-2012
My Device: Dev Alpha & PlayBook
My Carrier: wifi

Re: Link to App World from App

I've now tried making my own invoke function based on the example

function invokeAppWorld(id) {
blackberry.invoke.invoke({
target: "sys.appworld",
action: "bb.action.OPEN",
uri: "appworld://content/"+id
}, onSuccess, onError);
}

But I feel like the problem isn't with the function or calling the appworld:// from a link. Rather I think it's that the child view is still not connecting to any of the blackberry functionality.

I tried running

console.log(blackberry)

from within the app and then from within the webview. In the app I get back an object but within the web view blackberry is undefined.
_________________________________________________________
co-founder of Diaree | BB Dev for PictureThis
Please use plain text.
BlackBerry Development Advisor (Retired)
mimendoza
Posts: 64
Registered: ‎06-04-2012
My Device: Blackberry Z10
My Carrier: Bell

Re: Link to App World from App

I see the problem you're getting now - BlackBerry World isn't being launched from the app at all. I'll have to look into this issue further and will post back with any update I receive

----------------------------------------------------------------------------------
- Did this post help solve the issue? Click on "Accept as Solution"
- Was the content of this post helpful? Please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev
Please use plain text.
Developer
Philipk
Posts: 676
Registered: ‎05-06-2012
My Device: Dev Alpha & PlayBook
My Carrier: wifi

Re: Link to App World from App

Did you get a chance to look at this. Took a break for a bit but now trying to get it working again, because I'm so close to being able to push an update which really my app.
_________________________________________________________
co-founder of Diaree | BB Dev for PictureThis
Please use plain text.
Developer
Philipk
Posts: 676
Registered: ‎05-06-2012
My Device: Dev Alpha & PlayBook
My Carrier: wifi

Re: Link to App World from App

I can send a simplified version of the project it's pretty small.
_________________________________________________________
co-founder of Diaree | BB Dev for PictureThis
Please use plain text.
BlackBerry Development Advisor (Retired)
mimendoza
Posts: 64
Registered: ‎06-04-2012
My Device: Blackberry Z10
My Carrier: Bell

Re: Link to App World from App

It's a known issue and will be fixed in a later update. For now, can I suggest to link to your vendor account from within your WebWorks app. This way, the user will still see all the apps that you've developed, even if you submit other apps.

i.e. use "appworld://vendor/<vendorid>" to invoke your vendor page in the BlackBerry World app.

----------------------------------------------------------------------------------
- Did this post help solve the issue? Click on "Accept as Solution"
- Was the content of this post helpful? Please give it a "Thumbs Up"

developer.blackberry.com
@BlackBerryDev
Please use plain text.
Developer
Philipk
Posts: 676
Registered: ‎05-06-2012
My Device: Dev Alpha & PlayBook
My Carrier: wifi

Re: Link to App World from App

Thanks for helping getting this fixed in 10.1 :-) happy to say it's working and I can now apply my update.
_________________________________________________________
co-founder of Diaree | BB Dev for PictureThis
Please use plain text.