摘要: 默认activity允许其他程序调用,当禁止其他程序调用activity时,可进行如下设置: <activity android:name="com.tencent.tauth.TAuthView" android:exported="false" >默认expored为trueservice也可使用此属性 阅读全文
posted @ 2013-03-12 21:43 隐没 阅读(237) 评论(0) 推荐(0) 编辑
摘要: /** 读取配置文件 **/ Properties properties=new Properties(); try { properties.load(getAssets().open("youmay.ini")); //设置常量类的渠道id为配置文件里边的channel Const.CHANNEL_ID=(Strin... 阅读全文
posted @ 2013-03-12 21:27 隐没 阅读(205) 评论(0) 推荐(0) 编辑