Recipe 11.5 Deploying Your App Through an SD Card

Android Versions
Level 1 and above
Permissions
None
Source Code to Download from Wrox.com
None

Besides sending the APK file to users through the web or e-mail, you can also pass it physically through an external storage medium, such as an SD card. This recipe shows you how.

Solution

To deploy your app through an SD card, simply copy your APK file to the SD card and then pass it to your users. On the Android device, users need to use a third-party file manager, such as the Astro File Manager, to view the content of the SD card. Figure 11-17 shows the Astro File Manager displaying the content of the SD card.

To install the app, simply tap on it. The dialog shown in Figure 11-18 will appear.

From here, the user can directly install the app or select Open App Manager to examine the content of the app before installing (see Figure 11-19).

Recipe 11.6 Specifying the Application Installation Location

Android Versions
Level 8 and above
Permissions
None
Source Code to Download from Wrox.com
InstallToSD.zip

Beginning with Android level 8, you can now install ...

Get Android Application Development Cookbook: 93 Recipes for Building Winning Apps now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.