I am developing an android application and i need clear the data of another application upon clicking an button.
i.e.: if i click button name "gmail" in my app,the data should be cleared of that "gmail" app
doubt:
1.Is it possible?
2.Do we need to be rooted our android device in order to do this?
° because greenify works with root access to force stop the other app flexibly.
I know that greenify works without root but pop that "force stop" ui screen of each single app to do that action.
MY APP FUNCTIONALITY:
I just wanted to develop an android apllication named "anti-theft cloud apps"
simply if an thief stols our mobile then my app detects when he changes the sim or an unique code send by mobile owner through sms from other mobile and logouts all the cloud based applications like gmail,google photos etc to protect our data to be stolen ,so in order to do that i thought of clearing other apps data(like gmail) PROGTAMITICALLY to logout. Is it possible
This is not possible with stock Android. You can do it with superuser, access root/data/data/PACKAGE and clear its content. But as seen in comment, this seems like evil thing.
Related
I am trying to detect when a user pastes something outside of my application while my app is running in the background. Specifically, when they hold down and hit the paste button I need to retrieve that action.
Do any of you know how to implement this functionality?
It's not possible anymore due to privacy and security concerns.
From Google: Privacy Changes on Android 10:
Limited access to clipboard data
Unless your app is the default input method editor (IME) or is the app that currently has focus, your app cannot access clipboard data on Android 10 or higher.
I know there might be many questions like my question. But It is different. Actually, I am making a static chart that will show how many devices currently having my Android app installed and how many devices have uninstalled it.
For this, I am creating a uniqueID when the app is installed on a device and saving uniqueID along with FCM token to SQL database on the server.
To Create uniqueID:
uniqueID = UUID.randomUUID().toString()
Now, while I am saving every device with a token and uniqueID to the database. Of course, the device will be considered to have active app installation even when uninstalled the app.
So, I want to add a field in the database as inactive against the device that has uninstalled the app. To achieve this, I am thinking to send a request to the database and update the information when the app uninstallation is triggered.
Is this possible? And if yes, then can anyone please tell me how. Or are there any other method to achieve this. Thanks in advance.
Yes it it possible. You can send a push notification to your app to all your active users everyday from your backend side, and on your Android side, call an API on your server to confirm that you exist. If a client does not confirm his existence in a period of time (like 3 days), you know they have uninstalled the app. This is what Adjust and other statistics do for uninstall statistics.
You can't easily run your own code when an app is uninstalled. It is possible to run code in another app, but that requires that you get the user to install both apps.
In addition to the approach Adib described, you can consider using Google Analytics for Firebase to detect uninstalls of your app by Android users. As shown in the answer to this question, Firebase automatically tracks uninstalls in that case.
Maybe you want to use Firebase Analytics and the event app_remove. Mark it as a conversion and use Functions to remove the user from your Firebase Project(if anonymous) and/or any other data associated with the user(Storage, Database, Firestore, etc.) or anything else you might want to do upon user removal of the app.
I have a Bluetooth device that I can connect to an android phone, and I need to launch a specific application when a certain button is pressed on the Bluetooth Device.
So on press A--> Application A needs to be opened.
As of now, I am attempting to build an android application which can scan for and connect to the bluetooth device, with a set of built-in keymaps (A->Application A, etc), and the application would open up the application corresponding to the keymap, but this approach has its limitations in that I was not able to successively select buttons to transfer between apps.
Would there be a way to directly interact with the android kernal from BlueTooth to try to directly open up desired applications?
There should be a number of ways to get what you want, depending on your circumstances. We can provide more help for specifics if you post some of the code you're currently using to start the apps. It never hurts to review the basics of using Intents to start Activities.
Just guessing, but you may need to bring the requested activity to the foreground if it has already started and something else has focus.
Is there a way to control an android device from an admin web interface using a php code? I have tried looking into other MDM platforms however they have a lot of requirements to be installed.
This is possible up to certain limit, like Run a certain app, delete files, create files , taking pictures, play video/audio .. anything that doesn't need users extended permission.
You need to create an app that has ability to perform what ever the task you need.
You can send an action through (SMS/notification) etc to the device.
Your app will take a action and do the necessary changes of the device.
I have a local windows app written in java, kind of crm.
Employees register events, like customer future calls, visits, meetings, etc.
I would like to pass these events from windows app to their iphones, so they see the reminder. The information should be registered in windows app, not on the iphone.
Is it possible somehow? I would like to avoid writing and app on iphone.
Is this possible to access address book in similar way? Let's say that Mr A is account manager for 30 customers. I would like to sync their contacts data stored in windows app with his iphone.
Is this possible in the way that it is windows app which synchronizes the data, not the app on iphone?
Thanks in advance
Brgs
Norbert
If I understand correctly, you are wanting to interact with an iPhone from your Windows PC, without having to create an app for the iPhone? If this is the case, I don;t know that this is possible.
To send an alert to an iPhone, there is the ability to send a Push Notification from an external source (such as your Windows PC/app) onto an iPhone. This is what happens in your mail apps on your iPhone - when you get an email on your email server, it sends a Push Notification to your iPhone telling it that there is a new email to read. However, to support Push Notifications, you need to have an app on the iPhone that knows what to do with it. In other words, you will still need an app on the iPhone so that when it receives a Push Notification from your Windows app, it knows that it should display a message to the iPhone user.
As far as I know, there isn't any way to retrieve information from an iPhone from an external source without having an app on the phone. This would be a pretty bad security concern if it were possible.
Accessing or syncing contacts will also need an app on the iPhone that can interact with the contacts and send them back-forth to your windows app.
You may be able to interact with contacts on an iPhone if you have it plugged in via USB. The USB provides a direct connection to the phone, so if you wrote the write Windows socket code then you should be able to talk to the iPhone over the USB and perform some tasks on there. However, I'm not sure whether you can interact with Contacts and other phone information - it is probable that you could only interact with files stored on the phone such as music and videos?
Don't be scared to write an app to do what you want - especially for alerting the user, it is a pretty simple app to write, as it doesn't need to do much processing, doesn't need to have any user interface at all, and all the Push Notification support is already built in to standard iOS libraries.
what you could do if your windows app allows you to is to add those events to outlook calendar and then use the google sync to push those events to a google calendar which is then added in the user iphone. the reminder would then be a iphone calendar reminder. no security leak but little control on the iphone side about reminders.