02-22-2011 07:26 PM
My app makes the following call:
blackberry.system.hasCapability('location.maps')
I assumed that this would tell me if BlackBerry Maps were available on the device. In other words, if I could call `blackberry.invoke.MapsArguments` without seeing a java.lang.RuntimeException.
However, on every device I've tested (OS 5 and OS 6), the hasCapability call returns false -- even if I can then invoke the maps app. Is there another way to tell if maps are available before trying to invoke them?
Solved! Go to Solution.
02-23-2011 04:59 PM
Hi bryfox,
It appears you have uncovered a bug that we have since fixed. The fix to this API will be available likely around the middle of March sometime.
02-23-2011 05:21 PM
Thanks Tim.
I assume users will have this fix when they upgrade their OS (but not until then)?
02-23-2011 05:32 PM
02-24-2011 09:36 AM
We are actually in the process of extracting all the APIs off of the Operating System and bringing them into the open source project. This will make it so that we have very little ties to the OS. As a result, we really shouldn't have to wait for any OS updates for fixes in our APIs.
Of course, there may be the case where an underlying bug on the OS is blocking us from fixing an issue, but we want to minimize this risk as much as possible.
Some more details on our "Evacuation"
https://github.com/blackberry/WebWorks/wiki/Curren
02-24-2011 05:03 PM
That's really exciting news... thanks for the link.