摘要:
Android 应用的启动模式分为两种,一种是通过启动器(Launcher)启动,另一种是通过Intent消息启动.如果在通过Intent 消息启动前,希望判断欲启动的应用是否已经安装,目前有两种方法可以检测相关的信息,一种是检测相关的UI组件是否存在,另一种是检测安装包是否存在.检测组件是否存在的方法如下:Intent intent = new Intent();intent.setClassName(pluginPackgeName,pluginPackageName+".EngineSettings");PackageManager pm = getPackageMa 阅读全文
摘要:
先来看下Android API 的这个Methods:public void setOutsideTouchable(boolean touchable) Controls whether the pop-up will be informed of touch events outside of its window. This only makes sense for pop-ups that are touchable but not focusable, which means touches outside of the window will be delivered to the 阅读全文