hasCapability - location.maps

My application makes the following call:

blackberry.system.hasCapability ('location.maps')

I thought that this could tell me if BlackBerry Maps were available on the device. In other words, if I could call it "blackberry.invoke.MapsArguments" without seeing a java.lang.RuntimeException.

However, on all devices that I tested (OS 5 and 6 OS), the hasCapability call returns false - even if I can then invoke the maps app. Is there another way to know if the maps are available before attempting to invoke?

Hi bryfox,

It seems that you have discovered a bug that we have set since.  The fix to this API will be available probably around the middle of the month of March.

Tags: BlackBerry Developers

Similar Questions

  • problem or bug with blackberry.system.hasPermission ('location.maps')

    Hey all.  Can someone help me understand why this feature (see code below) does not work as it should?

    Copy the following code returns false on my 9900... Even if the card is activated (I have the icon on my home screen) and applications like foursquare and Poynt can use / make calls to BB Maps.  I can even call BBMaps within my own app if I ignore the result of this function

    function checkIfBBMaps(){
    
        var rslt = blackberry.system.hasPermission('location.maps'); 
    
        console.error("checkIfBBMaps:  rslt is:"+ rslt);
    
        if(rslt === true){
            return true;
        } else {
            console.error("checkIfBBMaps:  WE DONT HAVE MAPS");
            return false;
        }
    
    }
    

    Thoughts?

    I'm a * beep *!

    hasPermission()! = hasCapability().

    Oh wow.

    Time for me to get more coffee, I think!

    Edit: really?  the word'd i t i 0' is censored!  Wow.

  • BlackBerry Blackberry Z10 location maps and data download

    Hello

    I bought a Z10 in India.  The Maps app shows only the Malaysia and Thailand, even if the phone was bought in India.  All the research in the cards too cause Malaysian locations. Is there a way to download the India card data and configure the application Maps to locate in my current position?  Note the Maps app shows my current position in India currenty but the whole page is empty until I have to zoom out to include the Malaysia and the Thailand which she shows in the cards.  Thanks for your help.

    Hello

    the India Government has banned the BlackBerry to have maps for the India. You can contact Airtel, they can give you access to a map application that covers the India (I forgot his name).

  • How can I change my location maps/time?

    Ho can I change my home location in maps/weather?

    I live in Wales and Windows thinks I'm in North Yorkshire!

    Moved from feedback

    Internet Explorer unspecified version

    Hi Francis,.

    Thanks for posting your query in Microsoft Community.

    To help you to propose measures to solve the problem, I would appreciate if you could answer the following questions:

    1. what version of Windows operating system is installed on your computer?

    2 did you do changes on the computer before the show?

    If you are having problems using the card and the weather app in Windows 8, you can follow these steps and check:

    To work with the issue, I suggest you to change the location and time zone.

    To change location:

    a. press the Windows key + W , click settings

    b. type area and press enter

    c. click on the location tab and change the location.

    To change the time zone:

    a. press the Windows key + W , click settings

    b. type the Date and time and press enter

    c. the Date and time tab, click change time zone and change the time zone.

    I hope this helps. If the problem persists, or if you have problems of Windows in the future, let us know and we would be happy to help you.

  • Location map problem

    I have problems with the map of the location on the elements. It appears empty and cannot locate any new photo of my photos or the tag. Have tried restarting PC running a software update and but no luck. Any thoughts? Thank you

    The PSE Organizer map was a map of Yahoo. Yahoo has discontinued its mapping service, so it does not work for everyone and there is no cure, I'm afraid. He just disappeared.

  • Microsoft Office regularly crashes when you perform a save as on a network location mapped

    Microsoft Office regularly crashes when you perform a save as to any place of the network off the internal hard drives on my laptop. The version is 14.0.6112.5000 (64-bit).

    The question seems to relate to a problem with the Windows Explorer, I find that if I first open the folder by browing through Windows Explorer crash is much less likely to occur. It is not always, but usually after the 4th or 5th attempt I can save the document. Once I made the first save as a new document, I didn't backup after problems.

    This happens only with the Office suite of products - I have no similar problems with third-party programs.

    What is happening is the Save dialog box under opens, but when I try to navigate through the program crashes. I can usually (but not 100% of the time) scroll to reach readers intgernal, but almost always crashes when you try to reach the network mapped drives unless I have already sailed on these places by car outside the word.

    It is a relatively new problem. I did a clean install of Windows 7 (x 64) on my laptop in November 2011, everything was fine until April. My thought is that a .dll file is corrupt, or there could be a problem of accidentally unplugging a smartphone or Tablet without ejecting it first.

    Suggestions are greatly appreciated, I really don't want to go through the hassle to do a clean install and then restore all my programs again.

    Thank you!

    Julie

    I think that the first thing would be to try a repair.
    Start > Control Panel > programs and features > click on your Office installation > click Change > repair

    I hope this helps.

  • Credentials file system location map

    Hello everyone,

    Could you please tell me where the credential UCM 11 g cards? in the files or database system.
    If it is the file system, please let me know the location of the identification card.
    What is the standard way to migrate an instance ID identification information another instance (CMU has no opportunity to make a lot of identification card).

    Thanks in advance

    Hello

    Go to /ucm/cs/data/users/connections and here the following file is present:

    ConnectionsSecurityData.hda

    This keeps all the details for information of identification cards.

    It would be easier to put this file to the location of the target server and he use it.

    Hoe this helps.

    Thank you
    Srinath

  • error message when the location of my pictures (Google maps)

    Excuse my bad English, I'm french! When I try to inform them of the location of my pictures in IPhoto, using Google Maps in the Info window, I get this message: "Oops!" something was wrong. This page has not properly loaded Google maps. See the JavaScript console for more technical details"

    What can I do with Java script?

    Thank you for your response.

    Contract of Apple with Google to use Google maps with locations of the pictures in the iPhoto library has been cancelled a few months previously.  That's why iPhoto 9.4.3 and earlier can no longer access the Google map servers and get this error message.

    If you use iPhoto 9.4.3 or earlier you can stop the fracas in the following manner, but will lose the mapping functionality in the library.

    iPhoto 9.4.3 and earlier began planting for many users suddenly a few weeks ago. This is because the contract between Apple and Google for the use of Google maps with iPhoto 9.4.3 and earlier sites expired an elderly couple of months and was not renewed. This is the case of him freezes or crashes.

    Now uses Apple its own program for locations maps and too the use you need to run iPhoto 9.5.1 and Mavericks or 9.6.1 and Yosemite El Capitan or Photos and El Capitan.

    Try Huxly647Solution:

    Huxly647 , November 20, 2015 12:05 AM
    Re: iPhoto crashes after opening several times in reply to carvermon

    I found a solution that works for me.

    1 goto /Applications/iPhoto.app/Contents/Resources (control (right) - click the iPhoto application and select the content in the context menu - OT.)

    2 delete the files 'googlemap.html' and googlesearch.html

    iPhoto no longer crashes, site does not work, but it doesn't bother me too much.

    Let me know if it works for you guys...

    Deletes two files "googlemap.html" and the googlesearch.html of iPhoto application bundle prevents the JavaScript running inside and causing the accident.  Log of course do the same thing. So it's pretty clear that something happened at the end of Google.

    There is a notch posted by user cotton-x that will let iPhoto 9 and earlier still use Google Maps for the purpose of the location.

    cotton-x

    16 December 2015 14:49

    Re: iPhoto 11 - problems with Photo locations

    in response to Paul Fisher

    YES!

    I did just the job.

    I'm on a macbook running white 10.7.5 with iPhoto 9.4.3

    Thanks to Paul, I got an idea. What happens if we had simply ignored Apple has expired API and used our own, private and free from Google. Turns out it works.

    Here's what you need to do:

    0 - quit iPhoto

    1. create a google account or use your own

    Console developers of Google 2 - access HERE

    3. create a project (any name)

    4 - turn on a Google Maps Javascript API

    5 - generate your own API key

    6 - go to the folder /Applications/iPhoto.app/Contents/Resources/googleMap.html

    7. change the googleMap.html (I used an application called TextWrangler)

    8 change the src ="http://maps.googleapis.com/maps/api/js?v=3 & client = gme-appleinc & sensor = false" > to this src = 'https://maps.googleapis.com/maps/api/js?key=YOUR_KEY_HERE& signed_in = true & sensor = false ">"

    9 - save your freshly edited googleMap.html

    10 - open iPhoto and enjoy.

    Take the Apple.

    Don't forget to make a backup copy of the iPhoto application before performing this procedure.

  • MAPPED location - several errors!

    MAPPED location - several errors!
    any guidance would be appreciated, I am not advanced a user so be gentle!
    I get random errors that are falling in the end a connection mapped to an xp machine
    The shared location is sitting on a windows7 machine, machines work in a working group
    my machine (xp) is struggling to stay connected to the shared location. I recently did a completely fresh installation and new hard drive on my machine because of the virus
    I get five variables errors when connecting to the location mapped, especially connects very well in the morning and then disconnects randomly throughout the day:
     
    1. it has not enough server storage to process this command
    2 - the specified server cannot perform the requested operation
    3 - the local device name is already in use, the connection has not been restored
    4 - mapped location will open and then close immediately
    5. map opens and then will cause an error message 1 or 2 when trying to access a folder
     
    So basically something happens which either boots my machine off the coast of the connection or something is not quite right...
     
    I tried:
    -Check the time on my machine and the machine to connect to
    -have you tried increasing the IRPStackSize on the machine, I connect to
    -made sure NetBios is enabled on all the

    I can't seem to solve this problem, and it's now my head!
    any help is appreciated...

    Post in the TechNet Forums.

  • Add several location google map

    How can I add a Google map with more than one location map. I have 2 sites biz, but I don't see a way to have multiple sites on the same card biz. Can I have more than one address? How can I do?

    Hi David,

    There is no output from the solution of the box for this in Muse. I'll leave this discussion open to other members to meet with the solution they have, if any.

    Kind regards

    Aish

  • After clearing in recent places in maps, it fills again with three automatic places.

    After erasing recent maps locations, when I go to the directions on the three locations map reload automatically.

    Can not stop the repopulation iPhone & iPad the same effects

    These are your saved directions.

    Launch of cards > top of the page on the direction > select one of the saved items > Clear top.

  • Map to China (Shanghai region)

    Just bought and taken W450 return from the United States to China.

    Where can I find the file MSO/EMBD for China?

    Thank you!

    PS - Cards/OpenStreetMap OSM for China/Shanghai exist and are in fact with good street level detail.

    Thank you.

    I found the link and downloaded the mapping files.

    It works instantly, after showing execution of sessions with information documents.

    Run through the streets of the city / this morning and found the GPS location + map display super accurate.

    Everything works very well.

  • Cannot find location

    Hi all my apps of baseed location (maps, gmaps.photowhril) can't find my location

    This happens on the surface rt, my laptop and desktop pc running w8

    I tried refreshing my surface, but still does not work

    a few ideas:

    -your IP address is not recognized as a location, so it does not work for one of your devices.

    -you do not have somehow allowed for location services to work whenever requested in the first launches of the app.

    If this does not work on any device, it seems very independent devices. I would exclude a problem with your surface....

  • Embedded google maps but when done the view does not disappear

    I do an app for android and I imported a location maps of google in the app, but the problem is that when I press the back button it takes back me to my home page as it should, but it does not remove the embedded google maps. Please could someone give me the action script code or some sort of method so that after using google maps I can turn back without it staying there. Thanks in advance for any help is very appreciated .

    I used the action script is:

    import flash.media.StageWebView;

    button_back_maphome.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_maphome);

    function fl_ClickToGoToAndStopAtFrame_maphome(event:MouseEvent):void

    {

    webView.dispose ();

    gotoAndStop (1);

    }

    var webView:StageWebView = new StageWebView();

    webView.viewPort = new Rectangle (0, 300, this.stage.stageWidth, this.stage.stageHeight - 300);

    webView.stage = this.stage;

    webView.loadURL ("I inserted my google maps here tag");

    Try:

    webView.stage = null;
    webView.viewPort = null;
    webView.dispose();
    
  • MAP OF OUTLINE FOR LOGO

    Someone please help!
    I need contour Tanzanian card in the letter 'o'!

    Inside the letter O should be Tanzanian the Board outline and surround the O so.

    Can someone help me please? Date deadline is today

    Skype or anything you please.

    Tolga,

    You can download something like the free vector simple plan right here,

    Vector Maps of Tanzania | Free vector maps

    then:

    (1) file > location map; Select it and look at the layers palette to see if there is a clipping mask or something and delete it if he doesn't so you have only a set of paths or a group of paths or a compound path;

    (2) create a form of stroke, cerebral/nofill O of a suitable size and shape and the upper position of the map and go all the way around the map: unless you need a specific letter form a specific font, you can just create a vascular accident brain/nofill suitable Ellipse with the Ellipse tool. or you can create the O, then describe (Ctrl / Cmd + Shift + O) and he ungroup (Ctrl / Cmd + SHIFT + G) object > compound path > Release, then uncheck the box and click on the center of the O shape with the selection tool and remove it. This will remove the internal path (change of filling a stroke);

    (3) Ctrl / Cmd + X + B to put the O shape on the back and move (return) stroke to fill in the color of the surrounding part of the O shape;

    (4) select the card and the form of O and Pathfinder > less before.

    Please indicate what problem you have at each step, if necessary. And you can download images/screenshots by using the Insert picture above when you create the message (camera icon).

Maybe you are looking for

  • Call Skype is always stuck on computer

    Hello I have a problem with Skype call. Every time when I want to call someone, or someone want to call me after 2-3 seconds the Skype crashes. I have problem with the convocation. Here is the log of the error events: https://www.dropbox.com/s/497vz7

  • Equium A100-063: I need Windows XP drivers for it!

    I'm Italian so excuse me for my English, please!I have a Toshiba Equium A100-063 with windows Vista installed. I have my backup partition then format and install Windows XP pro sp2. On the main site and the support site, it is not called as my Toshib

  • Satellite L40 - 14 H stops

    When I hold down any key on my satellite L40 - 14 H for a few seconds, that he died, as if you remove the battery. No work record or anything :(even, it goes off even at startup or in BIOS mode...someone knows what's the problem?

  • I get this error when you try to update my windows: 0x8DDD0018. What has gone wrong?

    I go to microsoft update and it says could not be updated. and gives me the error: 0x8DDD0018.

  • Error code: 0x8007FOF4 (could not install KB2481109)

    Original title: used to download KB2481109 Hi, I'm not able to install the update to windows KB2481109.    The error message is OX8007FOF4 Can you please tell me how to fix this? Thank you Becky Weinstein