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?
![](../../users/profiles/5584745.webp)
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:
![](../../users/profiles/4736890.webp)
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…
![](../../users/profiles/11225340.webp)
Salahuddin
- 46
- 4
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…
![](../../users/profiles/13839005.webp)
Akshat Saxena
- 11
- 3
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.…
![](../../users/profiles/7944002.webp)
Bhaskar Jyoti Dutta
- 1,118
- 1
- 7
- 19
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…
![](../../users/profiles/1736277.webp)
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 <…
![](../../users/profiles/8024893.webp)
Marco
- 29
- 10
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…
![](../../users/profiles/8020147.webp)
Polivicio
- 41
- 1
- 9
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…
![](../../users/profiles/3014299.webp)
OliverDeLange
- 553
- 3
- 16
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.…
![](../../users/profiles/8297059.webp)
Ewen Crawford
- 47
- 2
- 8
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…
![](../../users/profiles/2999762.webp)
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…
![](../../users/profiles/8297059.webp)
Ewen Crawford
- 47
- 2
- 8
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…
![](../../users/profiles/1556559.webp)
Chief.Rabbids
- 21
- 4
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…
![](../../users/profiles/7536805.webp)
Tico1993
- 59
- 6
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…
![](../../users/profiles/7632432.webp)
Cadmium
- 77
- 7