hi all i am working on Application which is bashed on Event according to current location .when my application start i am displaying Event in my ListField according to current location. Application works fine in Simulator after sending Latitude & Longitude manually from simulator.
When i test this app in my device BB storm2 9550, device cant get current location within 3 or 4 second (during Splash screen) . but after some time it get current location successfully .
how can i get my current location as fast as iphone an Android ?
is there any way to get current lat long from device GPS system which we are getting on Refresh GPS .
please suggest me if any one have any idea.
Thanks in Adavance !!!
if you are not getting lat/long quickly then it sounds like you are trying to get the locations using the GPS radio. This would mean it will take time to connect to the satellites . this would also require sky in sight of the phone, ie it will not work indoors.
The quickest way to get lat/longs are
Use cellsite technology( Blackberry supports this in some devices using triangulation)
Use a cellid provider like google location api or opencellid to get the lat/long using the current cell id.
These doesnt drain the battery as much as using the GPS radio so if you can , try using these. Although the lat/long are not accurate as GPS radio lat/longs.
Please check the following for all the info you would ever need for blackberry GPS techniques.
Simple Location API
Location API- start to finish
At a hardware level, BlackBerry devices used to mount Qualcomm's gpsOne chipset, which, in my opinion, is slower than the ones you could find in most recent Android or Apple devices (SiRFstar or Broadcom, etc). Or maybe the BlackBerry OS didn't interface with it in an efficient manner. For whatever reason, I've experienced higher TTFFs in BlackBerry devices than in Android, for a given place. I may be wrong here, it is just an opinion.
I think newer BlacBerries are mounting other chipsets now. And also, as of September 2011, WiFi geolocation service is also available in OS 6.0 and later. Before that, the only location service in BB was A-GPS and celltower (only OS 5.0 onwards).
Some useful links:
Location APIs – Start to finish
Simple Location API
Related
When you open a webpage on a phone/tablet, and use
navigator.geolocation.getCurrentPosition()
Do we get the same results that when we use Google Play services location API?
And do we get the same results that when we use iOS native location API?
Thank you!
It is really depends to what level of information is available in both OS.
For example, if both GPS chip is working in both Android and iOS and locked to the right numbers of satellite, then you should get the same results.
However, when GPS is not available, each API uses their own way such as wifi, cell tower ID or IP address to estimate the location, then you will find some discrepancy.
Reference: http://www.geolocation.com
I have new iPod, Open maps application in my new iPod, then select location service option in left corner and loading fraction of second, then to show "Cannot determine Location".
Then i tried to reset network settings ans reset all settings also but its no helps.
Choose new Wi-Fi network also, same thing happened.
How to fix this? Please help me
Thanks in Advance
Check this answer in apple forum. Your iPod may not be having GPS capability. This is what mentioned there,
GPS signals are separate from and completely unrelated to both the Internet and the cellular telephone network. GPS signals come directly from the GPS satellites. They provide latitude and longitude information to GPS receivers. Navigation software then takes that latitude/longitude info and converts it to land mass, roads, bridges, highways, buildings, etc.
Most navigation software stores the maps right in the iPad/iPod/iPhone but a disadvantage is that the maps must be periodically updated (perhaps once every two years). The Internet is not required to use the system but it is required to update the maps.
Some navigation software gets the maps from the Internet and requires an Internet connection to function but an advantage is that the maps are always up-to-date.
The WiFi+3G/4G iPad and the iPhone both have a GPS receiver. The WiFi-only iPad and the iPod do not and these devices require an accessory.
i need to get the current location of device and for that i used the GPS mode in blackberry and i succeeded to get but the GPS work outdoor under sky not under roof so maybe is there another way or another method to get the location indoor.
i tried with this sample code :
http://supportforums.blackberry.com/t5/Java-Development/Location-APIs-Start-to-finish/ta-p/571949
and also same result cant get location indoor its return nothing
wish is there any help and thnx for answer
Read again that link. It explains how to use Geolocation API, which is available starting from OS 5.0. The locations are obtained based on Cell info (OS 5.0) and also from Wi-Fi access points (OS 6.0).
UPDATE
Read this tutorial on how to use geolocation.
How would I go about figuring the position of someone inside (or outside) of a given area (such as a building) using assisted GPS with IOS app?
Is it possible to have it accurate enough withing a few feet?
Is this the right way to go about it?
Is it possible to utilize more than one wifi connection in the calculation?
Your app can use the Core Location framework to determine the device location. Core Location will use whatever hardware is at its disposal to determine the device location to the degree that you request. For example, some devices have WiFi but no GPS; others have WiFi, GPS, and cellular radios. Future devices may have other location technologies built in.
The point is that as an application programmer, you don't worry about that. Instead, you say: "give me a location that's accurate to 100 meters" or "let me know when the device has moved from the current spot by more than 10 meters" or "give me the location with the best accuracy you can manage."
Again, take a look at Apple's Core Location documentation to get a better idea of how it all works.
If you're looking to track a device with, say, 1-meter resolution inside a building, you're not likely to get that from Core Location. There's been research on triangulating position using known locations of WiFi transceivers, but nothing that's implemented in any commercial smart phone that I know of. I don't believe that iOS gives you easy access to the data you'd need to do this, so it's probably not a possibility. You could, however, go the other way: program several WiFi receivers around the building to listen for any nearby devices, use that information to triangulate the devices' positions, and then make that information available via some web service.
I'm trying to write a simple GPS based application for my BB 8800 (with Airtel, India).
But for some reason my code getLocation(timeout) always returns with a non-valid location (only after timing out). I tried different combinations of criteria parameters with no success.
I'm pretty sure that the problem is not with my code because even the BlackBerry GPS demo application does not work. However, my GPS receiver is working fine because "Wayfinder", a maps application that came bundled with my BB, works fine.
To test it further, I tried running SpotFinder and Google Maps. But they did not work either. Google Maps could determine location using cell tower info but not GPS.
Here are some more details about my environment,
1. Phone Model: BlackBerry 8800
2. Carrier: AirTel (India)
3. Device Version: 4.2.168 (Platform 2.3.0.54)
Can my carrier block it? [I spoke with AirTel technical support but they wouldn't budge to help developers]
Thanks In Advance
Some carriers (like Verizon US) blocked GPS for third party applications. Others just enabled GPS for a white list of applications (mostly their own) but deny access to GPS for all others.
It seems your provider is doing such things.
Can your carrier block it? Absolutely, I don't know about in India, but in the U.S. some carriers can and do restrict applications from accessing the GPS if they are not "approved." That seems quite likely given the scenario you described.