How can I get IMEI number with Nokia web app for S40 ,
If No, So any alternate method to keep every device unique ?
Pleaze Help!
Regards,
SHSaqlaini
How can I get IMEI number with Nokia web app for S40 ,
If No, So any alternate method to keep every device unique ?
Pleaze Help!
Regards,
SHSaqlaini
Hi SHSaqlaini,
Unfortunately IMEI cannot be obtained in Series 40 Web Apps.
You could generate a random unique ID in device side (or ask for a unique id from a server), and store it to Web App preferences.
Then you can pass this ID along with every request, to server.
Br,
Ilkka
First thanks for reply.
Yes, It can be the solution, but what if user can reinstall the app.
Actually I am working on an app that will collect data on daily basis, I dont want user to provide data twice a day, by installing app again.
Any Other Solution ?
Regards,
SHSaqlaini
Reinstalling cannot really be detected in a Web App.
What you could try, is to make users to register to you service first, and then assign unique id for a certain user in a sever side.
Of course that doesn't prevent one user to create multiple user accounts, but at least you could limit submissions per user account.
Br,
Ilkka
What about installing a plugin which returns the IMEI?
According to the Wiki, S40 Web Apps utilize Qt WebKit, so here's a link in case you need it: http://trac.webkit.org/wiki/QtWebKitPlugins
Regular Series 40 does not allow installation of native code (browser plugins or otherwise).
Obtainining the IMEI from a Java app (MIDlet) on Series 40 is possible (com.nokia.mid.imei system property) when certain conditions are met. This is described here:
http://library.developer.nokia.com/i...B925CF670.html
However, a Series 40 Web App has no way of calling a Java MIDlet.