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

Linking to an App in App World

Linking to apps within the app world doesn't seem to work. Has anyone run into this problem?

_________________________________________________________
co-founder of Diaree | BB Dev for PictureThis
Please use plain text.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Re: Linking to an App in App World

your <a href should look like this-- http://appworld.blackberry.com/webstore/content/screenshots/18560198/?lang=en

 

i setup a mobile page  for the launch http://m.brooklynn.ky

 

Please use plain text.
Contributor
virtualscribe
Posts: 29
Registered: ‎05-04-2011
My Device: PlayBook, Z10, Dev Alpha B, Dev Alpha C
My Carrier: Sprint; wifi only for testing

Re: Linking to an App in App World

I'm looking to set up multiple domains to connect my own domain, and also Blackberry World for bb10.

 

In my config.xml I have

 

<widget
    ...
  <access uri="http://video.virtualscribe.com" subdomains="true" />
  <access uri="http://blackberry.com" subdomains="true" />
</widget>

 But when I post my my vendor name using _blank to invoke a card in bb10 from my main.html, I get a blank screen in the invoked card.

 

<p><a href="http://appworld.blackberry.com/webstore/vendor/5881/?lang=en" target="_blank">Get our other apps</a> in <strong>Blackberry World</strong> to read more works by International authors.</p>

 

===============

Film App: Watch feature length Public Domain and Indie Films in your Blackberry Tablet, share, and post comments - with no ads: http://appworld.blackberry.com/webstore/content/42793
Please use plain text.
Contributor
virtualscribe
Posts: 29
Registered: ‎05-04-2011
My Device: PlayBook, Z10, Dev Alpha B, Dev Alpha C
My Carrier: Sprint; wifi only for testing

Re: Linking to an App in App World

I have also tried setting up config.xml as 

<widget
    ...
  <access uri="*" subdomains="true" />
  <access uri="http://video.virtualscribe.com" subdomains="true" />
</widget>

 with no change in behavior of blank invoked card.

===============

Film App: Watch feature length Public Domain and Indie Films in your Blackberry Tablet, share, and post comments - with no ads: http://appworld.blackberry.com/webstore/content/42793
Please use plain text.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Re: Linking to an App in App World

try this in the head section of your index.file

		<script><!--external links-->
					function openWebLinkInBrowser() {
						// open web link in browser
						blackberry.invoke.invoke({
							target: "sys.browser",
							uri: "http://yoursiteaddress" 
						}, onInvokeSuccess, onInvokeError);
					}
					function onInvokeSuccess() {
						alert("Success");
					}

					function onInvokeError(error) {
						alert("Error, error: " + error);
					}
					</script><!--/external links-->

 

 

Please use plain text.
Contributor
virtualscribe
Posts: 29
Registered: ‎05-04-2011
My Device: PlayBook, Z10, Dev Alpha B, Dev Alpha C
My Carrier: Sprint; wifi only for testing

Re: Linking to an App in App World

Thanks, usr501, but no response with your script, no error alerts either.

 

I tried the following:

 

<a href="http://developer.blackberry.com" target="_blank">Developer</a>
<a href="http://appworld.blackberry.com/webstore/content/screenshots/20081672/?lang=en" target="_blank">Screen Shot</a>
<a href="http://appworld.blackberry.com/webstore/vendor/5881" target="_blank">Vendor</a>

and was able to pull up the BB Developer site but App World Blackberry World is not showing up.

===============

Film App: Watch feature length Public Domain and Indie Films in your Blackberry Tablet, share, and post comments - with no ads: http://appworld.blackberry.com/webstore/content/42793
Please use plain text.
Developer
Philipk
Posts: 676
Registered: ‎05-06-2012
My Device: Dev Alpha & PlayBook
My Carrier: wifi

Re: Linking to an App in App World

Linking to appworld.blackberry.com should technically open the App World App. I'm going to assume that functionality hasn't been programmed yet unless someone can verified they've got it working.
_________________________________________________________
co-founder of Diaree | BB Dev for PictureThis
Please use plain text.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Re: Linking to an App in App World

it works for me. try with a trailing slash  in javascript

target: "sys.browser",
							uri: "http://brooklynn.ky/sitemanager/" 

 a page ends  with an ext. if you're targeting a directory that defaults to an index page like --index.php/index.html etc use the trailing slash

 

 

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

Re: Linking to an App in App World

Why are you linking to your website? The thread is about links to apps within App World not working.

Have you specifically tried your method but linking to an App within App World?
_________________________________________________________
co-founder of Diaree | BB Dev for PictureThis
Please use plain text.
Trusted Contributor
usr501
Posts: 222
Registered: ‎03-03-2012
My Device: Ripple, LE Z10, Dev Alpha _C, Playbook, Bold 9900
My Carrier: rogers

Re: Linking to an App in App World

Philipk

read message 2 of 9 in this thread  link to app world working

 

I'm out.

Please use plain text.