×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    How I get my own mobile number?

    I am student of final year M.TECH. I am doing my research on Location Management. so I want to know how can I get my own mobile number from my mobile phone programmatically in J2ME? Can anyone help me?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: How I get my own mobile number?

    you could search this forum for discussions fetching the MSISDN, basically you can not really get it.

  3. #3
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: How I get my own mobile number?

    Hi all,
    Is it possible to get my own mobile number programmatically in J2ME?

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: How I get my own mobile number?

    Quote Originally Posted by lovely_chatterjee View Post
    Hi all,
    Is it possible to get my own mobile number programmatically in J2ME?
    Direct answer is no, you cannot get the MSISDN, if you ask why then the answer is because the phone itself does not store it anywhere, there is no J2ME API for you to get it..AFAIK there is no API in Symbain too.

    In some cases when it is stored inside the SIM ,however I suspect if any operators do that, I don't think there's a Java API to get it from right there.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: How I get my own mobile number?

    Hi raj_J2ME,
    Thanks for your reply.

    There is another problem I faced that I have to write codes to get position/location of any mobile phone. I wrote it and ran in WTK2.5.2. It is running also. But the problem is that it returnes the location as (0.0,0.0).
    Is it correct ? If not what do I do? If yes what is the reason? Please tell me.

  6. #6
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How I get my own mobile number?

    well depends on how you are trying to establish the position ?
    Btw you simply cannot establish the position of any phone, some can through the Location API (JSR-179) but this means that that specific phone will need a (integrated or external) GPS receiver... Another option would be to try to retrieve the cellid (has bee ndiscussed many many times so check the forum and/or wiki) and then use that in combinationwith an external database to actually retrieve a location according to the retrieved cellid...
    btw if I look at your post (0.0,0.0) I guess you are trying to retrieve the gps position, your emulator obviously does not have a GPS receiver so it might return a default value (thus 0.0,0.0)
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,085

    Re: How I get my own mobile number?

    Quote Originally Posted by lovely_chatterjee View Post
    There is another problem I faced that I have to write codes to get position/location of any mobile phone. I wrote it and ran in WTK2.5.2. It is running also. But the problem is that it returnes the location as (0.0,0.0).
    Is it correct ? If not what do I do? If yes what is the reason? Please tell me.
    For testing GPS app on your emulator - just try to pass the GPS location by using External Event Generator - of the default Emulator. Set the Lat / Log in the external event generator and see if you get them on your application running on the device. You can also provide a time based script to keep on changing the location of emulator and enables you to test location change and proximity listener.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  8. #8
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: How I get my own mobile number?

    Hello im2amit,
    yes it is running for simulator.

  9. #9
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: How I get my own mobile number?

    Hi all,
    How do I get the name of actual area from service provider from mobile device's latitude and longitude?

  10. #10
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How I get my own mobile number?

    you cannot provide a longitue and latitude to a service provider (like vodafone/t-mobile) and receive the actual area...
    what you can do though is use reverse geo-coding (google that!) to get an adress from a latitude/longitude coordinate... Several free web-services are available for that...
    the only thing a provider can supply is a cell-id, after that it's up to you to couple that cell-id with a location/area, by using an online database containing both (thus the cell-id's and where they are situated, thus their area)...
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  11. #11
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: How I get my own mobile number?

    Hi,
    What type of web services you told about? Can you tell it a little elaborately plz..?

  12. #12
    Super Contributor
    Join Date
    Apr 2007
    Posts
    2,708

    Re: How I get my own mobile number?

    well exactly what I typed : there are several free web services (and/or companies) who offer a geocoding (and reverse geocoding) service...
    If you are wondering what web-services are, or what reverse geocoding is or which companies actually offer those via web for free I'd refer you to google... It's a good idea that you first have a good understanding of what those technologies are beofre you even start using them...
    Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them.

  13. #13
    Registered User
    Join Date
    Aug 2010
    Posts
    111

    Re: How I get my own mobile number?

    Hi,
    Is there any table or database where service provider keeps track of the address with the location i.e. latitude and longitude?

  14. #14
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: How I get my own mobile number?

    Quote Originally Posted by lovely_chatterjee View Post
    Hi,
    Is there any table or database where service provider keeps track of the address with the location i.e. latitude and longitude?
    propably not, anyway, just search google for reverse geocoding service providers, and you can get the funcitonality handled by the services you can find.

  15. #15
    Registered User
    Join Date
    Jun 2010
    Posts
    43

    Re: How I get my own mobile number?

    i m also hunting for getting own number in symbian but no success. most of ppl say its not possible but i have an mobile application installed on My N72 for phone tracking it detects sim change and send own number to two Pri declared phone numbers. that means its possible to find out current number. but how I dont know.

Similar Threads

  1. How to retrieve the mobile number or home number or work number
    By Rameshwari in forum Mobile Java General
    Replies: 1
    Last Post: 2006-08-19, 00:17
  2. How to distinguish a mobile phone number from a wire-network number?
    By palatoss in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-02-01, 09:00
  3. Replies: 1
    Last Post: 2004-12-10, 09:32
  4. Replies: 2
    Last Post: 2004-03-18, 03:17
  5. Nokia Mobile Application - Block Mobile Number
    By DhavalParikh in forum Mobile Java General
    Replies: 3
    Last Post: 2003-06-12, 02:22

Posting Permissions

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