You won't be able to retrieve the SIM phone number, but rather the IMSI code. This can be used to detect SIM swap.
IMEI will only identify the device. Regards, Frederic On Wed, Mar 17 2010, Geordie Millar wrote: > So if someone changes phone provider, phone number, or just swaps their > friend's SIM in, they have to re-register? > > I think the number you really want as a unique identifier is the IMEI - see > here for some sample code. > http://talk.maemo.org/showpost.php?p=371496&postcount=45 > > On 17/03/2010, at 5:51 PM, Wolf Geldmacher wrote: > >> Hi list, >> >> For an application I want to write (theft prevention) I need to know the >> current phone number of the device (or - if that is not possible - some >> other >> means to uniquely identify the SIM currently inserted). >> >> Is there a way to get this information? >> >> I've searched the docs & the website for an answer but cannot find one - >> maybe >> you can help? >> >> Regards, >> Wolf >> _______________________________________________ >> maemo-developers mailing list >> [email protected] >> https://lists.maemo.org/mailman/listinfo/maemo-developers > > _______________________________________________ > maemo-developers mailing list > [email protected] > https://lists.maemo.org/mailman/listinfo/maemo-developers _______________________________________________ maemo-developers mailing list [email protected] https://lists.maemo.org/mailman/listinfo/maemo-developers
