You Are Here:

Community: Developer Discussion Boards

#1 Old Getting the location without using a GPS - 2007-08-20, 20:19

Join Date: Mar 2004
Posts: 18
rwklink
Offline
Registered User
For a project I need to find out in what country the phone is. This is obviously possible with the N95 and 6110 but not so easy with older phones.

So, is there a way to get the location of the phone when a GPS is not available?
Reply With Quote

#2 Old Thumbs up Re: Getting the location without using a GPS - 2007-08-21, 01:05

Join Date: Mar 2003
Posts: 95
Location: Warsaw, Poland
jack44's Avatar
jack44
Offline
Regular Contributor
First of all, you don't need to use N95, E90 or 6110 Navigator to make location based applications - you can also use external bluetooth GPS device to get your position with any smartphone that has public bluetooth API (which is true when you develop in Symbian or J2ME with JSR-82).

If you need to know what country the phone currently is you don't need GPS module - you only need MCC (Mobile Country Code) and small database of codes corresponding to countries (http://en.wikipedia.org/wiki/List_of..._country_codes).
You may find many examples of doing it - you may try this one http://newlc.com/monitoring-network-and-cell-id/ to get MCC/MNC. The rest is simple ;-)


Hope you will find this answer helpful.

BR,
Jack
Reply With Quote

#3 Old Re: Getting the location without using a GPS - 2007-10-19, 14:46

Join Date: Sep 2007
Posts: 8
sou83bang
Offline
Registered User
Quote:
Originally Posted by jack44 View Post
First of all, you don't need to use N95, E90 or 6110 Navigator to make location based applications - you can also use external bluetooth GPS device to get your position with any smartphone that has public bluetooth API (which is true when you develop in Symbian or J2ME with JSR-82).
HI Jack ,
I am also work on similar project Can you clear it to me the above quoted text.
Actually I have to fetch the network information from any mobile phone.
Waiting for your reply.......

Thanks.......
Reply With Quote

#4 Old Re: Getting the location without using a GPS - 2007-10-20, 04:08

Join Date: Mar 2003
Posts: 16,928
Location: Bangkok
symbianyucca's Avatar
symbianyucca
Offline
Forum Nokia Expert
if you want to know the country that phone is in, then read it from the Cell id, if you need to know the country of origin of the subscriper, then read it from the IMSI number.

yucca
Reply With Quote

#5 Old Re: Getting the location without using a GPS - 2008-10-17, 08:40

Join Date: Sep 2008
Posts: 200
Location: Ahmedabad
Send a message via Yahoo to sunil_bhambani123
sunil_bhambani123's Avatar
sunil_bhambani123
Offline
Regular Contributor
Hi,

The way suggested also depends on the mobile device being used. Since not all device supports the system properties for getting the cellid and other information from the network.

I dont think there is any other way of getting location information without GPS in j2me

Sunil
Reply With Quote

#6 Old Re: Getting the location without using a GPS - 2008-10-17, 08:42

Join Date: Sep 2007
Posts: 873
honest_success's Avatar
honest_success
Offline
Forum Nokia Champion
If bluetooth is available then you can use Bluetooth GPS.
Reply With Quote

#7 Old Re: Getting the location without using a GPS - 2008-10-17, 08:47

Join Date: Jun 2006
Posts: 162
Location: Lahore, Pakistan
Send a message via MSN to saji_iq Send a message via Yahoo to saji_iq Send a message via Skype™ to saji_iq
saji_iq's Avatar
saji_iq
Offline
Regular Contributor
You can easily get the country information from all the symbian based device using the telephony API, telephony API will gives the Mobile Country Country Code(MCC), check out CTelephony - NotifyChange methode, it will give you what u are looking for.


Sajid Iqbal
ASD, Accredited S60 Developer
[EMAIL]saji.iq@gmail.com[/EMAIL]
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Location API (JSR 179) without GPS.. d33 Mobile Java General 21 2008-08-01 14:51
Location api jsr 179 and Bluetooth GPS prategiov Mobile Java General 21 2007-12-05 00:36
Location API, but no GPS redsmurph Mobile Java General 3 2007-01-30 21:59
Find the location of your mobile phone without GPS?? Priju Jacob Paul General Symbian C++ 2 2006-11-18 23:57
Beginning Location API; GPS real life connectivity. uttumuttu Mobile Java Tools & SDKs 6 2006-07-03 21:51

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia