12-02-2008 12:57 AM
I want show the callers location on call recive through GPS.
I know we have to create a PhoneListner.
1. We have to create a background service which is resposible for phone call listener.
2. When ever we recieve a call then we should pop up a screen with MapView.
but i m confused that how we can locate a user`s location.
what information we recived from server with a call so we can locate user by that.
How it is possible.
Note : IF YOU HAVE ANY EXAMPLE CODE FOR THIS THEN PLEASE SEND ME ON firstname.lastname@example.org or ping me on yahoo : ai_znaqvi (10 - 7 PM) IST
12-04-2008 09:49 AM
I recommend you have a look at the GPS and BlackBerry Maps Development Guide found at the link below. You can also refer to the gpsdemo included with the BlackBerry JDE for an example on using the GPS APIs (JSR 179).
GPS and BlackBerry Maps Development Guide
12-04-2008 09:57 AM
It sounds like his question has more to do with "What info is available about a phone call?" that
using the location info or does that document address this too?
Offhand, it sounds like another reason to get a voip service
12-05-2008 12:16 AM
Not get the point.
i tried to run GPSDemo example but its not running.
i wanna show http://wikimapia.org/5484667/Mujahid-Naqvi-Home location on blackberry screen. and just like this i wanna show caller ( who make call to me ) location.
anothter thing is that.
when ever we recive a call then what info`s we can get of caller.
Bottom line is want to create a project by that we can show the location of caller ( Who make call to us ).
How it is possible..........
12-05-2008 07:44 AM
Anything havng to do with a carrier handled voice service would probably be rather carrier specific,
but feel free to correct me if anyone knows differently as I have not looked much as voice.
Obviously, for a mobile originated call the originating carrier knows the handling tower's location
and for a fixed call you'd like to think a service address was available from/to the originating telco.
However, even if there was an API, there are a bunch of issues with caller ID information. Presumably
if you had the same VOIP client on both ends you could end up with a better product. If this isn't
an option, and you have to work with the carriers, it could be a bit of an issue. Curious to know what
you find out about API and the reality of any information provided.
AFAIK, all the BB support is in the phone package ( class Phone and PhoneCall for example).
12-05-2008 05:20 PM
The reference to GPS is misplaced. GPS will tell you *your* own location - not your callers location.
If you already have the caller location in the address book - use that to display it on the map.
Otherwise, use callerid and look up a database and/or web service to find the proximate zip/pincode or lat/long associated with that phone number and display that on the map.