Java Reference
In-Depth Information
directory containing the ant -generated R.java file (in a ca\tutortutor\j7ma
directoryhierarchy),andstoresthecreated Java7MeetsAndroid-debug.apk file
in the bin subdirectory.
Installing and Running Java7MeetsAndroid
Ifyousuccessfullycreated Java7MeetsAndroid-debug.apk ,youcaninstallthis
APK on the previously started AVD. You can accomplish this task by using the adb
tool, as follows:
adb install
C:\prj\dev\Java7MeetsAndroid\bin\Java7MeetsAndroid-de-
bug.apk
After a few moments, you should see several messages similar to those shown here:
325 KB/s (223895 bytes in 0.671s)
pkg: /data/local/tmp/Java7MeetsAndroid-debug.apk
Success
Youmighthavetorepeattheaforementionedcommandlineafewtimesshouldyou
encounter a “device offline” error message.
Select the app launcher (grid) icon at the bottom of the home screen. Figure 12-9
shows you the highlighted Java7MeetsAndroid entry.
Search WWH ::




Custom Search