简体   繁体   English

我想根据用户从我的应用程序中选择来禁用/隐藏移动设备上的应用程序

[英]I want to disable/hide applications on mobile, based on user selection from my application

I'm trying to create an application where the user get to see a list of applications available in the mobile and check them, so that the checked applications will be hidden once the user clicks the ÖK button. 我正在尝试创建一个应用程序,用户可以在其中查看移动设备中可用的应用程序列表并进行检查,以便在用户单击ÖK按钮后隐藏已检查的应用程序。

I already developed retrieving the list of applications in the mobile part. 我已经开发了检索移动部分中的应用程序列表。 However, when I searched in google for hiding apps, I could not find any solution for that. 但是,当我在谷歌搜索隐藏应用程序时,我找不到任何解决方案。 I read in one suggestion, where it says to use Package Manager setApplicationEnabledSetting , but I couldn't find a sample for it either. 我在一个建议中读到,它说使用Package Manager setApplicationEnabledSetting ,但我也找不到它的样本。

I will be so glad if anyone can let me know of a method and a sample to achieve this. 如果有人能让我知道实现这一目标的方法和样本,我将非常高兴。

at first i think you need os admin permission to access to apps list and hide apps icon 起初我认为你需要os管理员权限才能访问应用程序列表并隐藏应用程序图标

i wish below link help you to hide an app: 我希望下面的链接可以帮助您隐藏应用程序:

https://readyandroid.wordpress.com/hideunhide-app-icon-programmatically-android/ https://readyandroid.wordpress.com/hideunhide-app-icon-programmatically-android/

however if you hide an app icon in menu, user can see apps list complete in setting app part and you will need set password to open settings parts. 但是,如果您在菜单中隐藏应用程序图标,用户可以在设置应用程序部分中看到应用程序列表完成,您将需要设置密码才能打开设置部分。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我想根据我的选择从表中动态检索行。我试过这段代码 - i want to dynamically retrieve rows from table based on my selection.i tried this code 我想从一个网站为我的移动应用程序拍照,我应该如何处理它? - I want to take pictures from a site for my mobile application, how should I go about it? 我想在执行if块时向用户(移动应用程序)发出通知。 此代码无效,我的代码有什么问题? - I want to give notification to the user (mobile application) when the if block is execute. this code doesn't work, what is wrong with my code? 想要在整个应用程序中保存角色的用户选择 - Want to save user selection for character throughout application 我想从管理员和用户面板隐藏Openfire版本 - I want hide Openfire version from admin and user panel 嗨,我想从我的应用中禁用(删除)这些权限 - Hi i want to disable (delete) these permissions from my app 我希望我的应用程序的用户使用MyVideoPLayer播放每个视频 - I want my application's user to play every video with MyVideoPLayer 如何强制我的用户从ListViewer中进行选择? - How do i force my user to make a selection from ListViewer? 禁用基于Web的应用程序的多个用户登录 - Disable multiple user login for web based application 我想将我的应用程序后退按钮链接到android mobile内置后退按钮 - I want to link my application back button to android mobile builtin back button
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM