Application installed on Android Lollipop, but blocked from running - android

For this question, how to disable google asking regularly checking app, there are answers like "uncheck the option Settings > Security > Verify apps". However, on Lollipop I am using, there is no such an option, instead there is an option "Unknown sources".
I unchecked this "Unknown sources", and I could have my app installed. I was asked if "google can regularly check installed apps for potentially harmful behavior". I clicked allow (by mistake). Then I can not start my application. Every time I click my app to start it, it is going to run, but immediately, it is stopped by google.
Do you know where can I configure the android to allow my app to run?
Thanks a lot in advance!
Best Wishes,
York

Don't use settings.
On your device, open the Google Settings app(not android settings app);
Touch Security.
Move the switch next to "Improve harmful app detection" on or off.

Related

Is it possible to clear an Android application RAM content when the user logs off/closes the app?

As an example, take an Android app that manages sensitive information such as credit card details. Is it possible from a code level to effectively erase the sensitive data the app might store in RAM when the user logs off or closes the application? How can this be done?
Your can do something like that in your Developer Settings
How to unlock developer settings?
You can unlock your developer settings by going to: Settings > About phone > Software info > Build number., Remember that the names of the folders can be different depending on your brand/model of your phone. Once you've reaced Build number, click it about 7 times. After a while you should get a toast message saying how many clicks left. Keep clicking until it says you've finished all the clicks. CONGRATS! Your have unlocked delevopers mode
Now that you have unlocked your developer settings, scroll right down to the bottom. A little bit to the top you should have a categorie about apps. There you find: Don't keep activities, when you turn that on, instead of closing the app a normal way, every app is forced to shut down. I know it's not the same as clearing everything. But that's the best I know

Auto run android app fails because reboot disabled all "third party" applications

I can't seem to find anything on this, but I'm trying to get an application to run right away once an android device has finished booting up. the problem is that when i hold the power button, then tap "Reboot", i get a message saying
"Reboot System
Do you wish to reboot the system? This will disable all third party applications you have installed"
So the options are cancel and ok. But I don't want to disable all third party applications because my application should automatically start when the device is rebooted. Does anybody have any idea why this is happening and how i should prevent my application from being disabled on reboot?

Disable or Remove Force Stop in manage applications

Did quite some research but not able to get details on disabling FORCE STOP for the application.
While on GOOGLE play there are some applications like KASPERSKY PARENTAL CONTROL , Quick HEAL etc...who disable Force STOP.
Any clue about how to do this ?
Any help will be useful
Depends on ODM if they has some sort of business agreement they change in Android Setting app code and disable Force Stop button for those packages . Of course it has to pass CTS as well.Well i remember disabling Uninstall button for one app.
If the processor gets eaten up, disabling "Force stop" will mean a user can only uninstall the app from Google Play or Device Settings (only if Device Admin is disabled)to free up running processes as well as potential memory leakage. Mobile security solutions by default will in general adhere to disabling "Force stop" for one good reason - malware could indeed "Force stop" the virus engine, rendering the Android device vulnerable to infection.
Also, if "Force stop" or "uninstall" is disabled the security app will ask for "Device admin" (used mainly in enterprise security) - a user can deactivate Device Administration by > Settings > Security > Device Administration - uncheck box. Once this is done, you can then "Force Stop" or "Uninstall" the app as normal from Settings or the Play Store. :)
For s4 go to setting then slide right to 'more' and then hit 'Application manager' And then slide to see what apps are running or stopped. Simple.. dont need to restore your phone guys. ..

Disabling "Force Stop" Button in Android

