Cordova android framework7 回上一頁

https://muut.com/framework7-cn#!/?%E8%BF%94%E5%9B%9E%E4%B8%8A%E4%B8%80%E9%A1%B5 onDeviceReady: function() { document.addEventListener(“backbutton”, function(e) { var currentView = myApp.getCurrentView(); if(currentView.history.length>1) { currentView.router.back({});//返回上一级 }else{ navigator.app.exitApp();//首页点返回键退出 } }, false); app.receivedEvent(‘deviceready’); }

2016-06-23 · 1 min · 21 words · Me

Cordova android AdMob framework7

cordova create oooxxxx see js/index.js onDeviceReady: function() { app.receivedEvent(‘deviceready’); } Now put AdMob Code onDeviceReady: function() { // place our admob ad unit id here var admobid = {}; if( /(android)/i.test(navigator.userAgent) ) { admobid = { // for Android banner: ‘ca-app-pub-xxxxxxxxxxxxx/oooooooooooo’, interstitial: ‘ca-app-pub-xxxxxxxxxxxxx/oooooooooooo’ }; } else if(/(ipod|iphone|ipad)/i.test(navigator.userAgent)) { admobid = { // for iOS banner: ‘ca-app-pub-xxxxxxxxxxxxx/oooooooooooo’, interstitial: ‘ca-app-pub-xxxxxxxxxxxxx/oooooooooooo’ }; } else { admobid = { // for Windows Phone banner: ‘ca-app-pub-xxxxxxxxxxxxx/oooooooooooo’, interstitial: ‘ca-app-pub-xxxxxxxxxxxxx/oooooooooooo’ }; } if (! AdMob ) { alert( ‘admob plugin not ready’ ); return; } // this will create a banner on startup AdMob.createBanner( { adId: admobid.banner, adSize: ‘SMART_BANNER’, position: AdMob.AD_POSITION.BOTTOM_CENTER, isTesting: true, // TODO: remove this line when release overlap: false, offsetTopBar: false, bgColor: ‘black’ } ); this will load a full screen ad on startup AdMob.prepareInterstitial({ adId: admobid.interstitial, isTesting: true, // TODO: remove this line when release autoShow: true }); app.receivedEvent(‘deviceready’); } ...

2016-06-22 · 1 min · 160 words · Me

FileOptimizer

http://nikkhokkho.sourceforge.net/static.php?page=FileOptimizer

2016-06-22 · 1 min · word · Me

google AdMob 最新版有很多問題

https://github.com/googleads/googleads-mobile-android-examples See Issues 最新版 9.0.2 or 9.0.0 (com.google.firebase:firebase-ads:9.0.2) Log查 w/Ads W/Ads: Failed to connect to remote ad request service. W/Ads: Could not start the ad request service. W/Ads: Failed to load ad: 0 整個無言! …………..最簡單的範例也出錯!!

2016-06-22 · 1 min · 35 words · Me

[轉]三聯式發票使用點陣式印表機的問題

http://www.mobile01.com/topicdetail.php?f=651&t=4480448&p=1

2016-06-06 · 1 min · word · Me