×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    Registered User
    Join Date
    Apr 2009
    Location
    İstanbul
    Posts
    19

    How to retrieve a unique ID from WP using default mobile Internet Explorer?

    We manage a mobile web site to collect sold Nokia phones' info for a loyalty programme. Symbian phones are helping a lot, thanks to the flash-lite commands, it was easy for us to retrieve the IMEI of the phone via mobile browsers. But as far as I can see, it's not possible in MSIE of WP7.
    .
    Is there any other command from server-side to retrieve a unique ID, that we can get from MSIE in WP7, like WLAN ID, Windows Live ID, Bluetooth ID, Public Id, etc...
    .
    A unique Id is very important for us to distinguish the devices in the market for the loyalty programme.
    .
    I asked that question in Microsoft support pages but my thread had been closed.
    .
    Looking forward for your replies,

  2. #2
    Nokia Developer Champion
    Join Date
    May 2012
    Location
    UK
    Posts
    13

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    There is no unique device Id available via the browser.
    The only way to get a unique device id is via the SDK which obviously requires running in an app.
    It therefore appears that your service won't be able to work with devices (whether from NOkia or not) running the Windows Phone OS.

  3. #3
    Nokia Developer Champion
    Join Date
    Aug 2008
    Location
    Vadodara, India.
    Posts
    910

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    well sorry but AFAIK, you can not get IMEI number from browser nor a unique id that can help to count sold nokia lumia phones.

    But you can get to know whether the device is Windows phone or something else by using "user-agent" in html or .net, etc..

    in case, if you want more details,
    http://www.zytrax.com/tech/web/mobile_ids.html (search "Windows Phone 7" in browser)
    Last edited by chintandave_er; 2012-05-31 at 11:27.
    Nokia Developer Wiki Moderation team
    World's Greatest Speeches for Windows Phone is now available on WP Marketplace.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    927

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Not possible and I'm surprised that its possible in other platforms. The IMEI is something that should not be easily accessible by a browser. I think its considered private information.

    There is not even a way, as far as I know, to get the IMEI using the windows phone SDK. What you get is the Device Unique ID that I dont think its the nsame as the IMEI.

    Take a look here:

    http://msdn.microsoft.com/en-us/libr...=vs.92%29.aspx

    The only way to accomplish what you are looking for is to create an Windows Phone app that uses the phone API to get the device unique ID that you need and send it to a service. That app would have to be published on the marketplace and you would have to convince the users to install it and register the phone.

  5. #5
    Nokia Developer Champion
    Join Date
    Aug 2008
    Location
    Vadodara, India.
    Posts
    910

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Quote Originally Posted by joaocardoso View Post
    Not possible and I'm surprised that its possible in other platforms.
    I think Its not possible via browser in most of other platform also like in Android.

    Quote Originally Posted by joaocardoso View Post
    There is not even a way, as far as I know, to get the IMEI using the windows phone SDK. What you get is the Device Unique ID that I dont think its the nsame as the IMEI.
    right. you can find alternative way here. (sort of)
    http://forums.create.msdn.com/forums...27/548755.aspx
    Nokia Developer Wiki Moderation team
    World's Greatest Speeches for Windows Phone is now available on WP Marketplace.

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    927

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Quote Originally Posted by chintandave_er View Post
    right. you can find alternative way here. (sort of)
    http://forums.create.msdn.com/forums...27/548755.aspx
    I dont think thats the IMEI you get. Its the ANID that is linked to your live id not to the phone unique id. o if you have 2 phones with the same Live ID you would get the same value when trying to retrieve the ANID property.

  7. #7
    Nokia Developer Champion
    Join Date
    Aug 2008
    Location
    Vadodara, India.
    Posts
    910

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Well I said the same but you misunderstood. You can also see that in given link by me.

    You can't see my word there "right" below your word.
    Nokia Developer Wiki Moderation team
    World's Greatest Speeches for Windows Phone is now available on WP Marketplace.

  8. #8
    Registered User
    Join Date
    Apr 2009
    Location
    İstanbul
    Posts
    19

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Thank you for your messages, I was right, there is no way to access any kind of unique Id of WP.
    .
    Well, we found a solution to S40 devices, it seems like we'll use the same for WP. What we will do is;
    - we will leave cookie showing the date-time value in micro-second format,
    - then we will check that cookie in every refresh of the page. If there is one cookie, than we can be sure that the phone logged in before.
    .
    That could be the only solution...

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    927

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Quote Originally Posted by tsgulen View Post
    Thank you for your messages, I was right, there is no way to access any kind of unique Id of WP.
    .
    Well, we found a solution to S40 devices, it seems like we'll use the same for WP. What we will do is;
    - we will leave cookie showing the date-time value in micro-second format,
    - then we will check that cookie in every refresh of the page. If there is one cookie, than we can be sure that the phone logged in before.
    .
    That could be the only solution...
    And if the user clears the browser cache?

  10. #10
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    927

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Quote Originally Posted by chintandave_er View Post
    Well I said the same but you misunderstood. You can also see that in given link by me.

    You can't see my word there "right" below your word.
    yeap sorry about that

  11. #11
    Nokia Developer Champion
    Join Date
    Aug 2008
    Location
    Vadodara, India.
    Posts
    910

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Quote Originally Posted by joaocardoso View Post
    yeap sorry about that
    No problem.

    Cheers.
    Nokia Developer Wiki Moderation team
    World's Greatest Speeches for Windows Phone is now available on WP Marketplace.

  12. #12
    Registered User
    Join Date
    Apr 2009
    Location
    İstanbul
    Posts
    19

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Quote Originally Posted by joaocardoso View Post
    And if the user clears the browser cache?
    Unfortunately, under these circumstances there is no any other solution... :/
    .
    Or do you have any hint?

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2011
    Location
    Portugal
    Posts
    927

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Quote Originally Posted by tsgulen View Post
    Unfortunately, under these circumstances there is no any other solution... :/
    .
    Or do you have any hint?
    Have you dismissed the possibility of building an app completely?

  14. #14
    Registered User
    Join Date
    Apr 2009
    Location
    İstanbul
    Posts
    19

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    These are the brand new phones and will be given to the customers, so there shouldn't be any remains of unofficial app. We should solve it via browser... :/

  15. #15
    Regular Contributor
    Join Date
    Jan 2009
    Location
    India
    Posts
    138

    Re: How to retrieve a unique ID from WP using default mobile Internet Explorer?

    Hi,

    you can use the application unique id for your requirement, application unique id/ ProductID is available in Manifest (WMAppManifest.xml) file, it's allows you to access ProductID/unique id at run time in your current application here is an article for the same.

    How to access Application Manifest (WMAppManifest.xml) file in runtime

    http://windows-mobile-dev.blogspot.i...-manifest.html

    Hope it helps.
    Pavan Pareta
    Sr. Software Engineer
    http://windows-mobile-dev.blogspot.com

Similar Threads

  1. Internet Explorer
    By melanie01 in forum Web TV (closed)
    Replies: 1
    Last Post: 2011-09-19, 19:23
  2. How do I retrieve the any unique ID - number from Java ME.
    By arrowandmoon in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2010-04-14, 11:37
  3. Retrieve Unique SIM ID / ICCID
    By imraniqbal in forum Mobile Java General
    Replies: 7
    Last Post: 2009-01-15, 22:40
  4. How to view 3gp card in internet explorer?
    By anthonypeter in forum Streaming and Video
    Replies: 4
    Last Post: 2005-04-13, 14:22
  5. Watching a 3gp card in internet explorer
    By anthonypeter in forum Streaming and Video
    Replies: 0
    Last Post: 2005-04-11, 11:52

Posting Permissions

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