windows system path
ANDROID_AVD_HOME
[轉]How to Fix PIN Errors After Restoring from TWRP Android Backups
http://www.howtogeek.com/240657/how-to-fix-pin-errors-after-restoring-from-twrp-android-backups/
[轉]在 Android 6.0 上免 Root 備份及還原 Line
http://wznote.blogspot.tw/2015/12/restore-line-to-android-6-without-root.html
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
整個無言! ..............最簡單的範例也出錯!!
最新版 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
整個無言! ..............最簡單的範例也出錯!!
android crosswalk goback
MainActivity.java
@Override
public boolean dispatchKeyEvent(KeyEvent event) {
if(event.getKeyCode() == KeyEvent.KEYCODE_BACK && event.getAction() != KeyEvent.ACTION_UP) { //按下有用,key up 無用
if (mXWalkView != null && mXWalkView.getNavigationHistory().canGoBack()) {
mXWalkView.getNavigationHistory().navigate(XWalkNavigationHistory.Direction.BACKWARD, 1);
return true;
}
}
return false;
}
android crosswalk new for file upload、camera test
1、build.gradle
repositories {
maven {
url 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2'
}
}
compile 'org.xwalk:xwalk_core_library:18.48.477.13'
2、active_main.xml
<org.xwalk.core.XWalkView android:id="@+id/activity_main"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</org.xwalk.core.XWalkView>
3、MainActivity.java

mXWalkView = (XWalkView) findViewById(R.id.activity_main);
mXWalkView.load("https://blueimp.github.io/jQuery-File-Upload/", null);
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) {
mXWalkView.onActivityResult(requestCode, resultCode, data);
}
4、AndroidManifest.xml

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
android:hardwareAccelerated="true"
repositories {
maven {
url 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2'
}
}
compile 'org.xwalk:xwalk_core_library:18.48.477.13'
2、active_main.xml
<org.xwalk.core.XWalkView android:id="@+id/activity_main"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</org.xwalk.core.XWalkView>

