How to show pins on the map of bb using 5.0 API

Hi all

I'm developing an application to watch that i card and writng following the code

but it shows pin on this card for 5.0 level API O.S.

MapView mapView = new MapView();
double lat = Double.parseDouble (ifAgentSearchInfo.getLatitude ()) * 100000;
latInt int = (int) lat;
Double lot = Double.parseDouble (ifAgentSearchInfo.getLongitude ()) * 100000;
int lotInt = (int) batch;
mapView.setLatitude (latInt);
mapView.setLongitude (lotInt);
mapView.setZoom (2);

MapsArguments mapsArgs = new MapsArguments (mapView);
Invoke.invokeApplication (Invoke.APP_TYPE_MAPS, mapsArgs);

Thank you all

Hello

It seems that you use inbulit map of passage of argument...

String document1 = ""+""
+ lon1 + "' y =" > "

Tags: BlackBerry Developers

Similar Questions

  • How to view root between point of two pins on the map of blackberry

    Hello

    I've implemented blackberry card in my application for the display of multiple points of PIN.

    But I need to display a root between point of two pins on the map, how can any body help me.

    Search the Forum, I suggest using the most commonly used spelling rather than root road.  You might find useful results, for example:

    http://supportforums.BlackBerry.com/T5/Java-development/BlackBerry-maps-trace-route-help/m-p/1404747...

  • Pins on the map endangered

    Hello

    I just got back from a trip and try to manually set studs of placement for the various places I've visited in the Lightroom card module. I identify a location on the map and then made drag images selected from the film at the location. It seems to work - but when I revisit the plan, the pins are gone. I wish that all the pins (with related images) that I placed on my card to appear whenever I open the card (for example when I discover the United States all the studs of my u. s. investment will appear) without having to enter a name of a given location so that I can just click on the pins pre-filled and see the pictures of this place.

    I also tried to use the Panel saved locations, but after that I have create a location, drag images of her and then move to another location for registration, the number of images to the right of the previous location tends to zero.

    I'm sure there's a step (or two) that I'm missing.

    Thanks for your help.

    Brian

    This can happen because in the library Module, you have selected a specific folder or the keyword or the collection before you open the map. If you want to see all your pins to the map, click on the photos in the library Module and make sure that you have disabled filters.

  • How to enter text in the text entry box using the virtual keyboard in a flex application

    Re: How to enter text in the text entry box using the virtual keyboard in a flex application

    Hello

    I'm using flash builder 4.

    I designed the virtual keyboard, I have to update the text in the input text permanently area using the virtual keyboard.

    I used the events.i button does a few he's cheating.

    can someone help me tat.

    Thanks in advance.

    I have included my mxml with this program.

    virtualKeyboard. MXML

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:fx s:Application ' http://ns.Adobe.com/MXML/2009 "
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = minHeight = "955" "600" creationComplete = "initfunc ()" >
    < fx:Script >
    <! [CDATA]
    Import mx.controls.Alert;
    private function initfunc (): void
    {
    B1.addEventListener (MouseEvent.Click, HandleEvent);
    B2.addEventListener (MouseEvent.Click, HandleEvent);
    B3.addEventListener (MouseEvent.Click, HandleEvent);
    B4.addEventListener (MouseEvent.Click, HandleEvent);
    B5.addEventListener (MouseEvent.Click, HandleEvent);
    B6.addEventListener (MouseEvent.Click, HandleEvent);
    B7.addEventListener (MouseEvent.Click, HandleEvent);
    B8.addEventListener (MouseEvent.Click, HandleEvent);
    B9.addEventListener (MouseEvent.Click, HandleEvent);
    B10.addEventListener (MouseEvent.Click, HandleEvent);
    B11.addEventListener (MouseEvent.Click, HandleEvent);
    B12.addEventListener (MouseEvent.Click, HandleEvent);
    B13.addEventListener (MouseEvent.Click, HandleEvent);
    B14.addEventListener (MouseEvent.Click, HandleEvent);
    B15.addEventListener (MouseEvent.Click, HandleEvent);
    B16.addEventListener (MouseEvent.Click, HandleEvent);
    B17.addEventListener (MouseEvent.Click, HandleEvent);
    B18.addEventListener (MouseEvent.Click, HandleEvent);
    B19.addEventListener (MouseEvent.Click, HandleEvent);


    B20.addEventListener (MouseEvent.Click, HandleEvent);
    B21.addEventListener (MouseEvent.Click, HandleEvent);
    B22.addEventListener (MouseEvent.Click, HandleEvent);
    B23.addEventListener (MouseEvent.Click, HandleEvent);
    B24.addEventListener (MouseEvent.Click, HandleEvent);
    B25.addEventListener (MouseEvent.Click, HandleEvent);
    B26.addEventListener (MouseEvent.Click, HandleEvent);
    B27.addEventListener (MouseEvent.Click, HandleEvent);
    B28.addEventListener (MouseEvent.Click, HandleEvent);
    B29.addEventListener (MouseEvent.Click, HandleEvent);
    B30.addEventListener (MouseEvent.Click, HandleEvent);
    B31.addEventListener (MouseEvent.Click, HandleEvent);
    B32.addEventListener (MouseEvent.Click, HandleEvent);
    B33.addEventListener (MouseEvent.Click, HandleEvent);
    B34.addEventListener (MouseEvent.Click, HandleEvent);
    B35.addEventListener (MouseEvent.Click, HandleEvent);
    B36.addEventListener (MouseEvent.Click, HandleEvent);
    B37.addEventListener (MouseEvent.Click, HandleEvent);
    B38.addEventListener (MouseEvent.Click, HandleEvent);
    B39.addEventListener (MouseEvent.Click, HandleEvent);
    B40.addEventListener (MouseEvent.Click, HandleEvent);
    B41.addEventListener (MouseEvent.Click, HandleEvent);
    B42.addEventListener (MouseEvent.Click, HandleEvent);
    B43.addEventListener (MouseEvent.Click, HandleEvent);
    B44.addEventListener (MouseEvent.Click, HandleEvent);
    B45.addEventListener (MouseEvent.Click, HandleEvent);
    B46.addEventListener (MouseEvent.Click, HandleEvent);
    B47.addEventListener (MouseEvent.Click, HandleEvent);
    B48.addEventListener (MouseEvent.Click, HandleEvent);
    B49.addEventListener (MouseEvent.Click, HandleEvent);
    B50.addEventListener (MouseEvent.Click, HandleEvent);
    B51.addEventListener (MouseEvent.Click, HandleEvent);
    B52.addEventListener (MouseEvent.Click, HandleEvent);
    B53.addEventListener (MouseEvent.Click, HandleEvent);

    }
    public void handleEvent (e: MouseEvent): void
    {
    var a: String = e.target.name;
    Alert.Show (e.Target.Name);
    var b:String = null;
    Switch (a)
    {

    case 'Button20 ':
    b = TextBox.Text;
    TextBox.Text = "a";
    TextBox.Text = b + "a";
    break;


    case 'Button21 ':

    TextBox.Text = "b";
    TextBox.Text = b + "b";
    break;


    by default:

    TextBox.Text = "s";
    TextBox.Text = b + "s";
    }
    }

    []] >
    < / fx:Script >

    < s:Panel = "43" x y = "82" width = "527" height = "213" >
    < mx:Button = "71" x y = '86' id = "b1" label = "1" width = "30" height = "24" / >
    < s:Button = "180" x y = '86' id = "b2" label = "5" width = "30" height = "24" / >
    < s:Button = "127" x y = '86' id = "b3" label = "3" width = "30" height = "24" / >
    < s:Button = "99" x y = '86' id = "b4" label = "2" width = "30" height = "24" / >
    < s:Button = "323" x y = '86' id = "b5" label = "0" width = "30" height = "24" / >
    < s:Button = "294" x y = '86' id = "b6" label = "9" width = "30" height = "24" / >
    < s:Button = "265" x y = '86' id = "b7" label = "8" width = "30" height = "24" / >
    < s:Button x = '237' y = '86' id = "b8" label = "7" width = "30" height = "24" / >
    < s:Button = '209' x y = '86' id = "b9" label = "6" width = "30" height = "24" / >
    < s:Button = "42" x y = '86' id = "b10" label = "" ' "width ="30"height ="24"/ >"
    < s:Button x = "382" y = '86' id = "b11" label = "=" width = "30" height = "24" / >
    < s:Button = '353' x y = '86' id = "b12" label = "» largeur" width = "30" height = "24" / > "
    < s:Button = "410" x y = '86' id = "b13" label = "back" width = "76" height = "24" / >
    < s:Button = "157" x y = '86' id = "b14" label = "4" width = "30" height = "24" / >
    < s:Button = "43" x = "109" id = "b15" label = "tab" width = "66" height = "24" / >
    < s:Button = "105" x = "109" id = "b16" label = "q" width = "31" height = "24" / >
    < s:Button = "247" x = "109" id = "b17" label = "y" width = "30" height = "24" / >
    < s:Button '303' = x y = "109" id = "b18" label = "i" width = "31" height = "24" / >
    < s:Button = "361" x y = '110' id = "b19" label = "p" width = "34" height = "23" / >
    < s:Button = "394" x = "109" id = "b20" label = "[" width = "31" height = "24" / >] "
    < s:Button = "191" x = "109" id = "b21" label = "r" width = "34" height = "24" / >
    < s:Button '424' = x y = "109" id = "b22" label = "]" width = "31" height = "24" / > "
    < s:Button = "222" x = "109" id = "b23" label = "t" width = "31" height = "24" / >
    < s:Button = "161" x = "109" id = "b24" label = "e" width = "31" height = "24" / >
    < s:Button = "133" x = "109" id = "b25" label = "w" width = "31" height = "24" / >
    < s:Button = "332" x = "109" id = "b26" label = "o" width = "31" height = "24" / >
    < s:Button = "275" x = "109" id = "b27" label = "u" width = "31" height = "24" / >
    < s:Button = "220" x = "133" id = "b28" label = "g" width = "31" height = "24" / >
    < s:Button '424' = x y = "132" id = "b29" label = "enter" width = "62" height = "24" / >
    < s:Button = "43" x = "132" id = "b30" label = "caps" width = "66" height = "24" / >
    < s:Button = "275" x = "133" id = "b31" label = "j" width = "42" height = "23" / >
    < s:Button = "314" x = "132" id = "b32" label = "k" width = "31" height = "24" / >
    < s:Button = "133" x = "133" id = "b33" label = "s" width = "31" height = "23" / >
    < s:Button = "161" x = "133" id = "b34" label = "d" width = "31" height = "23" / >
    < s:Button = "250" x = "133" id = "b35" label = "h" width = "31" height = "23" / >
    < s:Button = "105" x = "133" id = "b36" label = "a" width = "31" height = "23" / >
    < s:Button = "191" x = "133" id = "b37" label = "f" width = "31" height = "23" / >
    < s:Button = "342" x = "132" id = "b38" label = "l" width = "31" height = "24" / >
    < s:Button = "152" x = "154" id = "b39" label = "x" width = "31" height = "24" / >
    < s:Button = "353" x = "154" id = "b40" label = "'." " Width = "31" height = "24" / >
    < s:Button = "325" x y = "154" id = "b41" label = "," width = "31" height = "24" / >
    < s:Button = "294" x = "154" id = "b42" label = "m" width = "31" height = "24" / >
    < s:Button = "259" x = "154" id = "b43" label = "n" width = "37" height = "24" / >
    < s:Button = '236' x y = "154" id = "b44" label = "b" width = "31" height = "24" / >
    < s:Button = "211" x = "154" id = "b45" label = "v" width = "31" height = "24" / >
    < s:Button = "181" x = "154" id = "b46" label = "c" width = "31" height = "24" / >
    < s:Button = "122" x = "154" id = "b47" label = "z" width = "31" height = "24" / >
    < s:Button = "380" x = "154" id = "b48" label = "/" width = "31" height = "24" / >
    < s:Button '368' = x y = "132" id = "b49" label width = ';' = "31" height = "24" / >
    < s:Button = "396" x = "132" id = "b50" label = "" ' "width ="31"height ="24"/ >"
    < s:Button = "43" x = "154" id = "b51" label = "shift" width = "82" height = "24" / >
    < s:Button '407' = x y = id = "154" "b52" label = "shift" width = "79" height = "24" / >
    < s:Button = "455" x = "109" id = "b53" label = "------" width = "31" height = "24" / >

    < / s:Panel >
    < s:TextInput = "161" x = "27" id = "textbox" width = "253" / >

    < / s:Application >

    Kind regards

    Saran r

    Hello

    http://gumbo.flashhub.NET/keyboard/

    It is a small example of a 'virtual' keyboard that will enter the text into a textinput/textarea component selected. Capslock and shift key States really aren't quite right (really need control shift/cap lock combo), but there is a simple tab and backspace (delete) and enter the function key.

    hope this is useful

    David.

  • How to find out what the police are actually using Firefox?

    How to find out what the police are actually using Firefox?
    Inspect the element don't say what substitute fonts.

    Firefox 24 ESR has the tab fonts in the Inspector, which shouldn't be a problem.

  • How to stream video to the host, my site using Adobe Flash Media Streaming?

    Please help me how to stream video to the host, my site using Adobe Flash Media Streaming? Using localhost and my ip I can watch streaming in my computer. How should I configure my server to watch streaming on my site?

    Help, please!

    Thank you!

    If godaddy gave me the ip address how can I use it in my video streaming, if I installed the program on my comoputer (at home) and I'm streaming from my computer on my site?

    If I can't do my public ip should I broadcast host? How it is posible. I have to install the program to my host?

    Thank you very much for your help!

  • How to show or hide the region of the shuttle during the click on the radio buttons?

    Hello

    I'm new to JDeveloper. Here is my requirement.

    1. create 2 radio buttons: Yes and no and default displays "" selected radio button.

    2. create a region of shuttle with select query in VO.

    Query is:

    Select 'No group' for_user, for_pkg double null

    Union

    Select "Company" for_user, for_pkg "SEGMENT1" double

    Union

    Select 'Rental' for_user, for_pkg 'SEGMENT2"double

    Union

    Select 'Cost center' for_user, 'SEGMENT4' double for_pkg

    Union

    Select 'Project' for_user, 'SEGMENT5' double for_pkg

    Union

    Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double

    order by nulls first for_pkg

    3. initially hide the region of the shuttle during the loading of the page.

    4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.

    5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.

    But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.

    Please find the attached draft and suggest me proper with examples of sample approach.

    Monika,

    I tried to get this working in the lower version of Jdeveloper and looks like it works.

    Can you make the change below and see what happens.

    1. modify your query to VO as below: (I replaced null with SEGMENT0)

    select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual
    union
    select 'Company' for_user, 'SEGMENT1' for_pkg from dual
    union
    select 'Location' for_user, 'SEGMENT2' for_pkg from dual
    union
    select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual
    union
    select 'Project' for_user, 'SEGMENT5' for_pkg from dual
    union
    select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual
    order by for_pkg
    

    2. place VO execution to the processFormRequest:

        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            System.out.println("In process Form Request");
            super.processFormRequest(pageContext, webBean);
            OAApplicationModuleImpl appModule =
                (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
            String eventParam = pageContext.getParameter(EVENT_PARAM);
            System.out.println("eventParam: " + eventParam);
            if ("showHideShuttle".equals(eventParam)) {
                //  appModule.invokeMethod("deletetrailing");
                System.out.println("Inside If");
                OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean");
                System.out.println("messageCheckBoxBean : " + messageCheckBoxBean);
                String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext);
                System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal);
    
                if ("Y".equals(messageCheckBoxBeanVal)) {
                    OAViewObjectImpl shuttleVO1 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1");
                    if (shuttleVO1 != null) {
                        shuttleVO1.setWhereClause(null);
                        shuttleVO1.setWhereClauseParams(null);
                        shuttleVO1.executeQuery();
                        System.out.println("Executed Query : " + shuttleVO1.getQuery());
                    }
                    OAViewObjectImpl shuttleVO2 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2");
                    if (shuttleVO2 != null) {
                        shuttleVO2.setWhereClause("1=2");
                        shuttleVO2.setWhereClauseParams(null);
                        shuttleVO2.executeQuery();
                        System.out.println("Executed Query1 : " + shuttleVO2.getQuery());
                    }
                }
                String[] name = { "RenderAttr1" };
                String[] val = { messageCheckBoxBeanVal };
    
                Serializable[] params = { name, val };
                Class[] paramTypes = { String[].class, String[].class };
                appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes);
    
            }
    
        }
    

    3. move Spel link shuttle Bean for the region of header above.

    Some useful links for the shuttle Bean:

    Technology blog based in Java of Sushant: 13. Area of application OFA shuttle

    Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS

    See you soon

    AJ

  • Cancel the mapping of space used Dell PS4100 SAN on the Windows Server 2008 R2 Hyper-V cluster.

    Is Dell has a tool to undo the mapping of used space of deleted VMS or data on the volume/LUN, the SAN from Dell does not give space automatically if you delete data. Volume/Lun is thick.

    You must install the HIT / ME tool and use the EqlReThin utility.  If you download the 'Dell EqualLogic Host Integration Tools for Microsoft Installation and user guide' on the support site, there is a description on how it works.

    -joe

  • How do I place what the images are RGB using the separations preview?

    2 questions: 1. how to spot what the images are RGB using the separations preview? 2. is there an easy way to convert those to CMYK without opening each to the PS? I've done it before all the time but I'm rusty and don't remember how I did it. I'm on CS6.

    One of the many methods to discover, you can:

    (1) you can use the links Panel.  Open the links Panel. Go to the menu of the Control Panel, and then choose Panel Options. In the dialog box Options Panel, under Show column check 'color space '. Now, when you view your links Panel it will show the color space of all related images.

    (2) you can use the preflight and set a preflight profile. In the profile, go to the section color > color spaces and unauthorized Modes and check RGB. Then all RGB images have reported.

    (3) If you need to know before you place the images, use Adobe Bridge. Open the folder where the image. Use the metadata Panel and view the color space of images.

  • How to make reference to the external SWF file using if statement?

    I have a main swf file that loads several external SWF file when the user clicks a menu button. Now I want to target a specific swf file to Add an extra library child or of another swf when this specific swf file is loaded. How should I do? What should I put in the stated case?

    ///////////////////////////////////////////////////////////

    var newswf:URLRequest = new URLRequest (".") ("/ swf /" + event.target.name + ".swf");

    Loader.Load (newswf);

    addChild (loader); dynamically load SWFs

    If (newswf == ".") ("/ SWF/pubResCHETNA.swf ') //error here

    {

    FC.buttonMode = true;

    FC.addEventListener (MouseEvent.CLICK, full screen);

    }

    function fullScreen(e:MouseEvent):void

    {

    var loaderF:Loader = new Loader();

    loaderF.load (new URLRequest ("PopupFullscreen.swf"));

    addChild (loaderF);

    }

    ////////////////////////////////////////////////////////

    The State must be newswf.url == the path. However I store event.target.name as a variable and use it in the State. You use "." for your path so the condition probably will always fail.

    --

    Kenneth Kawamoto

    http://www.materiaprima.co.UK/

  • Qosmio X 770 - 11 c - how to disable on board the speakers when you use Line Out?

    Hello

    Is it possible to disable on board to intervene when the output line is used.

    Currently, if I plug in a cable to the socket of hadphone and choose alignment on the realtek Control Panel, sound is output line out as expected, but also through the internal speakers.

    Is it possible to stop this and don't have sound out through the output line?

    Thank you

    Graeme

    If you want to hear his helmet only you should choose option helmet.
    Disconnect the cable and reconnect it. When you see the small window on the screen where you can choose between the headphones and output line options choose headphones and you'll hear on external display only.

    In case you have disabled this pop-up dialog box you can activate it manually. Open the Realtek Manager connect the external device and when you see active point black on the right side make double click here and change the settings.

  • Problem on chart show and see the map

    Hi all

    I use a simple program on target RT 1071 PXI with a DAQ 6356. The program works well, but the results on the table and the graph are not what I want.

    The timeout for data acquisition is defined as 0.1 s, so the result on the chart updates every 0.1 s. However, I want to get the running total from the beginning to the end. What a change, I need to do to get what I want?

    And I did not understand the result in the table of waveform. Is there something wrong with it in the program?

    Thank you

    Best regards

    I don't know how you have implemented your task of the DAQ Assistant, but no doubt you are acquiring blocks of data.

    I think of each iteration of the loop, as the chart shows only the most recently acquired piece of data and the chart is them accumulate and retains only the last 1024 points (not pieces, but points) because by default the length of 1024 points chart history, maybe what you need is to set a greater length of history (right click on the graph).

    Hope this helps and if not put a screenshot of the front panel and explain what the chart & graphical display (instead of what you want) because at this moment I am only guessing.

  • How to show popup on the filedownload button action

    Hi Experts,

    Work on jdev 11.1.1.3.0, ADF BC with rich faces.

    I need in my application as I need to display the pop-up window and at the same time need to download the file. as the selected lines in the table I have validation on each line, if the validation failed lines I need to show in the popup to the user as I have rows of validation success also these lines I need to generate a file and I want to download.

    I have written logic on the command button that has fileDownload, logical remaining here works very well except the popup display. can someone tell me how to solve this problem.

    Published by: user5802014 on August 19, 2010 17:57

    Hello

    I must admit that I did not sample myself. However, in your JavaScript code, I see 1 problem

    you have the following line in the script

    actionEvent.forceFullSubmit ();

    This causes a shipment of full page and a page refresh, which prevents the opening of popup

    Frank

  • How you show proof of the delivery of an advertisement in a Folio to a customer?

    Our company is one of our conversion currently publications edition digital all the using DPS Enterprise. How provide us "proof of delivery" of an ad in the folio to a customer?

    Thank you!

    As RichinZ said, if the customer only want to know that the announcement was published in your publications, defined in article ad free, turn the social sharing and share the link to web viewer.

    If you want proof the customer announcements are read and sent to the end-users, the analytical reports will be. Mark the Ad article as an ad in your folio producer that is followed therefore that ad in your analysis

  • How to show %s in the graph bars EN

    Hi gurus

    I have a question about the graphics bar in FR.

    I have a client who wants to view the values for segment on a BAR chart.

    I was able to do this using a line and a bar graph. See the link

    [Chart bar EN image | https://docs.google.com/document/edit?id=1hU8Ck1-eqF_h2VPMPFmGAtSHn6xrxe5gxj0gcHh-PCM & hl = en & authkey = CMev5-EF]

    Now, they want to show the data in % (43%, 16%)

    Is this possible? I tried to edit the .as file and add the option NUM_POS_SUFFIX = '%' in the Chartobject box, but without success.

    Can someone help me with this please?

    He got atlast

    I added OTHERPROPERTIES = "LeftFormat = (FLOAT, '%%d')" after OBJECT_WIDTH "

Maybe you are looking for