是否可以在主屏幕上隐藏APP图标(Cordova-AngularApp) [英] is it possible to hide the APP icon on home screen (Cordova - AngularApp)

查看:87
本文介绍了是否可以在主屏幕上隐藏APP图标(Cordova-AngularApp)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的要求是: 有两个应用程序APP"A"和APP"B".在这里,APP B应该由APP A触发的任何事件打开.为此,我需要在设备上安装两个应用程序,并且运行正常.在这里,我想限制直接从APP Launchpad/主屏幕打开APP B,以便它只能从APP A打开. APP B是使用Cordova构建的混合APP.

I have a requirement as: There are two Apps APP "A" and APP "B". Here, APP B should open by any event triggered from APP A. For doing the same, I need to install both the apps on the device and is working fine. Here, I want to restrict the APP B from opening directly (from APP Launchpad/ Home Screen) so that it should open only from APP A. APP B is an hybrid APP built using Cordova.

请您提出处理该方案的任何可能性.

Could you please suggest any possibility of handling the scenario.

提前谢谢!

推荐答案

如果要从默认启动器中删除应用,请在 AndroidManifest.xml 文件中删除以下行

If you want to remove an app from default launcher then remove the following line in AndroidManifest.xml file

<category android:name="android.intent.category.LAUNCHER"/>

希望这会有所帮助.

这篇关于是否可以在主屏幕上隐藏APP图标(Cordova-AngularApp)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