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

Adobe AIR Development

Reply
New Contributor
Posts: 4
Registered: ‎02-22-2011
My Device: Not Specified

PlayBook simulator - google maps.

gHello !

          I am new in this foro. Concerning the Flex technology, I have included google maps (map_flex_1_20.swc) in an application Flex and in the application Air without problems but I get an error in the Playbook simulator. 

         I use: Flex "burrito". 

         Does anyone have  any example or tips for google maps  / Playbook ?. It is possible to use an Action Script mobile project for this ?.

 

Thanks.

George.

 

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: PlayBook simulator - google maps.

[ Edited ]

I dont know about burritto, but GMaps works fine on the PB and in AIR.  So if you can get it to work as an AIR application, it will work fine on the PB.

 

[EDIT]: I use it in FB4.

Developer
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: PlayBook simulator - google maps.

Ill confirm this, I use that swc in my approved app.

Like all of my posts
New Contributor
Posts: 4
Registered: ‎02-22-2011
My Device: Not Specified

Re: PlayBook simulator - google maps.

Hello, a question:

          I use for my AIR application:

         url = http://localhost  key="my key".

 

It works. The maps are displayed ok.

 

But with the same url and key on the PlayBook Simulator (Flex mobile project) i get this error:

"initialization failed: please check the API Key, swf location, version and network availability".

 

Is this correct ?. Is neccesary to use another url / key ?.

Thanks.

 

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: PlayBook simulator - google maps.

When you registered for your key, you entered a URL for it.  The URL in the API should be that URL.  It is a way to confirm the registration.

New Contributor
Posts: 4
Registered: ‎02-22-2011
My Device: Not Specified

Re: PlayBook simulator - google maps.

Yes, finally it works. It was an error in url.

New Contributor
Posts: 4
Registered: ‎02-15-2012
My Device: Blackberry Tour
My Carrier: MTN Nigeria

Re: PlayBook simulator - google maps.

Its works well with http://localhost and mykey but url do I use when trying to export a release build in flash builder when I want to send to the Blackberry App world as it doesnt work when i use the url i used to get the key
Highlighted
New Contributor
Posts: 4
Registered: ‎02-15-2012
My Device: Blackberry Tour
My Carrier: MTN Nigeria

Re: PlayBook simulator - google maps.

So what url did u use my works with localhost n my key but it doesnt work with the domain I registered to get the google maps key. So which wld u publish to the app world with as u clearly cant use localhost