DIGIT-ARC read-only archive · snapshot: July 23, 2026

find location string from mobile using j2me

7 posts · originally from https://geek.digit.in/community/threads/find-location-string-from-mobile-using-j2me.104111/

A
amey_dude Original post #1
Dec 11, 2008 at 10:19 AM
Hello everybody, I want to find out the location string on non gps mobile. I searched the net but only found out abt location api. But the location api is used to for only gps phones only. Please help me...
L
Dec 25, 2008 at 4:00 PM
Hi,
to get location string broadcasted by BTS, you need to open a socket and listen on a port specific to service provider.

some time it take too long time to get the string, but for sure you get the string.
I keep on listening for it but it got only once in about 15 mins interval, but while moving around it keep on getting as soon as you enter a new location.

I got it to work on symbian c++ and j2me also.
I
Feb 13, 2009 at 9:19 AM
I got it to work on symbian c++ and j2me also.

How is this possible to do lilovirus ?
Is this without using the Cell-ID information (which is the BTS Location string) which is accessible only if you have a manufacturer/operator signed certificate ? Usually my J2ME phone returns null values for Cell-ID when I access it (without using a certificate ofcourse - I don't think its possible to get one very easily either).

Curious,
inland
A
Feb 14, 2009 at 9:35 AM
hello, i didnt exactly get your idea. Can you please provide any tutorial on sample code for it ?? Also will it work without the need of cellid.
A
Feb 16, 2009 at 3:22 PM
hey any one knows what BTS Channel 50 is ??????
M
May 2, 2009 at 2:14 PM
Hi,
to get location string broadcasted by BTS, you need to open a socket and listen on a port specific to service provider.

some time it take too long time to get the string, but for sure you get the string.
I keep on listening for it but it got only once in about 15 mins interval, but while moving around it keep on getting as soon as you enter a new location.

I got it to work on symbian c++ and j2me also.

-------------------
hi can u please give the j2me snippet to read the socket to get location string using BTS....
L
May 12, 2009 at 6:00 PM
conn = (MessageConnection) Connector.open("cbs://:50");

using this I am getting the location string.

I am able to get location string in some of the handsets not on all,
as all do not support required JSR.

I am also able to get this string on symbian c++, but it require partnership with symbian/nokia.


-LiloVirus.