¶ ↑Download Eclipse with SDK ADT Bundle
¶ ↑Download this sample
¶ ↑Launch Eclipse and import sample file
unzip adt-bundle-mac-x86_64-20131030.zip then, open adt-bundle-mac-x86_64-20131030/eclipse/Eclipse
If this window display, It is no problem to click “OK”.
¶ ↑Set android device option
On your android device, turn on USB debugging. Settings -> Developer options -> USE debugging
¶ ↑import sample android project
File -> Import click
Select highlight column and click “Next >”
Click “Browse” then, select downloaded sample project directory. Next, turn on “copy projects into workspace”, finally, click “Finish”.
Connect your android device to your pc via USB micro cable. In “Package Explore” of Eclipse, right-click your project and select hight light colunm this image.
Choose your android device and click “OK”. It will start to run your android app.
This is app screen. When you tap bottom button, app detects camera image from DB.
DB has these images. Path is “DetectingSample -> res -> raw”.
When you tap bottom button, “at_and_t_park” will display.
When you tap bottom button, “church” will display.
When you tap bottom button, “uss_pampanito” will display.
Let’s add new image to your DB. Take a photo and save to your PC.
Rename that image (use [a-z0-9_.]). Drop that image to your android project. Next, restart your app. Then app can detect and display that file name.
Copyright © 2013- Masayoshi Nakamura