Link to home
Start Free TrialLog in
Avatar of websss
websssFlag for Kenya

asked on

Windows phone Development

Hi all am trying to work on app(Windows phone ),part of it should get an IMEI number of a device,however its giving the DeviceUnique ID instead.
My requirement is that i should get the device IMEI not the DeviceUniqueId,Is there a way i should get the IMEI on windows phone devices?
Avatar of Paweł
Paweł
Flag of Switzerland image

https://msdn.microsoft.com/en-us/library/windows/apps/ff769508(v=vs.105).aspx

are you trying to unlock it for development, win 8.1 phone?
Avatar of websss

ASKER

I've developed an app with xamarin
The app is working fine

Within the app, I need to reveal the IMEI number to the user, so they can type this number into a webpage to register onto a separate system

However, I can't seem to get the IMEI number
I know you can type *06#* on the phone and call it, but it needs to be done within the app
I really don't think that's possible, because there'd be nothing preventing your application from getting this information and posting it to a database somewhere.
Avatar of websss

ASKER

That's kinda the point
It's meant for a GPS tracking app, and the unique identifier is the IMEI
:(
yes, but from what i understand if i had that number i could track your phone, and hence stalk you, so i think that's why MS doesn't allow your app to get it.

if your'e trying to track the phone, have you tried creating a background task that would periodically post it's GPS location to a service?
Avatar of websss

ASKER

No, you cant track a phone with an imei number

I have this background task pointing to a service already, but if 1000 phones are on your account you'll not know which one is yours
so i'm not following why you cant use the DeviceUnique ID like you mentioned at first?
Avatar of websss

ASKER

because the software that accepts the data requires imei as the unique identifier (15 digit number)
DeviceUniqueId is an alphanumeric string
well my friend I wish you luck, if you ever figure it out please let me know how. Sorry i couldn't be of more help.
Avatar of websss

ASKER

thanks for you help
ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial