How can I find my UDID on my android phone? [duplicate] - android

This question already has answers here:
Unique ID of Android device
(13 answers)
Closed 5 years ago.
A developer is building an app for me and he need my ID so that he can send the APK file so that I can test the app. The developer need my UDID so that he can send me the APK file. So how do I go about finding my UDID from my android?

Android phones don't use a udid. That is something for iPhones and apples provisioning system. In this case you need to find in your advanced options where you can allow the install of unknown APK's and then the file your developer sends can be installed.

Related

Android - Determine which store my app was installed from [duplicate]

This question already has answers here:
How android app can detect what store installed it?
(3 answers)
Closed 9 years ago.
Is it possible to find out which store my app was installed from? I have it available on Samsung store, Amazon and Google Play and I want to be able to determine which of these stores my app was installed from and prompt the user with a message like "Thank you for downloading the app from (store)..."
The method linked by FD_, sadly, is not reliable as the information it returns can be edited, and may be null in some cases.
The best way would be to have an enum, or some sort of flag in your application, and flipping that flag before building a new release for each store. Simply check the status of that flag at runtime, to determine which store the apk came from.

How to prevent apk from copying? [duplicate]

This question already has an answer here:
Android: app licensing, copy protection
(1 answer)
Closed 9 years ago.
I want to prevent my app from copying from device, ie that would be impossible to pull apk from file system.
Any ideas?
It is not possible. Users with their phones rooted will have the access to your app and they can do what they want with it - you must store your secret data on external servers and use other ways to access it - i.e. require user to log in.

How To Uniquely Identify An Android Device? [duplicate]

This question already has answers here:
Is there a unique Android device ID?
(54 answers)
Closed 9 years ago.
I was working on an app (server-android client) that allow user to sign in from multiple android devices. When user logged in on a device, that device will be registered on server side, but I don't know how to avoid duplicate, so I was wondering that are there any chances to uniquely identify an android device? I think Google Play and Facebook can do that.
There are several options available, but there is no 100% guarantee that they will always work. See the android developer blog post: http://android-developers.blogspot.in/2011/03/identifying-app-installations.html
Best method mentioned is Settings.Secure.ANDROID_ID
You can check the IMEI or MAC address of the device.
for IMEI
TelephonyManager.getDeviceId will work
for MAC
WifiInfo.getMacAddress will work

How to restrict APK not to Uninstall from "Android Devices" [duplicate]

This question already has answers here:
How to prevent an application from being uninstalled?
(2 answers)
Closed 9 years ago.
I have developed Android Application and even I installed into the Devices. But how to prevent the application/apk not to uninstall by the others/user of the Device.
Regards
Anand
You CAN'T.
Until your application is a part of Framework, user of your application can uninstall the app and this is right of user.
Although you can track the uninstallation of app by implementing Device Admin API

How to restrict an applicaton only for tablet [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to ensure an Android app can only be run on a tablet?
Hi Is there any way to restrict the application so that It can only be installed in tablet?
Thanks
Sunil Kumar Sahoo
Yes go into the android market publisher page.
Make sure your app is uploaded.
Click on your app name.
Scroll down to where it says 'Show devices'.
Click that and you can exlude all mobile phones from downloading your
app.
Failing that you can set some parameters in your manifest for screen size etc, but this is less reliable.

Categories

Resources