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="">

Tags: BlackBerry Developers

Similar Questions

  • Z10 BlackBerry Z10 STL100-1 update blackBerry than BlackBerry Maps 10.1.0.805 install failed

    Device: BlackBerry Z10
    Model: STL100-1
    Software version: 10.1.0.273
    OS version: 10.1.0.1720
    Carrier: Beeline KZ
    Country: Kazakhstan

    1. Update for BlackBerry Maps downloaded but not installed. What can be the problem?

    2. the maps are not available for the Kazakhstan now. When do you intend to run this country's support?

    Thanks to you all. In update 10.1.0.808 has solved the problem

  • Not installed on the bold 9780 blackBerry Smartphones blackberry maps

    Hello

    I have a Blackberry Bold 9780, OS 6.0.0.359, and I don't have blackberry maps on my phone. I bought it on amazon and the description says that the cards would be included.

    Can you tell me where to find blackberry maps?

    Thank you

    Try to go to: Options-> device-> application management

    See if his list here. If it is, then its possible that you don't have a data plan put in place for your Blackberry, or as in my case, some service books when out of my account with my ISP.

  • Reg; Invoking in blackberry maps

    Hello

    In my application I want to call cards, for that I have use mapview and everything is fine.but unfortunately I heard that blackberry maps is supported only in some countries...

    in my application, I want to show the County such as the India, Afghanistan etc... those who are not supported by blackberry maps...

    so please someone suggest me how can I get these countries also if I select it in of my very urgent application.it to me pls give answer me as soon as possible...

    I use jde 4.7 for my application...

    Here is the sample code snippet that works very well for me.

    Using this code, you can display unique location on the map.

    class GoogleSingleLocation_Scr extends MainScreen {
     public GoogleSingleLocation_Scr() {
     }
     protected void makeMenu(Menu menu, int instance) {
      super.makeMenu(menu, instance);
      menu.add(mInvokeGMaps);
     }
     MenuItem mInvokeGMaps = new MenuItem("Run GMaps", 0, 0) {
      public void run() {
       GMLocation location
        = new GMLocation(51.507778, -0.128056, "London");
       invokeGMaps(location);
      };
     };
     public void invokeGMaps(GMLocation l) {
      int mh = CodeModuleManager.getModuleHandle("GoogleMaps");
      if (mh == 0) {
       try {
        throw new ApplicationManagerException(
          "GoogleMaps isn't installed");
       } catch (ApplicationManagerException e) {
        System.out.println(e.getMessage());
       }
      }
      URLEncodedPostData uepd = new URLEncodedPostData(null, false);
      uepd.append("action", "LOCN");
      uepd.append("a", "@latlon:" + l.getLatitude()
       + "," + l.getLongitude());
      uepd.append("title", l.getName());
      uepd.append("description", l.getDescription());
      String[] args = { "http://gmm/x?" + uepd.toString() };
      ApplicationDescriptor ad = CodeModuleManager
        .getApplicationDescriptors(mh)[0];
      ApplicationDescriptor ad2 = new ApplicationDescriptor(ad, args);
      try {
       ApplicationManager.getApplicationManager()
         .runApplication(ad2, true);
      } catch (ApplicationManagerException e) {
       System.out.println(e.getMessage());
      }
     }
    }
    

    Suppose if you display several location on google maps, you need to prepare a KML file and make it available on the public server what google map can be accessed

    Some links to URLS that might be useful for you.

    http://code.Google.com/intl/en/APIs/maps/documentation/mapsdata/developers_guide_java.html#audience

    http://StackOverflow.com/questions/3301378/Google-maps-apidynamic-plot-multiple-locations-via-URL-sh...

  • 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

  • Terminal software BlackBerry not detected on Blackberry link

    My Z10 camera get not detected on connection to Blackberry. State list as 'connected', but by displaying the message "Please reconnect your device or reload (reload OS). Also, devices (Flash memory and memory card) don't get not initialized ad readers on the Windows XP operating system.

    After reading some of the messages of the forum of Blackberry Support, I uninstalled the adapter for BlackBerry smart phone and reinstalled the same. Later, my machine started to be detected on Blackberry link as being well since both devices (Flash and SD) are visible in My Computer Space.

    Note: Make sure that your device Z10 is connected to your PC/laptop

    (1) right click on desktop

    (2) navigate to the properties-> click on Device Manager

    (3) expand "network adapters."

    (4) right click and uninstall all associated Blackberry adapters

    (5) disconnect your BlackBerry smartphone, and then reconnect the same for PC/computer laptop (through USP of course)

    (6) it will automatically install disks required to your PC/laptop

    (7) now to check the connectivity with Blackberry link if it is connect to your device and also check the "My Copmputer" space if it's Flash and SD projection as readers

  • 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!

  • BlackBerry Smartphones Blackberry Maps on the "BOLD" Orange

    I use desktop software and recently provided device provided for Orange "BOLD" but I can't find the Blackberry maps. Anyone know how I can find and install it?

    Thank you

    Have you looked into all folders... Applications?

  • 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.

  • BlackBerry Smartphones Blackberry Maps and GPS, should I use Google Maps? Re: Google Latitude

    Question 1: I v.4.6 on my "BOLD". The maps and the GPS works fine, but I wonder if it is powered internally by Google maps. Anyone know?

    Question 2: The reason why I ask is because I want to try Google Latitude, which allows tracking of the location of a phone cell phone per person. He supposedly can show you the location of all of your friends on a map. Can I install Google Maps first or if it'll work with Blackberry Maps? If anyone has installed Google Latitude on their "BOLD" and care to share their experience? You can follow your "BOLD" of your PC if you have lost?

    Question 1: Is now the answer. I installed this software "Latitude" and got "Google Maps" and "Latitude" as a menu option. Now, I have 2 mapping software on my "BOLD" taking up memory sparc resources. So, these two could not work together.

    Question 2: To see the location of my "BOLD" of my desktop PC:

  • 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

  • BlackBerry Smartphones Blackberry maps and LBS

    I tried to get cards Blackberry works but I couldn't see an icon.  She showed as an application in advanced as BBmaps 4.7 key/applications, but I could never find the icon.  I read a post that said to reinstall so I removed it.  When I load Desktop Manager 5.0, I do not see an option to add BB maps so I dug further.  I found a document on support to Blackberry who told to remove cards from BB I need to remove LBS, so I did this.  Now when I goto application loader I don't see same LBS or Blackberry maps.  When I click on browse I find not all loader files.  I wonder how to get LBS and Blackberry Maps works.  I have Google maps but the locations on this subject are disabled by a few streets and I'm interested if BB maps is better than that.  Any help would be appreciated.

    Well, I found the answer before someone could answer.  I need to download and install the BB OS (in my case 4.7.1.77 for Bell).  Then, I was able to reinstall Blackberry Maps, which is also LBS (I Believe).  Now I have the compass icon that should have been there all along.  I hope that this thread can help someone else.

  • BlackBerry Smartphones Blackberry Maps missing

    BlackBerry Maps missing after the client device software update 5. Tried to reinstall of Blackberry Web site, it shows that the software is installed, but can't find it on the phone.

    What can I do?

    luijones wrote:

    Same happened to me. Your answer is quite pathetic. It is not good enough. Try again.

    And that's how you expect to get help? It's completely volunteer based. It is not yet the work of admins to answer the questions. In order to ensure that us obey the rules. But they are hard-working and help everyone out a lot.

    Still, you expect to get help in this way? Mr President, you should try again.

    @rislamali

    Try and re - install via Desktop Manager in the application loader. See if that gets it.

  • Images of blackBerry Smartphones Email and Blackberry Maps

    Hi, im a blackberry "BOLD" user to Singapore. Whenever I open my emails, images appear. When I tried to click on the options to get images, it still does not show.

    Second part, I can't install blackberry maps on my phone as my phone version is a later version

    I think that these two problems are related to the fact that your data plan "is a bit limited."

    If your carrier offers the BlackBerry data plan, you will need to get things to work properly. Otherwise, I am surprised that you even get e-mails.

  • BlackBerry "BOLD", Blackberry Maps and AT &amp; T smartphones

    I'm on AT & T and I have a "BOLD".  When I FINALLY found the download for blackberry maps site it would download to my phone.  D/l site maps said it was compatible with devices that are running the version 4.1 and 4.2.x and my "BOLD" version 4.6.  Blackberry Maps will be always available for my version?

    Thank you.

    P.S. I downloaded Google maps, but only uses the Weatherbug Blackberry Maps app.

    I guess the service customer call and ask would be little about as useful as asking my dogs of technical support.  I managed to get the BB maps on the phone, but AT & T has done something to hide the icon so I am unable to run BB maps as a stand-alone application.  WeatherBug and Poynt all consider two blackberry maps so I have now all features of both apps and I'll just have to use google maps for directions.  In the AT & T forums, some people have reported finding BB maps just by changing themes.  Who has not worked for me.

    I downloaded the new software for the "BOLD" here.  https://www.BlackBerry.com/downloads...E4F82F9F00E7D4

    I installed the new software taking care to check the box to install BB maps.

    BB maps icon is non-existent but the app is displayed in the list of applications and other applications are able to use BB maps.

    If anyone has any input on how to make the visible icon, please report it here.

    Thank you

Maybe you are looking for