【问题标题】:How do I prevent my application to being uninstalled on Android [duplicate]如何防止我的应用程序在 Android 上被卸载 [重复]
【发布时间】:2013-06-15 14:10:34
【问题描述】:

我只需要一个父过滤器,因此在父授予权限(如密码)之前,孩子无法卸载我的应用程序。有可能吗?

可以阻止应用程序卸载吗?

下面是我的清单。

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="de.impressive.artworx.tutorials.installedapps"
  android:versionCode="1"
  android:versionName="1.0">
  <uses-sdk android:minSdkVersion="8" />

  <application android:icon="@drawable/icon" android:label="@string/app_name">
    <activity android:name=".ListInstalledApps"
              android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>

</application>
</manifest> 

【问题讨论】:

    标签: android


    【解决方案1】:

    Android 是一个操作系统,就像 windows、linux 和 Mac 一样。操作系统具有允许/禁止其应用程序使用的功能。您可能需要在越狱的手机上编写本机应用程序才能在操作系统上获得这种控制。

    【讨论】:

    猜你喜欢
    • 2013-07-04
    • 1970-01-01
    • 2011-11-24
    • 2015-05-01
    • 2015-04-14
    • 2012-12-12
    • 2017-02-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多