Hi,
I need to have a unique address or id from my device and save that in the database.
That can be Buildnumber or IMEI or Mac address or anything that is unique for the related device.
It's important that be unique and not fake.
I know that I cannot read the IMEI and Mac addresses.
What is your suggestion?
This question (finding a unique Android device identifier) has been asked many times before. Thre are many suggestions - find them in "Search" - but none of them are perfect.
This question (finding a unique Android device identifier) has been asked many times before. Thre are many suggestions - find them in "Search" - but none of them are perfect.
This is an old tutorial. It will not work on new versions of Android. You should either generate a random value when the app starts for the first time or use the advertising id: https://www.b4x.com/android/forum/threads/advertising-id.101050/#content This tutorial is based on the following blog...
This is an old tutorial. It will not work on new versions of Android. You should either generate a random value when the app starts for the first time or use the advertising id: https://www.b4x.com/android/forum/threads/advertising-id.101050/#content This tutorial is based on the following blog...
It changes and that is bad for me.
Because in my project, the activation is done with tablet in client home and client haven't to enter device id or the device id shouldn't changes
Yes, but as this thread explains, neither android_id or MAC address can be relied upon for all devices. That is what I meant when I said there does not seem to be a perfect answer. I think someone somewhere said that the only reliable option was to set up a user registration and password database, but obviously that is a lot of extra work.
Yes, but as this thread explains, neither android_id or MAC address can be relied upon for all devices. That is what I meant when I said there does not seem to be a perfect answer. I think someone somewhere said that the only reliable option was to set up a user registration and password database, but obviously that is a lot of extra work.