mXWalkView = (XWalkView) findViewById(R.id.activity_main);
mXWalkView.load("https://blueimp.github.io/jQuery-File-Upload/", null);
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) {
mXWalkView.onActivityResult(requestCode, resultCode, data);
}
4、AndroidManifest.xml

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
android:hardwareAccelerated="true"
web app javascript hyper app basic
基本上 codova phonegap都是用webview裡面的addJavascriptInterfac 指定@JavascriptInterface 的java method,間接呼叫 回傳資料,達到和原生溝通
codova phone 等等都是包好,讓使用者方便使用,而且共同開發,讓呼叫 回傳 android 多版本能正常
ionic、titanic、react native 等等 為了在web app上速度更快或是對應呼叫 回傳時,開發速度更快
[轉]Android WebView 与 JavaScript 交互 AND Java
https://codemumbai.wordpress.com/android-webview-image-upload-solved/
http://maurizionapoleoni.de/blog/implementing-a-file-input-with-camera-support-in-android-with-crosswalk/
=====
https://mthli.github.io/Android-WebView-JavaScript
http://stackoverflow.com/questions/11544992/taking-a-picture-from-the-camera-fails-20-of-the-time
http://bluereader.org/article/165908253
http://www.mobile-open.com/2015/65366.html
http://www.flapjacksandcode.com/blog/2015/2/17/android-webviews-getusermedia-putting-it-all-together
http://lookintoandroid.blogspot.tw/2015/11/getting-camera-captured-image-in.html
=====
upload file
http://www.unknownerror.org/opensource/brandonsavage/Upload/q/stackoverflow/5907369/file-upload-in-webview
=====
用CrossWalk包的話,可以肯定是最新的chrome,保證在操作上的正常!但app會非常的肥大~~
再不然就不能事先說明android 5以上才能存取 camera, file upload
http://maurizionapoleoni.de/blog/implementing-a-file-input-with-camera-support-in-android-with-crosswalk/
=====
https://mthli.github.io/Android-WebView-JavaScript
http://stackoverflow.com/questions/11544992/taking-a-picture-from-the-camera-fails-20-of-the-time
http://bluereader.org/article/165908253
http://www.mobile-open.com/2015/65366.html
http://www.flapjacksandcode.com/blog/2015/2/17/android-webviews-getusermedia-putting-it-all-together
http://lookintoandroid.blogspot.tw/2015/11/getting-camera-captured-image-in.html
=====
upload file
http://www.unknownerror.org/opensource/brandonsavage/Upload/q/stackoverflow/5907369/file-upload-in-webview
=====
用CrossWalk包的話,可以肯定是最新的chrome,保證在操作上的正常!但app會非常的肥大~~
再不然就不能事先說明android 5以上才能存取 camera, file upload
Could not create an instance of Tooling API implementation using the specified Gradle installation gradle-2.10
If you try many way, can't finish.
1、reinstall android studio : remove all
2、delete all
c:\user\your user name\.gradle
c:\user\your user name\.AndroidStudio2.0
3、reinstall android stuido
be careful path and directory, C:\Program Files\Android check this directory, have other Android Studio, likfe Android Studio1..... If have delete Android Studio1 directory, only keep Android Studio.
android development best practices
https://github.com/futurice/android-best-practices
http://www.slideshare.net/SeanKatz/android-best-practices-2015?qid=98a113a6-fbfa-4997-bbfd-d3cc8cd9454c&v=&b=&from_search=4
http://www.innofied.com/13-android-development-best-practices/
http://www.slideshare.net/Rapidvaluesolutions/best-practices-for-android-ui-by-rapid-value-solutions?qid=98a113a6-fbfa-4997-bbfd-d3cc8cd9454c&v=&b=&from_search=6
http://www.sitepoint.com/5-resources-for-android-developers/
https://github.com/roboguice/roboguice
http://www.tutorialspoint.com/android/android_best_practices.htm
=====
http://developer.android.com/training/best-performance.html
=====
start begin learn stduying
http://www.tutorialspoint.com/android/
http://www.vogella.com/tutorials/android.html
=====Libraries
https://github.com/JStumpp/awesome-android
http://www.slideshare.net/SeanKatz/android-best-practices-2015?qid=98a113a6-fbfa-4997-bbfd-d3cc8cd9454c&v=&b=&from_search=4
http://www.innofied.com/13-android-development-best-practices/
http://www.slideshare.net/Rapidvaluesolutions/best-practices-for-android-ui-by-rapid-value-solutions?qid=98a113a6-fbfa-4997-bbfd-d3cc8cd9454c&v=&b=&from_search=6
http://www.sitepoint.com/5-resources-for-android-developers/
https://github.com/roboguice/roboguice
http://www.tutorialspoint.com/android/android_best_practices.htm
=====
http://developer.android.com/training/best-performance.html
=====
start begin learn stduying
http://www.tutorialspoint.com/android/
http://www.vogella.com/tutorials/android.html
=====Libraries
https://github.com/JStumpp/awesome-android
Navigation Drawer
http://www.coderzheaven.com/2013/06/28/navigation-drawer-android/
http://www.android4devs.com/2014/12/how-to-make-material-design-navigation-drawer.html
http://www.android4devs.com/2014/12/how-to-make-material-design-navigation-drawer.html
android ui
Android端App设计经验小分享
http://www.liweiliang.com/archives/309.html
DESIGNING BY LEARNING
設計,是在不理性中尋找更多的理性
https://heywesley.wordpress.com/
APP设计之一稿走天下 - Sketch项目实战经验
http://www.ui.cn/detail/60848.html
我用Sketch 設計Android app 的 工作流程
http://www.liweiliang.com/archives/309.html
DESIGNING BY LEARNING
設計,是在不理性中尋找更多的理性
https://heywesley.wordpress.com/
APP设计之一稿走天下 - Sketch项目实战经验
http://www.ui.cn/detail/60848.html
我用Sketch 設計Android app 的 工作流程
https://medium.com/sketch-app-sources/%E6%88%91%E7%94%A8-sktch-%E8%A8%AD%E8%A8%88-android-app-%E7%9A%84%E5%B7%A5%E4%BD%9C%E6%B5%81%E7%A8%8B-5062c337b64b#.k22hx83yr
Android open source app for study
http://p.codekk.com/
https://en.wikipedia.org/wiki/List_of_free_and_open-source_Android_applications
https://github.com/pcqpcq/open-source-android-apps
https://github.com/FredJul/Flym
https://github.com/gdg-x/frisbee
https://en.wikipedia.org/wiki/List_of_free_and_open-source_Android_applications
https://github.com/pcqpcq/open-source-android-apps
https://github.com/FredJul/Flym
https://github.com/gdg-x/frisbee
[轉]stanford CS 193A: Android App Development, Winter 2016
http://web.stanford.edu/class/cs193a/videos.shtml
=====
http://www.codeceo.com/article/tag/android
http://yun.lu/student/scheme/detail/4_0?from=CodeCEO.com_LeftBanner1
=====
http://www.codeceo.com/article/tag/android
http://yun.lu/student/scheme/detail/4_0?from=CodeCEO.com_LeftBanner1
Can not understand couchbase todolite demo Q1: doucment id p:xxoooxx Q2:facebook login auto add user
http://stackoverflow.com/questions/30905279/can-not-understand-couchbase-todolite-demo/30931841#30931841
[轉]Couchbase Lite stops syncing when an app resumes from background
http://stackoverflow.com/questions/20822285/couchbase-lite-stops-syncing-when-an-app-resumes-from-background
answered Dec 30 '13 at 12:55

MonkeyBonkey
Looks like if I set the replication to "persistent" it resumes on app backgrounding
e.g._pull.persistent = YES;
answered Dec 30 '13 at 12:55
MonkeyBonkey
Looks like if I set the replication to "persistent" it resumes on app backgrounding
e.g._pull.persistent = YES;
訂閱:
文章 (Atom)



