Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
en:odroidwatch [2014/08/28 10:19] john1117 |
en:odroidwatch [2015/01/28 10:29] (current) john1117 [Make your own smart watch] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Make your own smart watch ====== | ||
+ | {{http://dn.odroid.com/homebackup/201407281304325576.jpg?600|}} | ||
+ | ---- | ||
+ | ==== Preparations ==== | ||
+ | * Odroid W | ||
+ | * ODROID-W Docking Board | ||
+ | * Li-Polymer Battery pack | ||
+ | * Bluetooth module | ||
+ | * Buttons | ||
+ | * Wire and Header pins | ||
+ | * Watch straps | ||
+ | * Your android device | ||
+ | === You should have 2.2" TFT LCD on the odroid-w. === | ||
+ | [[en:odroidwtftlcd | How to use 2.2" TFT LCD on the odroid-w ]] | ||
+ | |||
+ | ==== Build and run ODROID-GEAR Qt application on your odroid-w. ==== | ||
+ | Qt pakage installation. | ||
+ | sudo apt-get install qt4-dev-tools | ||
+ | |||
+ | Get The ODROID-GEAR Qt source. | ||
+ | git clone https://github.com/hardkernel/ODROID-GEAR | ||
+ | |||
+ | Compiling | ||
+ | cd ODROID-GEAR/Qt_odroidgear | ||
+ | qmake -project | ||
+ | Add following line in the Qt_odroidgear.pro | ||
+ | QT += network | ||
+ | Make it! | ||
+ | qmake | ||
+ | make | ||
+ | | ||
+ | ==== Build and Run ODROID-GEAR Android application on your android device. ==== | ||
+ | |||
+ | === How to set up an Android development environment on your Desktop PC === | ||
+ | |||
+ | Java jdk pakage installation. | ||
+ | sudo apt-get install openjdk-7-jdk | ||
+ | |||
+ | Download Android Studio with the Android SDK. | ||
+ | [[http://developer.android.com/sdk/installing/studio.html]] | ||
+ | |||
+ | Get odroid gear android source code. | ||
+ | git clone https://github.com/hardkernel/ODROID-GEAR | ||
+ | | ||
+ | Run Android studio and import Android_odroidgear project in the ODROID-GEAR repo.\\ | ||
+ | Finally, after connected android device, perform "Run app" of IDE menu or "Shift + F10" |