Questions tagged [android-identifiers]

59 questions
0
votes
0 answers

Factory Reset Persistent Android_ID

No body found yet a solution to acquire an ID similar to Secure.getString(getContext().getContentResolver(),Secure.ANDROID_ID) but persists after factory reset?
Mohammad Haidar
  • 1,109
  • 1
  • 13
  • 33
0
votes
1 answer

Two different ANDROID IDs - settings_secure.aml & settings_ssaid.xml

i'm new to Adroid apps ecosystem. I built a simple app and notice there are two different ANDROID IDs (i'm runnig app in emulator) one stored in /data/system/users/0/settings_secure.xml file:
Vibhor Jain
  • 1,246
  • 9
  • 20
0
votes
1 answer

Android clone detection

I have created an app for surveys where only one user can register per android phone. I am using "Secure.ANDROID_ID" for identifying unique devices on server side. Now the problem is a lot of scammers are creating many fake accounts through fake…
0
votes
1 answer

Different Android Id in Android 10

I have used two application from playstore named "Device Id" and one self made apk to fetch android id using SECURE.ANDROIDID but every time I am getting different android id(device id) in Android 9 and 10. Though it is coming same for Android 5 and…
0
votes
2 answers

Should I use ANDROID_ID as device identification considering no factory reset?

I am developing an Android app where a single user can use the app only in one device by using the same Gmail account(for sign-in) . If the user wants to sign in the app on a different device, he won't be able to do it using the same Gmail account.…
0
votes
0 answers

Finding uses of ANDROID_ID in project

One of my apps was recently removed from Google Play because they found that I was collecting ANDROID_ID, aka the Android ID advertising identifier without a privacy policy. I was using it for something trivial, so I removed it from the code, and…
Flyview
  • 1,622
  • 1
  • 25
  • 39
0
votes
1 answer

getIdentifier() from a textView returns null

I'm trying to get different ID with for. What I have is a CardView with diferent IDs for each card and I would like to get data when clicked. I have done this: public void setToggleEvent(final GridLayout mainGrid) { for ( int i = 0; i <…
0
votes
2 answers

Get unique ANDROID_ID on flutter is it possible?

I would like to get the unique device id on android with Flutter. I've tried this plugin device_info but it doesn't return the ANDROID_ID that I get in java Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID); how can…
0
votes
1 answer

Referencing sibling layouts in Android Relative Layout (xml preview)

I'm confused about why we need the + in some sibling references but not others to make views render correctly in the android studio preview pane. (The behaviour when viewing in a running app differs, so is not in scope) From the android guide docs…
0
votes
2 answers

How do I setText of an individual instance of a fragment?

In my application, I have multiple instances of the same fragment. I want to be able to setText of a Textview within each individual fragment. However, when I try to setText of a fragment's Textview, it will change that Textview in every fragment.…
0
votes
3 answers

should every View have an id?

I was wondering of two possible ways of handling View IDs in Android: automatically assign an ID to every View you create assign IDs only when you need them I can think of some pros and cons of both approaches (more for the first option) but I…
Simon
  • 2,311
  • 3
  • 29
  • 50
0
votes
2 answers

Can I limit findViewById() to within the scope of an individual fragment?

In my application, I have multiple instances of the same fragment, Activity_Fragment, displayed in a LinearLayout. In each fragment, there is an activity_text textview and an edit_button. When the button is pressed in a fragment, it should change…
0
votes
1 answer

Android_ID alternative in Android O

With the changes in Android O, ANDROID_ID is now scoped per app signing key, as well as per user. Factory resetting the device will also generate new ANDROID_ID value. My questions is, what other alternative ID (that's more potent) does you folks…
0
votes
1 answer

Conflict between activity home button and Dialogfragment home button id's

I have an acivity with appbar and a fullsecreen dialogfragment with appbar (that dialog is called from the activity). I have set some action when the home button of the activity is pressed, and when the home button og the dialogfragment is pressed…
0
votes
1 answer

hardware_id on Branch.io for Android appears to _not_ be ADID, what is it?

On a branch.io webhook from android devices I am getting a value for hardware_id that appears to be a 64 bit number rather than a UUID format ADID as I understand they should be formatted. Documentation indicates it is Android ID…
Cadmium
  • 77
  • 7