How to call cards in the Playbook

I want to call google maps on my playbook application then how can I invoke only

To add your SWC in FB Burrito go to your project properties-> AS Build Path-> library path and click on: Add SWC and add the two files to download sdk.

I put toghether a small code example that gives you a full screen Google Maps on your Simulator.

package
{
    import com.google.maps.controls.MapTypeControl;
    import com.google.maps.controls.ZoomControl;
    import com.google.maps.LatLng;
    import com.google.maps.Map;
    import com.google.maps.MapEvent;
    import com.google.maps.MapType;
    import com.google.maps.overlays.Marker;
    import com.google.maps.services.Directions;
    import com.google.maps.services.DirectionsEvent;

    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    import flash.geom.Point;
    import flash.display.Sprite;
    import qnx.events.QNXApplicationEvent;

    import qnx.system.QNXApplication;

    [SWF(width="1024", height="600", backgroundColor="#FFFFFF", frameRate="30")]

    public class GoogleMapsDemo extends Sprite
    {
        protected var _map:Map;
        private var _dir:Directions;

        public function GoogleMapsDemo()
        {
            super();

            stage.align = StageAlign.TOP_LEFT;
            stage.scaleMode = StageScaleMode.NO_SCALE;

            _map = new Map();
            _map.key = "YOUR API KEY";
            _map.url  = "THE URL YOU REQUESTED THE API KEY FOR";
            _map.language = "en";
            _map.setSize(new Point(stage.stageWidth, stage.stageHeight));
            _map.addEventListener(MapEvent.MAP_READY, onMapReady);

            _map.sensor = "false";
            addChild(_map);

        }

        private function onMapReady(event:Event):void {
            _map.addControl(new ZoomControl());
            _map.addControl(new MapTypeControl());

            _map.setCenter(new LatLng(40.736072, -73.992062), 14, MapType.NORMAL_MAP_TYPE);
        }
    }
}

Doesn't have much comment here, but the code should be pretty much self-explanatory. From here you should be able to countinue yourself.

P.S.: I belive that you use different accounts for the display which is a little confusing.

Tags: BlackBerry Developers

