首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

查询某个应用亟需那些权限

2013-10-08 
查询某个应用需要那些权限效果图:代码实现:1、MainActivity?xml version1.0 encodingutf-8?Linear

查询某个应用需要那些权限

效果图:

查询某个应用亟需那些权限



代码实现:

1、MainActivity

<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"    android:layout_width="match_parent"    android:layout_height="match_parent"    android:orientation="vertical"     android:background="@android:color/background_dark"    >    <Button        android:layout_width="wrap_content"        android:layout_height="wrap_content"        android:onClick="get"        android:text="获取权限" />    <ScrollView        android:layout_width="fill_parent"        android:layout_height="fill_parent" >        <LinearLayout            android:id="@+id/ll_list_permission"            android:layout_width="fill_parent"            android:layout_height="fill_parent" >        </LinearLayout>    </ScrollView></LinearLayout>


3、这个应用本身不需要任何权限,主要是用来查看其他应用的权限。。

热点排行