Packageorg.zengrong.ane.tool
Classpublic class IntentCont
InheritanceIntentCont Inheritance ToolBase Inheritance flash.events.EventDispatcher

提供Android中Intent的安装相关功能



Public Properties
 PropertyDefined By
 Inheritedextension : ExtensionContext
[read-only]
ToolBase
Protected Properties
 PropertyDefined By
 Inherited_extension : ExtensionContext
ToolBase
Public Methods
 MethodDefined By
  
IntentCont($context:ExtensionContext)
IntentCont
 Inherited
dispose():void
ToolBase
  
installAPK($path:String):void
安装APK 需要权限:android.permission.INSTALL_PACKAGES
IntentCont
  
openSettings($settingsType:String):void
打开设置面板,可用的面板类型见 http://developer.android.com/reference/android/provider/Settings.html
IntentCont
Protected Methods
 MethodDefined By
 Inherited
handler_status($evt:StatusEvent):void
ToolBase
Constructor Detail
IntentCont()Constructor
public function IntentCont($context:ExtensionContext)



Parameters
$context:ExtensionContext
Method Detail
installAPK()method
public function installAPK($path:String):void

安装APK 需要权限:android.permission.INSTALL_PACKAGES

Parameters

$path:String — apk文件的绝对路径

See also

openSettings()method 
public function openSettings($settingsType:String):void

打开设置面板,可用的面板类型见 http://developer.android.com/reference/android/provider/Settings.html

Parameters

$settingsType:String — 面板的类型