get current location on blackberry without gps - blackberry

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.

Related

Is mobile browser geolocation as good as native?

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

Get Latitude and Longitude from Cellular network in IOS

I am looking to get my Latitude and Longitude from my IOS device when my gps is not on or simply when in the setting the user makes the Location to NEVER.
In android I have done this. Since I am new to IOS development is there any way to find out the latitude and longitude .
Please ask for edit or do it if I have framed the question in a wrong way. Hope I have clearly mentioned the issue.
Any help into this is appreciated.
iOS only has the CLLocationManager available for get the devices location. The CLLocationManager uses all possible method to get the location of the deice.
It uses cellular triangulation and only later after it get a GPS fix will it pass these locations to your app.
There is no way to ask CLLocationManager to only use cellular triangulation. You might only get the location based on cellular triangulation and WiFi if you set the desiredAccuracy higher.
So you will always need to use the CLLocationManager which requires the users permission.
There is no other way to get the users location in iOS.
If the user does not give the app permission for location, you will not be able to get it from GPS or cellular.
You might be able to get an rough approximation based upon the IP address, but that will be far from precise.

Why BlackBerry GPS is slow compared to other technologies (iPhone & Android)

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

How to get the location using GSM (Cellular Network) in blackberry

I am working on a project in blackberry where i don't have GPS and i want to get the location in which i am there from time to time. I found that it is possible using a third member like opencellid.org. But i don't want to depend on other person. Is it possible to get the location coordinates in this way? Thank you
Please try the following links which gives very useful information about locations services in blackberry
Location-Based Services
Location APIs – Start to finish
Google provides location apis which you can use to find out the lat/longs. Its very easy. All you do is create a json request with your current cellid , and send the request to google. You get the lat/long from the google response.

How to get the location coordinates at which we are present using program

I am working on a project which get the current location coordinates and sends them to a server where server gets the street address with the coordinates sent by Blackberry mobile. And this project is to be done on 8520 blackberry mobile without using GPS. Is it possible to get the location without using GPS and without depending on third party members? Please help me with a code if it is possible. Thank you
Please try the following links which gives very useful information about locations services in blackberry
Location-Based Services
Location APIs – Start to finish
Google provides location apis which you can use to find out the lat/longs. Its very easy. All you do is create a json request with your current cellid , and send the request to google. You get the lat/long from the google response.

Resources