A (175)

(Tuis.) #1
CHAPTER 15: Developing for Android Wearable Devices 567

Once you do this, you will get the F: and a G: drives and icons in your Windows Explorer, which you
can see in Figure 15-19. If you have other drives, such as several hard disk drives, these letters may
be a bit different.


Next, let’s locate the EarthTime.apk file for the application. Since you ran it in the emulator, you
know that this exists, so open your /workspace and /EarthTime folders. The logical place to store
your executable would be in the binary (/bin/) folder, so let’s look for it there first.


Click on the /workspace/EarthTime/bin/ folder path, and look for the EarthTime.APK file. As
you can see, it is there, and is less than 400KB, and therefore is currently quite well optimized. If
you wanted to support smartphones and tablets and iTV sets, and put the HDPI and XHDPI image
assets into those folders, this APK file size will grow even larger, probably to a couple of megabytes
or more.


Right-click on the EarthTime.apk file in the /bin folder, shown in Figure 15-18, and select the Copy
menu option. This will then put a reference to this file into your OS clipboard area in memory.


Figure 15-18. Find the .APK file for the EarthTime application, called EarthTime.apk, in the EarthTime project /bin folder


Now expand the view of Windows Explorer so that you can see the F: and G: drives that are on the
Neptune Pine smartwatch. You are going to copy the EarthTime.apk file to the SD card
(the G: drive) on the Neptune Pine. The source folder, file, and destination folder (G:) are shown in
Figure 15-19. Once the file is in the G: drive, it has been transferred over the USB cable, from your
workstation over onto your Neptune Pine smartwatch.

Free download pdf