BlackBerry Maps - Trace Road - help

Hi, im trying to draw a route but it is not possible!

         String document = " " +
                " " +
                "  " +
                "";

            Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments
                (MapsArguments.ARG_LOCATION_DOCUMENT, document));

There is no road

What im doing wrong?...

If I try with:

String document = "  " +                " ";

Nice work .

OK, his work

        String document = "  " +
                " ";

        Invoke.invokeApplication(Invoke.APP_TYPE_MAPS, new MapsArguments
            (MapsArguments.ARG_LOCATION_DOCUMENT, document));

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry Smartphones a repeat more... BlackBerry Maps - NA?

    No idea how I could access Blackberry Maps?  When I do Options Options/Advanced/maps, get only one choice, and it is Blackberry Maps - na

    Help please!

    TNX!  Michael

    I seem to have two icons of the Application on my phone, an Application with a circle icon and an icon of the application with a file in the icon.  When I click on the icon of the Application with a file I see Google Maps and maps with a compass on the icon which is BB maps.  I think that like much more than Google maps, which is nice, but so slooooow.  I hope this helps.  I'm really a little frustrated to learn of this new storm - I don't think that it's like inyuitive I thought it would be or I bet the iphone's.  Took me forever to learn typing to contacts without spell checker tries to fix the name so I was serching and still do not get the keyboard to type course.

  • Smartphones blackBerry maps help

    Please help in loading maps on the blackberry 8310, I downloaded from the blackberry site, but nothing appears on my screen.

    The cards are usable without having to subscribe to a website or internet connection?

    Thanks and greetings

    Graham

    BlackBerry maps will work if your country map is available with them. Try to download Google maps on your device from Google. It works very well! and no more.

  • BlackBerry Z10 GPS with Blackberry Maps, very slow work

    Hello. I use Blackberry Maps often, but have noticed that the GPS on my phone started to work very slowly.

    When I turn it on it takes a few minutes to find my position. And when I enter a destination for navigation, he made several attempts to trace road and especially returns with the message: "cannot find your GPS position. Move to a location with a clear view of the sky view, and then try again (1013). Even when I'm standing outside, under a clear sky and open, I always get this message...

    Does someone can give some indication of what can be the problem and possible solutions.

    Including J Sanders... Thanks for your help.

  • BlackBerry Smartphones BlackBerry Maps don't have LOAD not

    Help! my blackberry maps application does not load. It shows just a white background with a pointer in the middle. There is no showing roads. Help! Thank you

    the solution is to have BIS sorry guys

  • DETECT if BlackBerry Maps is installed

    Hello world:

    I extend the MapField class in my application and I need to detect if BlackBerry Maps is installed on the device. I was under the impression that it was distributed with OS4.5 or newer. However, it seems that some network providers that withdrawing from the device. Accordingly, I have users to get a "Eception exception: LBS map API is not installed ' when installing the OTA.

    Any help would be greatly appreciated.

    Try this:

    CodeModuleManager.getModuleHandle ("net_rim_bb_lbs")

    If the return is< 1,="" then="" it="" is="" not="">

  • BlackBerry Maps - unable to calculate route

    Hello

    I have an application which, at the click of the button, called the Blackberry maps with a rental document to get directions using latitude and longitude, here is the example it does

    Location myLocation = myLocationProvider.getLocation (120);
    Latitude = myLocation.getQualifiedCoordinates () .getLatitude ();
    Longitude = myLocation.getQualifiedCoordinates () .getLongitude ();

    int iLatitude = (int)(latitude*100000);
    int iLongitude = (int)(longitude*100000);
    Log.info ("latitude:" + iLatitude);
    Log.info ("longitude:" + iLongitude);

    String document = ""+ "
    ""+
    ""+
    "
    "  ;
                      
                                  
    String document1 = ""+ "
    //      ""+
    //       ""+
    //         "
    ";

    Log.info ("document:" + document);
                        
    Invoke.invokeApplication (Invoke.APP_TYPE_MAPS, new MapsArguments
    (MapsArguments.ARG_LOCATION_DOCUMENT, document) ;

    This code example gives me "unable to calculate the route. But when I use the string document1 (provided in Blackberry maps reference), it works fine. The iLatitude and the ilongitude come to simulate location GPS optionally simulate in the Simulator. I use BB JDE 5.0.0 and Blackberry 9700 Simulator.

    Below the log where you can see the values of iLatitude and iLongitude and localization of debugging is created:

    There an IllegalArgumentException, which I think is the problem because it does not come when I use the other location document1.

    MISVt = 1, h = 336bis, id = d15a33128dfbb5d9
    VM:LNTDa = validation, t = 1, p = TestClient
    latitude: 5182134
    Longitude:-128848
    Document:
    From net_rim_bb_lbs
    Net_rim_bb_lbs (251) started
    Net_rim_bb_lbs (251) foreground
    Background switch detected for TestClient (248) that does NOT have the tunnels open - defocus is NOT called
    Switch detected in the foreground for net_rim_bb_lbs (251) that does NOT have the open tunnels - focus NOT called
    FocusHistory: Lost Focus; App TestClient. Component com.sybase.uep.bobclient.controls.Button
    VMISVt = 0, h = 336bis, id = d15a33128dfbb5d9
    VM:LNTDa = validation, t = 0, p = net_rim_bb_lbs
    VMISVt = 1, h = 336bis, id = d15a33128dfbb5d9
    VM:LNTDa = validation, t = 1, p = net_rim_bb_lbs
    FocusHistory: Acquired Focus; App net_rim_bb_lbs; Component net.rim.device.apps.internal.lbs.MapScreen
    FocusHistory: Lost Focus; App net_rim_bb_lbs; Component net.rim.device.apps.internal.lbs.MapScreen
    FocusHistory: Acquired Focus; App net_rim_bb_lbs; Component net.rim.device.api.ui.container.DialogFieldManager$ FocusNullField
    Directions.getDirections () sends a request to the server
    RequestThread$ 1: wire Req: try Conn: url =http://routes.blackberry.com/route2/;deviceside=false; ConnectionUID = S 00005, attempt #= 1, type = 4 trans
    RequestThread$ 1: connection failed - url =http://routes.blackberry.com/route2/;deviceside=false; ConnectionUID = S 00005, attemptNumber = 1, transport type = 4, exception = insufficient coverage
    FocusHistory: Lost Focus; App net_rim_bb_lbs; Component net.rim.device.api.ui.container.DialogFieldManager$ FocusNullField
    $ 1 RequestThread: Req thread: conn attempt: url =http://routes.blackberry.com/route2/;interface=wifi, attempt #= 1, type = 6 trans
    RequestThread$ 1: connection failed - url =http://routes.blackberry.com/route2/;interface=wifi, attemptNumber = 1, transport type = 6, exception = insufficient coverage
    $ 1 RequestThread: Req thread: conn attempt: url =http://routes.blackberry.com/route2/;deviceside=true, attempt #= 1, type = 1 trans
    The addition of process = net_rim_bb_lbs (251) table
    Addition of the tunnel id = 1mode = FG to process = net_rim_bb_lbs (251)
    RequestThread$ 1: request thread: conn attempt succeeded: url =http://routes.blackberry.com/route2/;deviceside=true, attempt #= 1, type = 1 trans
    RequestThread: ServerExchange wire: using url and the type of connection 1 = [http://routes.blackberry.com/route2/;deviceside=true]
    Error: DirectionsRequest: error when converting byte array data stream input: java.lang.IllegalArgumentException: Directionsrequest::readResponse(): read length not valid the server response packet. Length of the package = 0
    Error: Directions: Directions request error: 1, URL: http://routes.blackberry.com/route2/, request:

    Please can someone help me with this error...

    Thank you

    Blanchard

    Hello

    My problem solved. The thing was to test my application, I used values of Latitude and longitude of a card (on the internet) and the values that I picked up were probably not really accurate, reason for which he was not able to calculate the route. Then my web service has begun to send me good lat and long values based on geolocation, it started working. There is nothing wrong with my code, it was test values I was providing were not as accurate as they should have been.

    Thank you

    Blanchard

  • BlackBerry Maps put me in the wrong place

    If someone has dealt with BlackBerry Maps?  I'm trying to plot a point on the map and for a reason even if I'm him giving the coordinates for near Denver, it keeps drawing me in off the coast of Lisbon, in Spain.

    Here's the rental document that I send it.

    I got back the lat x and him go along before, but after having looked carefully at the documentation that I realized that RIM in their infinite 'wisdom', decided to reverse them for some odd reason.

    Anyway, I can't understand why it works perfectly in Google Maps, but not in BlackBerry Maps.  Thanks in advance for your help.

    Your 'x' setting seems to be missing a number (to be in Denver)

    I get a lon-104.98812 for downtown Denver.

    Multiply that by the whole WGS (100,000), a you should have something in the neighborhood of 10498812

    The coordinates you have below * are * to off the coast of the Spain.

  • Handling Blackberry maps details

    Hello

    I am new to BB application development...

    Can someone help me to manipulate or change the details of blackberry maps?

    in BB maps details it shows place name, address, web site, etc.

    and I want to put a hyperlink or a button that goes to my apps...

    is this possible?

    No, this is not possible.

    You * can * put a menu on the map item, such as lat/lon coordinates are passed to your application in the context object.

    Edit: I forgot to mention the classes:

    See ApplicationMenuItem and ApplicationMenuItemRepository in the javadocs.

    See also this article (and please put the KB bookmark while you are there):

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/How_To _...

  • Get the location of BlackBerry Maps

    Hello

    In the BlackBerry map pinpoint me a location, for example New York. I want to save this place in my store.

    Can someone help me sort this

    Thanks in advance

    Jake

    You can add an ApplicationMenuItem to the card program. When you menu item is selected, the location (lat/lon) is sent to your application.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800703/How_To _...

  • BlackBerry Smartphones blackberry maps

    I have a blackberry 9320 and I live in South Africa now my BB is not blackberry maps, but she has this built in link to a maps application that has expired the app you download on this site is not worrk so I was wondering how I can get the Blackberry normal maps app on my phone
    PS. I tried the link and it doesn't download instead, tells me she doesn't have to download something to not be appropriate for my device I am on OS 7.1 by the way
    Any help is appreciated

    Hello and welcome to the community!

    Here's a knockout who deals with this situation:

    • Article ID: KB19220 Impossible to install the BlackBerry Maps application on the site of Research In Motion on some BlackBerry Smartphones

    I hope that it contains something useful! There are also several existing threads on this site, which discuss exact error... your opinion of those who may prove useful, and a search of this website, by using the error message, error code or symptom, should reveal all the existing threads that are applicable to you.

    Good luck and let us know!

  • BB of Smartphones blackBerry maps for Torch 9860

    Hello

    I just got a BB Torch 9860 and tries to download maps of BB with no luck at all. I received the following message:

    «Sorry, your device does not meet the system requirements that are needed to support BlackBerry map»

    The only requirement that I see on the website is "* BlackBerry Maps is available on devices running the device software v4.1 and above.

    I already installed the latest version of the software.

    Any help is greatly appreciated!

    Thank you

    Yes, there should be a free BlackBerry Maps application. Did you accidentally delete it? Double check for you ensure that you are indeed missing it by pressing the search on the home screen button and simply type cards. There should be a green icon with a purple trail (this is how it appears on my Torch 9860).

    If it is stil missing, so the best way to get will out perform the following operations. Click on the link I provided in my post above. Download the OS by selecting the 9860 Torch in the menu dropdown. Once you have downloaded the file from the OS, install it on your computer.

    Then, on your computer, open Windows Explorer and navigate to C:\Program Files (x 86) \Common Files\Research In Motion\Apploader (if your computer is a 32-bit computer, you won't see the (x 86) folder - just go for the regular Program Files folder).

    Open the file named Loader.exe and connect your BlackBerry. Click Next, and then click Next again. The Application loader will now check your BlackBerry. Once this is done, you will be at a screen where you can select applications. Find the application called BlackBerry Maps, check the checkbox and continue by clicking next. This will add BlackBerry Maps on your phone.

    So now, just to be safe, I recommend first backup your phone. Although it is not necessary, it is recommended, just in case something goes wrong.

    Try and let us know if you have any problems.

  • Removed from Smartphones blackBerry Maps app on the Torch 9860

    I accidentally deleted my Maps application and is not available in the apps world can someone tell me how or where I can get it back. Appreciate the help. Thank you

    Hi chato1946

    Welcome to the Forums of the BlackBerry Support

    Which card asks, what is BlackBerry Maps? for BlackBerry Maps here are the BlackBerry Maps link.

    Let us know if it is a different application of the card.

  • BlackBerry Smartphones My Blackberry Maps does not work

    I just got a Bold 9900. The "Blackberry Maps" icon is not on my home screen and I have to search for cards to be able to see the icon. When I run it, it goes to 'Find location', but does not show the map and then an error message is displayed. "Unknown error".

    I'd appreciate it if someone could help me solve this problem.

    Do you have the BlackBerry data Plan on your Bell account?

    BlackBerry Maps will not work without it.

  • BlackBerry Curve 8330 Blackberry maps smartphone went!

    I installed system software was last updated, and now blackberry maps disappeared! I skipped download it form the site, but he sayd that USB cable download is no longer supported.  So I try the link of my phone, and it just gives me an error and does not load even the page! Help!

    I know that google maps is better - but it doesn't have a spedometer, e-mail function and coordinates lat long info.  so please do not Google maps for me.

    I need BB maps to work!

    Thank you!

    -Dan

    Calderwood apperantly doesn't know how to read before you answer

Maybe you are looking for

  • Qosmio F60 - Intel graphics driver installation error

    Hello Some time ago I managed to destroy my Nvidia 330 M graphics card.I don't know what exactly happened, perhaps overheated, I just BSOD and then my system reported ERROR 43. I reinstalled entire windows by default with toshiba drivers but without

  • 5740: does not print anything

    Monday morning, I was able to print things very well, but when I got home from classes I wouldn't let me print anything! I open HP print and doctor Scan which ended, there was nothing wrong. I went to HP Support Assistant, same thing. I was able to p

  • When I want to send email from the Explorer, it goes to outlook express and will not let me send email. How can I fix it?

    Why can't I send an email from the Explorer, it goes to outlook express and will not let me send e-mail

  • Vista backup failure 0 x 80070002 -.

    I get this error message whenever I try to do a backup (backup was previously fine workly).  I followed the instructions given in the old discussions about the regedit process - everything was as it should be, except that my first profile was 'defaul

  • 1141n multiple with RADIUS AP SSID

    I have two 1141n APs. I have the first configured as a root AP based on RADIUS (LEAP) using the I also have this thing configured using AES CCM. My clients are connecting to him with WPA2-Enterprise, obtaining 144Mbps. perfect. The question is this s