0
A
回答
0
嘗試處理程序啓動畫面是這樣的:直到
$af.ui.launch()
運行顯示
Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
// make sure we close the splash screen so the user won't come back when it presses back key
finish();
if (!mIsBackButtonPressed) {
// start the home screen if the back button wasn't pressed already
Intent intent = new Intent(Splash.this, Next_Activity.class);
startActivity(intent);
finish();
}
}
}, Constant.SPLASH_DURATION);
@Override
public void onBackPressed() {
// set the flag to true so the next activity won't start up
mIsBackButtonPressed = true;
super.onBackPressed();
}
+0
你的答案與英特爾應用程序框架(JavaScript框架)無關, – carrabino
0
的啓動畫面。
搜索你的代碼,該行
window.setTimeout(function() { $af.ui.launch(); }, 1500);
,改變1500至更小的東西。
相關問題
- 1. 英特爾應用程序框架滾動不起作用
- 2. 英特爾應用程序框架中心內容
- 3. 英特爾XDK應用程序框架滑塊長度
- 4. TypeError:o.promise是升級英特爾應用程序框架2.1
- 5. 英特爾應用程序框架 - 顯示JSON數據
- 6. AFUI /英特爾應用程序框架滾動不在phonegap中工作Android
- 7. 英特爾XDK框架
- 8. 與英特爾XDK應用框架滾動數據表
- 9. 英特爾XDK(在HTML5應用程序)
- 10. 科爾多瓦應用程序在啓動畫面上死機
- 11. Win CE上的英特爾®TBB開發移動應用程序?
- 12. 在引導程序框架中使用英特爾xdk的css代碼
- 13. 在Android應用程序中使用啓動畫面的啓動順序
- 14. 英特爾啓動代理問題?
- 15. 英特爾愛迪生不啓動
- 16. 更改英特爾XDK中的Android應用程序圖標
- 17. 每次啓動Android應用程序時顯示啓動畫面
- 18. IOS網絡應用程序總是啓動與啓動畫面
- 19. 我的Java應用程序的動態啓動畫面
- 20. 使用英特爾XDK構建的應用程序
- 21. 在框架中啓動的應用程序標誌?
- 22. 如何在英特爾XDK中輕鬆設置應用程序主頁面?
- 23. 如何在iPad應用程序的啓動畫面中進行動畫製作?
- 24. 降低英特爾XDK混合應用程序的apk大小
- 25. 英特爾xdk應用程序安裝替換以前的apk
- 26. iframe只允許我的應用程序(英特爾XDK)
- 27. 啓用英特爾虛擬化技術
- 28. 使用英特爾XDK支付應用程序
- 29. 如何在angularjs phonegap應用程序中顯示啓動畫面?
- 30. 在默認啓動畫面中修改應用程序名稱
你可以在你的工作方式上發佈代碼 – krisrak