determining phone location---recieving broadcast messages

I m trying to develop the code for determining the current location of the phone user on smartphone 2003 SE. I m doing native code development--win32 apis. As it should be i want to know the current location (like country city locality) of the user. And i guess broadcast messages is wat I need to determine that.
But i m having a hard time finding a way to recieve these messages. I hv googled enough in vain already. Any thread or clue wud b highly appreciated in this direction. A sample code wud be simply fantastic.

Thanx
Vishal



Answer this question

determining phone location---recieving broadcast messages

  • Xenomorph.NET

    While searching for broadcasing messages, I found this article to customize home screen. I also found something related to the broadcast messages. It shows some plugin and a xml which has somethin to do with broadcast msgs. I hav no clue how it is doing what it is doing. Can anybody give me a clue about how its being done.

    This is the link to the article :
    http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/sp02homescreen.asp

  • Sri12345

    Thanx Ilya for the reply. But I m not sure how can ur reply possibly help anybody facing this problem. Well I have seen home screen of phones showing the area information as per the tower from which the phone is subscribing for signal. And I m sure there must be API calls pertaining to the broadcast CBS messages--how to recieve them and then how to decode them and things like that. Thats what I m looking for.
    Any sort of help in this direction wud be highly appreciated.


  • Bill44077

    Hi Vishal,
    You can use the SIM Manager APIs to get the current location. All these inforamation can be read from the records in the SIM using the GetRecordInfo() API


  • Chris James

    Thanx for the advice Ilya. I wud certainly keep that in mind n elevate this issue. Well i think RIL API is going to do some trick here. Any link or thread in that respect wud be highly appreciated.

    I dont know whether I am rite in following the RIL thread. Some advice wud be highly appreciated.

    Thanx


  • AmitDesai

    Thanx Saravanan for ur reply. Well I googled about this and found out that this information is stored in a temporary and cryptic manner in the SIM. I guess it stores some code which is to be deciphered by the device itself. Still I dont have much of a clue which file is it going to be. Moreover there are going to be access rights too to access such information. Can you throw some more light on how to proceed in this direction.


  • LLLLL

    Location services are carrier specific and probably confidential, so you won't get your answers here. Please contact your carrier, sign NDA if required and get this information from carrier.



  • Carroll Barrett

    Again, you're quite unlikely to get any information like this without carrier's help, but if you do please consider contacting your legal department or hiring an attorney to figure out potential legal consequences of using leaked proprietary information in your application.

    You might find it helpful if carrier will take legal actions against you for using proprietary confidential information without permission.



  • determining phone location---recieving broadcast messages