禁止或允许其他程序调用activity,service

默认activity允许其他程序调用,当禁止其他程序调用activity时,可进行如下设置:

<activity
            android:name="com.tencent.tauth.TAuthView"
            android:exported="false" >

默认expored为true

service也可使用此属性

posted @ 2013-03-12 21:43  隐没  阅读(234)  评论(0编辑  收藏  举报