unzip adt-bundle-mac-x86_64-20131030.zip then, open adt-bundle-mac-x86_64-20131030/eclipse/Eclipse
On your android device, turn on USB debugging. Settings -> Developer options -> USE debugging
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