Hi albnok, Thank you for your answer, getLine1number was my starting point, I followed it up till the handleMessage function, but I couldn't go any further, I am investigating other approaches, some operators here provide a phone number which when called will answer with the mobile number, gotta do some voice recognition but let's see how it goes.
On Sat, Jun 18, 2011 at 9:32 AM, albnok <[email protected]> wrote: > Don't remember exact code but look for line1number. Certain telcos may > be mobile virtual network operators meaning you can never get the > MSISDN in which case ask them for an API to convert SIM serial number > to MSISDN. > > On Jun 18, 12:29 am, Sherif Shehab Aldin <[email protected]> > wrote: > > Hi all, > > > > I am doing a project of mine, and I wanted to get the MSISDN of the SIM > > cards, and I thought I would follow the Android code to see how It > handles > > It. I been following the code for hours till I reached this > > point: > com.android.internal.telephony.gsm.SIMRecords.handleMessage(Message > > msg) > > > > and now am stuck cause I have no clue who calls handleMessage, or as I > think > > It's an event which is fired after getting the MSISDN. but I have no clue > > where to go from here. > > > > I have asked on #android-developers and someone told me that Android > doesn't > > do It, the Vendor code implements the baseband functions, If so does > anyone > > of open source implementation of such a thing, or even have an idea how > that > > could be implemented, I just need some hints or ideas which I will > implement > > myself. > > > > Thanks all, :) > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

