public class WebAppActivity
extends Activity
构造器和说明 |
---|
WebAppActivity() |
限定符和类型 | 方法和说明 |
---|---|
void |
addAppStreamTask(java.lang.String filePath,
java.lang.String appid) |
void |
bindDCloudServices() |
void |
bindWebApp(IApp app) |
void |
closeAppStreamSplash() |
boolean |
hasAppStreamSplash() |
boolean |
isStreamAppMode() |
void |
onBackPressed() |
void |
onCloseSplash() |
void |
onConfigurationChanged(Configuration newConfig) |
void |
onCreate(android.os.Bundle savedInstanceState) |
boolean |
onCreateOptionsMenu(Menu menu) |
java.lang.Object |
onCreateSplash(Context context)
当创建splash页面时调用此接口
|
void |
onDestroy() |
boolean |
onKeyDown(int keyCode,
KeyEvent event) |
boolean |
onKeyEventExecute(ISysEventListener.SysEventType pSysEventType,
int keyCode,
KeyEvent event) |
boolean |
onKeyLongPress(int keyCode,
KeyEvent event) |
boolean |
onKeyUp(int keyCode,
KeyEvent event) |
void |
onLowMemory() |
void |
onNewIntent(Intent intent) |
void |
onPause() |
void |
onResume() |
void |
onWindowFocusChanged(boolean hasFocus) |
boolean |
queryUrl(java.lang.String filePath,
java.lang.String appid) |
void |
raiseFilePriority(java.lang.String filePath,
java.lang.String appid) |
Intent |
registerReceiver(io.dcloud.android.content.BroadcastReceiver receiver,
IntentFilter filter) |
Intent |
registerReceiver(io.dcloud.android.content.BroadcastReceiver receiver,
IntentFilter filter,
java.lang.String broadcastPermission,
Handler scheduler) |
void |
setViewAsContentView(View view) |
static AlertDialog |
showDownloadDialog(java.lang.String sAppname,
OnClickListener listener) |
void |
showSplashWaiting() |
void |
unbindDCloudServices() |
void |
unregisterReceiver(io.dcloud.android.content.BroadcastReceiver receiver) |
public void onCreate(android.os.Bundle savedInstanceState)
public void onDestroy()
public java.lang.Object onCreateSplash(Context context)
IOnCreateSplashView
onCreateSplash
在接口中 IOnCreateSplashView
context
- 上下文对象public void showSplashWaiting()
public void setViewAsContentView(View view)
setViewAsContentView
在接口中 IActivityHandler
public void closeAppStreamSplash()
closeAppStreamSplash
在接口中 IActivityHandler
public static AlertDialog showDownloadDialog(java.lang.String sAppname, OnClickListener listener)
public void onWindowFocusChanged(boolean hasFocus)
public boolean hasAppStreamSplash()
hasAppStreamSplash
在接口中 IActivityHandler
public void onCloseSplash()
onCloseSplash
在接口中 IOnCreateSplashView
public boolean onCreateOptionsMenu(Menu menu)
public void onPause()
public void onResume()
public void onNewIntent(Intent intent)
public boolean onKeyEventExecute(ISysEventListener.SysEventType pSysEventType, int keyCode, KeyEvent event)
onKeyEventExecute
在接口中 IKeyHandler
public boolean onKeyDown(int keyCode, KeyEvent event)
public void onBackPressed()
public boolean onKeyUp(int keyCode, KeyEvent event)
public boolean onKeyLongPress(int keyCode, KeyEvent event)
public void onConfigurationChanged(Configuration newConfig)
public void onLowMemory()
public boolean isStreamAppMode()
isStreamAppMode
在接口中 IActivityHandler
public Intent registerReceiver(io.dcloud.android.content.BroadcastReceiver receiver, IntentFilter filter, java.lang.String broadcastPermission, Handler scheduler)
public Intent registerReceiver(io.dcloud.android.content.BroadcastReceiver receiver, IntentFilter filter)
registerReceiver
在接口中 IActivityHandler
public void unregisterReceiver(io.dcloud.android.content.BroadcastReceiver receiver)
unregisterReceiver
在接口中 IActivityHandler
public void unbindDCloudServices()
unbindDCloudServices
在接口中 IActivityHandler
public void bindDCloudServices()
bindDCloudServices
在接口中 IActivityHandler
public void raiseFilePriority(java.lang.String filePath, java.lang.String appid)
raiseFilePriority
在接口中 IActivityHandler
public void addAppStreamTask(java.lang.String filePath, java.lang.String appid)
addAppStreamTask
在接口中 IActivityHandler
public boolean queryUrl(java.lang.String filePath, java.lang.String appid)
queryUrl
在接口中 IActivityHandler
public void bindWebApp(IApp app)
bindWebApp
在接口中 IActivityHandler