Saturday, March 31, 2012

sometime you have multiple SIM cards and you don't know which one Number you are using.Then you may be want to "Get Own Mobile Number" ?
How I am going to write a small android application which will solve our puzzle.

So here we go.. we need to create a Basic Android App having an Activity like thisGetMyPhoneNoActivity.java

Note: As i have read, so far some people have conflict about different behavior of output.there are reports that some SIMs cause this method to return null.

Because --? I think there are cases where the phone does not know its own number - it somehow depends on the network provider / SIM card.

So, There is no guaranteed solution to this problem because the phone number is not physically stored on all SIM-cards, or broadcasted from the network to the phone. This is especially true in some countries which requires physical address verification, with number assignment only happening afterwards. Phone number assignment happens on the network - and can be changed without changing the SIM card or device (e.g. this is how porting is supported).

About Me

Typical "Desi Jatt", Presently Helping Recoh Innovation for Research and Development in their iPhone & Android Apps.
In Personal life, I Write lyrics, compose and Sing while playing My Guitar, Harmonica, Piano, Keyboard, Harmonium..I do enjoy every moment of my life, Here for sharing knowledge what I learn every day..Cheers!!