Android有什么用处? [英] Android What is use of persistent?

查看:183
本文介绍了Android有什么用处?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

android:persistent =true属性的用途是什么?

<application
    android:fullBackupContent="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:persistent="true"
    android:largeHeap="true"
    android:supportsRtl="true"
    android:theme="@style/AppTheme1">
</application>


推荐答案

阅读关于 android:persistent

Read official guide line about android:persistent


应用程序是否应始终保持运行 -
如果是,则为true,否则为false。默认值为false。
应用程序通常不应设置此标志;持久性模式是
,仅适用于某些系统应用程序。

Whether or not the application should remain running at all times — "true" if it should, and "false" if not. The default value is "false". Applications should not normally set this flag; persistence mode is intended only for certain system applications.

这篇关于Android有什么用处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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