2017年8月11日 星期五

[Android] fixed can't login issue in Google Drive Android API Demos project

https://github.com/googledrive/android-demos

1. Referenct *1 and try to use the Terminal in Android Studio and type

Woindows version:
"keytool -exportcert -alias androiddebugkey -keystore C:\Users\XXXXX.android\debug.keystore -list -v" 

macOS version: 
"keytool -exportcert -alias androiddebugkey -keystore /Users/XXXXX/.android/debug.keystore -list -v"

Not the keystore that you generate, once you want the debug mode.

The path for the "debug.keystore" and the password is "android"
2. Setting SHA1 in https://console.developers.google.com and create OAuth ID and API Key.
And past the key number to your Android Project.

ex:



OAuth ID


 API Key



https://developers.google.com/drive/android/get-started#get_an_android_certificate_and_register_your_application

If you can login sucess from the above step, then you could do the familiar step to use GoogleMap API.
https://developers.google.com/maps/documentation/android-api/signup

reference:
*1 https://github.com/googledrive/android-demos/issues/43
*2 https://github.com/googledrive/android-quickstart/issues/7

2017年6月27日 星期二

[Arduino] ultrasonic bebebe servo gun

My Third Rubber Gun.





[Source Code]


--------------------------------------
The Second  Rubber Gun.



My First Rubber Gun.
idea from: *1



Refference:
*1. https://www.youtube.com/watch?v=kh3-SYCRl5Q
*2. http://www.instructables.com/id/Easy-arduino-sentry-gun/

2017年5月17日 星期三

Find the connected device

Issue: Can't I detect android device with usb type-c in Qt and Android Studio IDE?

Description: Hence, I try to find the connection state for the android device.


Method:
Confirm that Chrome can see your Android Device
Open the Chrome browser on your workstation and type "chrome://inspect" into your Chrome browser’s URL bar (it is not necessary to include /#devices).
https://software.intel.com/en-us/xdk/docs/configuring-your-windows-usb-android-debug-connection-for-the-intel-xdk



Not Working Method:
http://stackoverflow.com/questions/7135999/adb-not-finding-my-device-phone-macos-x/21106042#21106042
http://stackoverflow.com/questions/7135999/adb-not-finding-my-device-phone-macos-x
https://android.stackexchange.com/questions/132376/cant-get-adb-on-macbook-to-see-pixel-c
quit adb by using Termainal and restart adb from Android Studio
http://stackoverflow.com/questions/15029581/asus-memo-pad-debug-for-android-apps?rq=1
I can detect zefone zoom, zenfong 3 with use type-c and android 7.


2017年5月14日 星期日

2017年4月27日 星期四

Watching your video from phone to TV with cable.


Mobile High-Definition Link

Does your phone support MHL cable?  How to check the MHL function from your phone?

Scan this QR Code in your mobile to check whether your device support MHL technology.






Reference.
https://www.quora.com/Does-the-Samsung-Galaxy-Grand-support-HML-cable

2017年1月19日 星期四

汽(機)車過戶

汽(機)車過戶

應備證件:

行車執照。

雙方身分證正本。

過戶登記書並蓋妥雙方印章。

過戶申請書

汽車過戶作業說明:

https://www.youtube.com/watch?v=lssvWaPfv7o

首頁 » 監理服務 » 汽機車 » 車輛牌照 » 汽車過戶
http://www.thb.gov.tw/page?node=22afef6c-7b5d-4346-8d9d-9f2f19f395f0

【小知識】汽(機)車過戶流程:
http://xfish.pixnet.net/blog/post/12024880-%E3%80%90%E5%B0%8F%E7%9F%A5%E8%AD%98%E3%80%91%E6%B1%BD(%E6%A9%9F)%E8%BB%8A%E9%81%8E%E6%88%B6%E6%B5%81%E7%A8%8B