Okay, I'm pretty sure that this is not possible but a client had asked me to do so in one of our Android application we developed for her.
What she had wanted is that if our application is running, and user navigate to:
Settings > Manage Application > [Our Application]
, the button for "Force Stop" is disabled.
Is this possible? If it is possible, could someone point me out which way I should walk, or if it is not possible, how, using a valid argument based on facts, should I break the news to her.
Update:
She just sent me a screenshot that, in her opinion, validates her request that there's an Android application that disables "Force Stop" button. How am I supposed to explain this to her?
How to disable the "Force Stop" button
Short answer: Use the Device Administration API.
How to explain this to my client?
Show this to your client. It is a nice slideshow providing an easy-to-understand overview of the Device Administration API and its uses.
How do I demonstrate that it works?
Yes, back to your job. Use the API link provided above and the Api Demos included in Google's sample
collection to figure out how to integrate this into your app.
Build the demo and run it on your device.
Choose API Demos->App->Device Admin->General->Enable admin.
Choose Activate once the Device Administration API prompts you with its enabling screen.
Exit the app and attempt to manage the app via your device's settings menu (specifics for this step varies by device).
When viewing the Api Demo's "app info" screen, you should see both Force Stop and Uninstall are disabled.
How do I do this in my own app?
Review DeviceAdminSample.java in the Api Demos app for inspiration. You will need the following:
The following code is what brings up the activation screen:
// Launch the activity to have the user enable our admin.
Intent intent = new Intent(DevicePolicyManager.ACTION_ADD_DEVICE_ADMIN);
intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, mDeviceAdminSample);
intent.putExtra(DevicePolicyManager.EXTRA_ADD_EXPLANATION,
mActivity.getString(R.string.add_admin_extra_app_text));
startActivityForResult(intent, REQUEST_CODE_ENABLE_ADMIN);
However, there are a few other pieces you will need to get this to work:
A broadcast receiver that derives from DeviceAdminReceiver.
Entries in your manifest file that refer to the above broadcast receiver.
Permissions in your manifest for using the Device Administrator API.
An xml file stating what policies your app can access.
All of this can be found in the above links. Good luck with your client!
This is not remotely possible, for great reason.
You should tell her that making this possible would be a huge security disaster. Imagine what would happen if you could create apps which just ate at your processor time by holding a wake lock, and you couldn't kill them. This would be horrible.
In general, if you're wondering if you can modify the "extra-app" behavior of the device, the answer is usually *no*. You should take the viewpoint that nothing on the device is yours to control besides your app and (to a limited extent) the resources to which you're granted access.
No other app has this kind of control, so it's not reasonable to expect that your client's would either. However, the fact that she's asking for this control usually implies something else: that they are worried the user will stop the app and then something bad will happen (the locations will stop being synced, data will stop being sent out to the net, etc...). This would imply that you should look into improving the resilience of the app to different situations. Remember, your app can even be killed off at any time by Android (for example, in the case of low memory).
I think the device screen shot has confused us. Even I can show my application that is installed on the device and the "Force Stop" button is disabled. Where as I have not done any thing specific to that.
The reason of the "Force Stop" button being disabled is, that particular application is NOT running currently. Hence there is not meaning in having the button enabled.
#Rhama you can ask your client to start the application once, press the home button of the device, and goto the settings and see. Surely the "Force Stop" button will be enabled this time.
Regards,
Rajan
From ICS, disabling Force stop is possible. If your app has an active device admin then the framework will not allow user to kill the process
Hey I think it is quite possible to disable the "Force Stop" button...check Kaspersky
Parental Control from the market it is doing the same.
Its service is running in the background then also the force stop button is disabled.
The application service is running in background
you can disable the forcestop when the app has admin rights. but soon as those admin rights are revoked then it is back to normal. however in android 4, an application called applock (domobile) was able to prevent that by asking a password when you tried to change admin rights. It could only be done by installing an extra program that applock asked you to. And I guess this might even be seen as a security flaw, infact it no longer works in Android 5.

Is it possible to disable Android firmware update notifications?

The bounty expires in 5 days. Answers to this question are eligible for a +500 reputation bounty.
Alex is looking for a more detailed answer to this question:
Trying to find out that is the Google URL that needs to be blocked in Pi-hole to make the update notification go away.
We have 2 candidate URLs so far.
I have an application running on phones that aren't meant to be touched or interacted with in any way. I want my application to run correctly 24/7/365.
The only issue I'm having is that every few weeks or so, a notification pops up about updating the firmware on the device. It doesn't immediately interrupt the app running but after a few days of no one accepting/declining the firmware download, the app crashes.
Is there any way (either programatically or by changing phone settings) to disable these firmware update popups, or to disable automated firmware updating in general?
Thank you very much!!
3 easy steps:
1. Install free System Tuner
2. Go to Startups
3. Select Google Services Framework
4. Uncheck SystemUpdateInstallDialog and SystemUpdateInstallDownloadDialog
IMPORTANT: You need a rooted device to run this app!
Simple and easy way to stop the system update notification...
Source: http://forums.androidcentral.com/google-nexus-7-tablet-2012/234006-how-do-i-remove-system-update-notification.html
To avoid confusion with the original question I'll repeat the Bounty-Question by Alex first:
Does anyone know what is the URL of google that we can block in Pi-Hole to make the notification go away?
All HTTP-based messages -- including push notifications -- via Google's Firebase Cloud Messaging (FCM) backend go through the server-side endpoint https://fcm.googleapis.com/fcm/send, as described in the reference on the Firebase Cloud Messaging HTTP protocol. The client-side endpoint doesn't seem to be publicly documented, however one can suppose that blocking https://fcm.googleapis.com should do the job.
Analogously all XMPP-based messages go through the endpoint fcm-xmpp.googleapis.com, as documented in the reference on the Firebase Cloud Messaging XMPP protocol.
Yes, it is possible
Settings
Goto "settings"
find the "about phone" or "system" entry in settings
look ofr the "software update" or "system update" option
There should be a 3dotted menu with "settings", or a direct link to Download and install updates automatically.
turn it off.
3rd party
You may also consider (this is what I personally do) installing 3rd party software like NetGuard (for example) and disable internet connection to the system process that checks for updates. If there is no internet connection for the software/app it will not badger you with notifications.
Turn off notifications
Got to the settings of the app responsible for updates. And turn off all permissions related to notifications.
You won't be badgered with the notifications.
on android in the notification bar you can press the notification long time. than an info button should appear. when you click this button you get the system app, which creates the notification. then in the settings of this app you can block every notification. just block all. maybe you will miss other important notifications, i don't know.

Categories

Resources