Similar Questions

  • How to call "j_security_check" in the jsf page

    Hello

    with ADF security set up in Jdeveloper11.1.1.2, it automatically generates login.html and error.html for forms authentication.

    I found in login.html, the form action is "j_security_check" and I try to customize the page of connection with the jsf page, but do not know how to call "j_security_check" in the jsf page, there is no action attribute more within the af: form and I can't find the "j_security_check" in the action of Expression commandButton control build.

    Thanks in advance.

    Best regards
    Bill

    Hello

    you will need to add the login form to the JSf page wrapped in f: verbatim to show as part of the JSF page. JSF 1.2 using f: verbatim shoucl be no need, but in my experience, is best.

    If you develop and deploy on WLS, then Chapter 30 of the Fusion Developer Guide has a solution of God for you to build a form of connection in JSF completely

    http://download.Oracle.com/docs/CD/E15523_01/Web.1111/b31974/adding_security.htm#BABDEICH

    This requires any of j_security_check

    Frank

  • How to call and parse the SOAP WSDL service in Swift 2.0 to Xcode 7.1

    I'm new to the SOAP and I don't know how to call SOAP Web service and parse XML. I also tried to try to Google.And all of the resources that I had was outdated. Y at - it a tutorial or examples that I can learn? Any help?

    Hello ColayHills,

    It's because SOAP is exceeded. It is based on XML and XML really nasty at that. You have other options or should you use SOAP?

  • How to call player when the Acrobat and Reader are installed?

    In my machine, I have Acrobat 7.0 Standard and Acrobat Reader 8 is installed.

    I want to call Reader 8 in my program. But every time that it opens up Acrobat 7.0. I use the following code,

    Dim acroApp As Acrobat.CAcroApp

    acroApp = CreateObject ("AcroExch.App")

    acroApp.MenuItemExecute ("about")

    I am new to writing programs PDF. Can someone tell me how to call Reader 8 program? (I use VB.Net).

    Read the Communication monitor documentation to see what is possible with Adobe Reader. You can use the sample AcrobatActiveXVB with Adobe Reader.

  • How to call WSDL in the ODI procedure

    Hi experts,

    Please help me on "how to call the web service in the ODI process."

    Thanks in advance

    Concerning
    Phani

    Hello

    Use the OdiInvokeWebService... Take a look at the options reference manual...

    This help you?

    Cezar Santos
    http://odiexperts.com

  • How to call report via the URL (without displaying information to user name)?

    I want to call report in my APEX application.

    I can get it run like this:
    http://hostname:port/reports/rwservlet?module=invoice.rdf&userid=oe/oe@tnsalias&destype=cache&desformat=pdf 
    But showing username in the url would have serious security problem.

    How could configure the report to set the default user ID, so that I do not need to define who, in the url?

    And is it possible to integrate this with my APEX application authorization?

    frank1018 wrote:
    I want to call report in my APEX application.

    I can get it run like this:

    http://hostname:port/reports/rwservlet?module=invoice.rdf&userid=oe/oe@tnsalias&destype=cache&desformat=pdf 
    

    But showing username in the url would have serious security problem.

    How could configure the report to set the default user ID, so that I do not need to define who, in the url?

    And is it possible to integrate this with my APEX application authorization?

    Hi frank
    Check this http://docs.oracle.com/cd/E12839_01/bi.1111/b32121/pbr_run013.htm

    Hope this helps

  • How to call SQL in the filter condition

    Hello

    Booking dashboard report, I need filter order_date between this quarter beginning date and this date of end of quarter.
    I customized data are available from quarter to quarter end date.
    How do I use the filter.

    Thank you

    Looks like you need filter the date of the order between the start of quarter and the ending quarter by ensuring that order dates is always present between the quarter start date and the date of end of quarter

    Create a report of sub with a column of order date and order date is invited.

    So now, in the report main use filter option advanced and

    Take the quarter start date column and use the advanced on this filter option. Use the results to filter based on another request. You can specify the quarter start date is greater than the date of the selected order (order reporting date column)

    and

    Take the quarter end date column and use the advanced on this filter option. Use the results to filter based on another request. You can specify the quarter end date is less than the date of the selected order (order reporting date column)

    In this way, you can force the order date always between the date of beginning of quarter and quarter end date columns

    It may be useful
    Thank you
    Prash

  • Video of the PlayBook

    I am playing the video through the works of web for playbook.

    Here's the code HTML that I use to play the video.

    It works on the browser, but no video plays in the playbook Simulator. Please help me as app must be sent in 31 of this month.

    Or tell me how to play videos in the playbook.

    Video output will not play on the simultor either due to lack of codecs.

    It will run on the physical device running 0.9.4 external videos, videos not just the.

  • What is the use of RAS calling card?

    What is the use of RAS calling card? And how do I uninstall?

    Hello coco Amaravadi,

    Given that the problem is related to the RAS asynchronous card, it would be better suited on the TechNet support forum. I suggest you post your question on the following link.

    http://social.technet.Microsoft.com/forums/en/categories/

  • Smartphones blackBerry how to backup recording of the voice of my sD card?

    Does anyone know how to permanently save the voice recording that are my 2 giga sD card.  Can't seem to understand this?  I know how to save all the rest but can't seem to get the items out of my sD card.

    Thank you very much

    There are parameters with the backup software Desktop to allow you as well the support of backup files.

    You can also use Media Sync in the Desktop Software to sync your media files on your PC.

    And you can do it manually by just drag / drop multimedia files of the press card to the PC with activated on press card mass storage Mode.

    1. go to Options > Media Card
    (some themes or BlackBerrys can call this ' settings > Media Card ")

    2. check the following parameters (if they are that way, then changes according to the following:)
    (a) media card Support: on
    (b) mass storage Mode Support: on
    (c) auto Enable mass storage: Yes

    3. save the settings and exit

  • need to replace my number of credit card for the monthly payment. What they suggest to do, does not take me anywhere. Is there any phone number to call to expedite this update?

    I need to replace my number of credit card for the monthly payment. What they suggest to do the update your credit card number does not take me anywhere. You is any phone number to call to speed this up?

    Francosp

    Ensure that EACH DETAIL is the same in all places, you enter your information

    -in how to spell and punctuate the parts of your name and address

    Change/Verify account https://forums.adobe.com/thread/1465499 can help

    - Https://helpx.adobe.com/utilities/credit-card.html credit card

    -or by phone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html

  • How can I remove a credit card on the app store?

    How can I remove a credit card on the app store? I can't download apps because it makes me sign then goes to check and it keeps saying method declined.

    < re-titled by host >

    Click here for an asnwer.

    Change or remove your information from payment of Apple ID - Apple Support

    Hope this helps, good luck to you.

  • How to insert the SIM card into the flame

    Hello

    I'm trying to put my SIM card in a phone of flame, but I don't know how to do it.

    I try to place the card in the slot, but the slot is higher than the card, I do not know if I put the card good or bad. The message still says "SIM not detected." Can I restart the device every time I slightly move the SIM card to force recognition?
    I have to do something else with the SIM card?

    PS: The flame brochure says in 2 different places ("see Insert or remove the SIM card '), but this article does not appear in the brochure.

    Hi xabitubbi,

    No, the flame device uses a SIM to normal size. Yours is a micro-SIM.

    You should contact your operator and ask for a normal size SIM card that fits on the device of the flame.

    -Ralph

  • Satellite P200-1FZ: how to insert the smart media card into the card slot

    Hello

    I have read the slim manual, and I can't find any info on the card slot. (other than where he lives on the laptop)

    Could someone tell me please how to insert my card SmartMedia? the slot is huge and I'm worried about losing the card inside the laptop! I assume that the smart media will be automatically run?...

    Thanks in advance!

    It would be good to know what model of laptop you have.
    But, normally, for the smaller cards, you will need an adapter that is often included, as for the memory stick pro duo.
    I think it's just normal size and you have to put in the middle of the card reader slot until you hear a click.

    If you have not changed the AutoPlay settings, you must get a new window with the files on your card, when you put it on your laptop.

  • How to mount the SD card into the PC?

    I just got an Xperia S tablet a few days ago. I found when I connect the tablet to the PC via USB, internal memory only present in computer science, not the sd card. My question is if there is a way I can access SD card via PC? It is runing 4.0.3 release 5.

    Hello
    Thank you for your message.
    You cannot transfer your PC directly on the SD card, but you can transfer to internal storage as you mentioned, and then move the file to the SD card in the tablet.

    Follow these instructions to transfer the internal storage to a SD card as follows:
    How the backup files or the transfer of the tablet on a SD card. [/ url: 5znuzjdg]
    This can also be found...

Maybe you are looking for