[Q] App development. Device permissions - Android Q&A, Help & Troubleshooting

Hi. I want to create an app and give some offer. But I wish that the user can avail only once. I.e. the offer is available only once. So that even if he does app data reset or even factory reset, my app should detect that this device has already been used.
What device permissions does my app would need??

avinashdelhi900 said:
Hi. I want to create an app and give some offer. But I wish that the user can avail only once. I.e. the offer is available only once. So that even if he does app data reset or even factory reset, my app should detect that this device has already been used.
What device permissions does my app would need??
Click to expand...
Click to collapse
That cannot be done by any normal application. Even if your application has root permission and you store a file anywhere, when the user installed a new ROM and wipes the internal storage, all your data will be lost.
That said i think you are approaching this problem wrongly, an easier solution would be to just store the IMEI for that device on your server and not give that offer to the same IMEI again.

Related

'Google Talk authentication failed' error

I just got my Atrix yesterday, I seem to have the issue where it wont successfully log in to google talk which also means that I cant download apps. I've tried making a new account which also failed to work. Are there any ideas out there for how I could fix it?
Can anybody help me?
I had the same problem and figured out that it was Droid Wall keeping Gtalk from connecting. Make sure Talk can access the network freely.
Sent from my Nexus S using XDA Premium App
Real solution
Gibsonflyingv said:
I just got my Atrix yesterday, I seem to have the issue where it wont successfully log in to google talk which also means that I cant download apps. I've tried making a new account which also failed to work. Are there any ideas out there for how I could fix it?
Click to expand...
Click to collapse
After cloning a samsung gio s5660 through a CWM backup I started experiencing the same issue. Heres What REALLY happens.
Google authenticates you in their services trought unique "keys" which are automatically generated upon system installation / factory reset, so if you clone your device or install a rom which has these "keys" pre-installed, obviously, your rom will only autheticate you in google servers if your phone is the only one using the service at that given time... Upon failure, your phone assumes to be the one who's wrong, and google servers won't autheticate you until you either tell your phone he is not wrong (by deleting the data from play store, which resets its status and errors) or you change the "keys". SO, what can we learn from this? deleting the play store data IS a temporary solution, and won't solve a thing. Let's delete the duplicated keys shall we?
Navigate with your favourite folder explorer on your android (I use X-plore, you can tell me anything, there's nothing better) to the following directory:
- "(root)/data/data/com.google.android.gsf"
Now you have two real options, either you may delete the all folder, which was the perfect solution for me, since my rom is prepared to re-create it upon phone restart and new keys will be generated, OR, you might want to just delete the contents of app_sslcache inside com.google.android.gsf whish are THE KEYS I HAVE BEEN TALKING ABOUT THIS ALL TIME, YEEEIHHHH and reboot your phone...
Needless to say, take a nandroid backup before you do any of this...
Thank me later
For those who remember me from symbian s60v3 phones, yes, it is me, I'm back, and I've moved to the droid world, it's much better indeed
Let me just say, I have no idea why this thread was moved or resurrected. Whoever did so was about a year and a half too late. Please close/delete this thread.

Need an app to install remotely then give me feedback if sucessful or not.

Guys am looking for an app that I can install from the online market on my computer for my phone, and I need some kind of feedback, (is it downloading? / installing? / installed ? ) probably by email.
Reason for this is ive lost my phone and i dont know whether
1. battery has died
2. person has wiped the phone.
Or an app i can install then attempt to log into my phone on my computer, an app that doesnt require any setting up / registering.
Thanks everyone

Adware on my phone lollipop 5.1.1 help needed

Hey i have a terrible adware thingy on my phone, unable to remove it. No antivirus detect anything.. Its different sometimes. Before it came only when i open whatsapp now it comes anywhere. It comes 1 time a week (not often) very few times a week. Pls help.. How do i remove this????
No one knows ?
if it started just on whats app i would generally suggest it has linked to the whats app files. now it is opening more and more it has now sync with most of your files and folders.
best thing to do factory reset your device save as much as you can to SD card which you need.
1 Before you reset your Android , see options for backing up your data.
2 On your mobile device, open the Settings menu Settings .
3 Under "Personal", touch Backup & reset. You may need to enter your pattern, PIN or password.
4 Under "Personal data", touch Factory data reset.
5 Read the information on the screen and touch Reset phone.
6 If you have a screen lock, you'll need to enter your pattern, PIN or password.
7 When prompted, touch Delete everything to delete all data from your device's internal storage.
8 When your device has finished erasing, select the option to reboot your device.
Ps stay off the porn sites ^^ generally virus are downloads when visiting random links and the website installs an .apk generally the main anti virus programs are paid to miss these or dont bother because they think there a part of an .apk so do not flag up hope this helps
mgrandy1984 said:
if it started just on whats app i would generally suggest it has linked to the whats app files. now it is opening more and more it has now sync with most of your files and folders.
best thing to do factory reset your device save as much as you can to SD card which you need.
1 Before you reset your Android , see options for backing up your data.
2 On your mobile device, open the Settings menu Settings .
3 Under "Personal", touch Backup & reset. You may need to enter your pattern, PIN or password.
4 Under "Personal data", touch Factory data reset.
5 Read the information on the screen and touch Reset phone.
6 If you have a screen lock, you'll need to enter your pattern, PIN or password.
7 When prompted, touch Delete everything to delete all data from your device's internal storage.
8 When your device has finished erasing, select the option to reboot your device.
Ps stay off the porn sites ^^ generally virus are downloads when visiting random links and the website installs an .apk generally the main anti virus programs are paid to miss these or dont bother because they think there a part of an .apk so do not flag up hope this helps
Click to expand...
Click to collapse
Thx for the long help thing. But im not gonna reset because of a pop up thing i barely see anymore, but well thanks
Yeah more and more things like this are being sent through whatsapp and fb. It mostly because now alot of people from smaller/developing countries are using it while the majority of us gave it up and switched to something else.
if you would like to know where and what is pop it up try installing "QtADB" it has a program in it called "logcat" basically shows you all jobs that the phone is running you can use this to bug check where the program is running from but you may be going in circles for a few hours thats why i said just to reset. google QtADB should come up with a list of instructions to install.
mgrandy1984 said:
if you would like to know where and what is pop it up try installing "QtADB" it has a program in it called "logcat" basically shows you all jobs that the phone is running you can use this to bug check where the program is running from but you may be going in circles for a few hours thats why i said just to reset. google QtADB should come up with a list of instructions to install.
Click to expand...
Click to collapse
Lol thats some deep ****, i dont need o install as i have one built in. But not goig thru all that trouble cus of a few lines of text XDD

Android devices hacked/spyware

Android phone hacked remotely. Files and apps running on phone that wont show in phones settings. But file manager shows numerous files and apps. Also shows a phone root. Alot of apps with ridiculous permissions hidden behind regular android apps names and logos. This is a new phone. This also happened on my other phone and tablet recently. I have an investigation going but police are unable to do much electronically. It doesnt help with a factory reset. It resets automicatically with the files in question. Help if you can
jayden112712 said:
Android phone hacked remotely. Files and apps running on phone that wont show in phones settings. But file manager shows numerous files and apps. Also shows a phone root. Alot of apps with ridiculous permissions hidden behind regular android apps names and logos. This is a new phone. This also happened on my other phone and tablet recently. I have an investigation going but police are unable to do much electronically. It doesnt help with a factory reset. It resets automicatically with the files in question. Help if you can
Click to expand...
Click to collapse
Factory reset won't help if the virus is in the system, you need to do a full wipe to your phone, your internal storage and your data and the system itself.
Then later you can flash the system.
In fact the Police won't do what you need, the Manufacturer of the phone is what is able to do that easily.
What is your phone's model number?
MigoMujahid said:
Factory reset won't help if the virus is in the system, you need to do a full wipe to your phone, your internal storage and your data and the system itself.
Then later you can flash the system.
In fact the Police won't do what you need, the Manufacturer of the phone is what is able to do that easily.
What is your phone's model number?
Click to expand...
Click to collapse
SM-G930P.... but the concerning thing is I got a BRAND NEW PHONE WITH A DIFFERENT PROVIDER. And the same software was uploading. How is this possible? Is there some super hack software that can remotely hack?
jayden112712 said:
SM-G930P.... but the concerning thing is I got a BRAND NEW PHONE WITH A DIFFERENT PROVIDER. And the same software was uploading. How is this possible? Is there some super hack software that can remotely hack?
Click to expand...
Click to collapse
I have no idea about how they hack phones and stuff.
It's lucky that you have samsung.
Do you know Odin software or did you ever used before?
What carrier is your phone on right now?

Help with backing up/restoring apps + app data

Hello, I've been searching endlessly for countless days now, I want to restore my app + app data from my Huawei Y9 Prime (unrootable), to my Moto G Stylus 5G (rooted). I attempted abd backup, but upon restoring it on my new rooted device, it installed/restored absolutely 0 apps, and of course no app data despite it taking awhile to "restore".
Transfert apps and accounts to a new phone
Hi, I'm aware there is a simple way to reinstall the apps I have on my phone to a new one, using Google account. But I have to enter credentials to every apps again... Is there a secure way to transfert accounts to new phone, so I don't have to...
forum.xda-developers.com
jwoegerbauer said:
Transfert apps and accounts to a new phone
Hi, I'm aware there is a simple way to reinstall the apps I have on my phone to a new one, using Google account. But I have to enter credentials to every apps again... Is there a secure way to transfert accounts to new phone, so I don't have to...
forum.xda-developers.com
Click to expand...
Click to collapse
I've tried this, and unfortunately it didn't copy anything meaningful. A lot of my apps are installed through apks, and previously I used Huawei's Phone Clone to clone my old phone, and when it finished, everything on my new phone was exactly how it was on the old one, and that's what I'm trying to achieve here. But so far I've had no luck in doing so.
Edit: By "nothing meaningful", I meant it literally copied everything EXCEPT all my apps and their data. In which is said "196/196 apps failed". No further information or anything.
Pretty all I need is to get all my app's data from root/data/data, and transfer it.

Categories

Resources