[Q] Prevent changing of keyboard - Other Tools & General Discussion

Is there a way I can prevent a user from changing input method?
I want to build an app with some device administration features. One important feature will be the ability to prevent a change of input method.
Is there an api to prevent a user from changing input methods in the settings? Maybe some other device administration apps that you know of that do it?

Related

Need help with programmatically creating an APP VPN in Android with not being rooted.

If I use the regular Android APIS I can create a VPN app specific but it asks the user the first time it is created, I would like to not have to do that. In case they wipe out the VPN profile I can recreate without their consent. This is for a parental control app so they know what type of APP they are using?
Any apis, hidden apis I can use reflection to allow this. I have tried some reflection but I don't have CONTROL_VPN permission to allow me to bypass the hidden mark on the apis.
Thanks,

Nagging display overlay message

Hi everyone, my new update to M on my Huawei gives me a hard time. I cannot set access rights for apps because it wants me to enable (or disable) overlay rights to some app I cannot identify. Actually I would have expected the name of the related app to be printed in the message but it doesn't do that. Many have problems with that message using screen filtering apps .. but I am not aware of using such app.
I have read that the permission in question is "android.permission.SYSTEM_ALERT_WINDOW".
I am now looking for a sort of batch tool that allows for an easy change of this permission to all apps e.g.:
Store current state; toggle all on or off; restore state
I looked at some privacy managers and the state appears. But didn't find one (yet?) that allows me to do this to all apps at once.
Can anyone point me to a tool that can help me? Regrettably I am not a programmer.

DeviceAdminControl

Hi Forum Members,
I wanted to implement device administration control on the devices which are using my app. The scenario here is I want to get control on the uninstall of the app. Since with lock mechanism, I will lock the settings from user thereby denying the user access to settings and hence user can't uninstall apps which are under device administration control. I achieved the same with my Celkon Tab and Motorola mobiles but the problem arises with Honor Tab( media type T3 10) where when the user tries to uninstall the same app which is under device admin control it will not intent to the setting but directly uninstalls the app from the device. This shouldn't have happened since every app with device admin control code should have gone to settings and only if the user unchecked the device admin control feature he would be able to uninstall. Any help regarding the same will be highly appreciated.
kompac_xda said:
Hi Forum Members,
I wanted to implement device administration control on the devices which are using my app. The scenario here is I want to get control on the uninstall of the app. Since with lock mechanism, I will lock the settings from user thereby denying the user access to settings and hence user can't uninstall apps which are under device administration control. I achieved the same with my Celkon Tab and Motorola mobiles but the problem arises with Honor Tab( media type T3 10) where when the user tries to uninstall the same app which is under device admin control it will not intent to the setting but directly uninstalls the app from the device. This shouldn't have happened since every app with device admin control code should have gone to settings and only if the user unchecked the device admin control feature he would be able to uninstall. Any help regarding the same will be highly appreciated.
Click to expand...
Click to collapse
Sounds shady, like you want control of other people's devices to prevent them from uninstalling your app.
Shady business like that could be used to put a privacy invading app on someone's device to spy on them and prevent them from uninstalling the app, forcing them to leave themselves exposed to snooping.
This kind of thing could also be used to prevent uninstalling the app so that you can continue making money on ads associated with the app.
Shady business, either way.
The only way I can see this being a legitimate purpose is if it involves owning a business with business owned/controlled devices with the app installed on the devices being used by employees for company purposes and preventing them from uninstalling the app to protect the business purposes for the app. In this case, it would be better to just make the app a system app somehow then prevent the user from having root access, in this scenario, the user wouldn't have the ability to uninstall the app unless they rooted the device themselves.
Sent from my LGL84VL using Tapatalk

[Q] install work profile under user

Is it possible to install a work profile under a user who is not an owner?
with the app shelter it gets blocked at the moment it want to create the work profile.
I found that it's because it is not allowed by a user who is not an owner on the phone.
Is there any workaround for this, or is there a way to make a second user owner on the phone?
Another option is to give the needed permissions to the second user, is this a possibility?

Removing Hotspot Facility

I'm looking for a way of stopping my kids phones from being used as a hotspot, as it allows them to share their data with others. I'm not fussed whether it worked on Android or iPhone as long as a workable solution was available. Changing the password is no good as they'll just share the new password.
mudddy said:
I'm looking for a way of stopping my kids phones from being used as a hotspot, as it allows them to share their data with others. I'm not fussed whether it worked on Android or iPhone as long as a workable solution was available. Changing the password is no good as they'll just share the new password.
Click to expand...
Click to collapse
It would require rooting the devices and then using root permissions to delete the system app or apps that control the hotspot feature. If you successfully root the devices and successfully remove the app or apps and are successful in stopping the hotspot functionality, you will then have to un-root the device so that the changes that you made can not be reversed.
Or, it is possible that you may be able to use adb(Android Debig Bridge)without having to root the devices to disable or remove the app or apps that control hotspot. You would just have to identify the exact name of the specific system app or apps that control hotspot on your device and then use adb commands to disable or remove those specific apps then reboot the devices.
To learn how to use adb to remove the system apps on each specific device in question, do a Google search for:
"Remove system apps via adb without root (the specific device model number)"
That should find many different guides to explain the process even if it doesn't find anything specific to the device model. The important things to remember are, you must identify the specific system apps(the specific file name of the .apk files for those apps) that control hotspot, then use those specific .apk file names in your command lines that you enter in adb and the command must be the correct uninstall or disable command.
mudddy said:
I'm looking for a way of stopping my kids phones from being used as a hotspot, as it allows them to share their data with others. I'm not fussed whether it worked on Android or iPhone as long as a workable solution was available. Changing the password is no good as they'll just share the new password.
Click to expand...
Click to collapse
If you wish to permanently disable mobile hotspot, please provide here your Android device, model number and Android version presently installed.
jwoegerbauer said:
If you wish to permanently disable mobile hotspot, please provide here your Android device, model number and Android version presently installed.
Click to expand...
Click to collapse
Its a Xiaomi Redmi Note 9 64gb/3gb running Android 10 and Miui 12. But as mentioned I'd change this to any mobile which has a workable solution.
Does anyone know of any guide I could use to do this?
Not fussed on what phone its on.

Categories

Resources