Android Tutorials - Herong's Tutorial Examples - v3.05, by Herong Yang
Archived: Copy PDF File to Android Emulator's File System
This section provides a tutorial example on how to copy PDF files to the Android emulator's file system using the 'adb' tool provided in the SDK package.
This tutorial was based on Android SDK R17 with Android 4.0.3 and left here as a reference.
To test the Android PDF Viewer, I need to copy PDF files into the emulator's file system. This can also be done with the "adb" command tool.
1. Run the Android emulator through the AVD Manager and wait for the emulator to be fully booted.
2. Copy a PDF file to the Android emulator using the "adb" tool:
C:\local\android-sdk-windows\platform-tools>adb push \ \herong\herong_book_Android.pdf /sdcard/Download 201 KB/s (641829 bytes in 3.115s)
3. Go to Android emulator and run "Android PDF Viewer" again.
4. Click the "Browse" icon next to the "PDF File" field. herong_book_Android.pdf is listed in the /mnt/sdcard/Download folder on the emulator.
5. Click "herong_book_Android.pdf" to select the PDF file and click the "Show" button. My PDF book will be displayed on the Android PDF Viewer:
Table of Contents
Installing JDK 1.8 on Windows System
Installation of Android SDK R24 and Emulator
Installing Apache Ant 1.9 on Windows System
Developing First Android Application - HelloAndroid
Android Application Package (APK) Files
Android Debug Bridge (adb) Tool
AboutAndroid - Application to Retrieve System Information
android.app.Activity Class and Activity Lifecycle
View Objects and Layout Resource Files
Using "adb logcat" Command for Debugging
Build Process and Package File Content
Samsung Galaxy Tab 3 Mini Tablet
USB Debugging Applications on Samsung Tablet
USB Debugging Applications on LG-V905R Tablet
USB Debugging Applications on LG-P925g Phone
Archived: Downloading and Installing JDK 1.7
Archived: Downloading and Installing Android SDK R17
Archived: Running Android SDK Manager
Archived: Installing Android Platform 4.0.3 and Libraries
Archived: Verifying Android Platform Installation
Archived: Creating Android Virtual Device (AVD)
Archived: Launching Android Emulator in AVD Manager
Archived: Android Emulator Built-in Applications
Archived: Android Emulator Built-in Web Browser
Archived: Downloading and Installing Apache Ant 1.8
Archived: "HelloAndroid" - First Android Project
Archived: Building the Debug Binary Package
Archived: Installing the Debug Binary Package
Archived: Running the Debug Binary Package
Archived: Rebuild the Debug Binary Package
Archived: Redefine Text in Resource Files
Archived: Installing Android PDF Viewer APK File
►Archived: Copy PDF File to Android Emulator's File System
Archived: Installing Adobe Reader APK File
Archived: "adb shell" - Remote Shell Interface