This is part two of "Deploying Android Apps" blog series and in this we will explore more details about how to deploy non-market apps on device.
Before you install any non-market app on your device, you have to make sure that your device is ready to install apps from ‘unknown sources’. To do this, navigate to Menu -> Settings -> Applications and check the box marked ‘Unknown Sources’ (as shown in Fig 1).
Note: On some devices you will not get this 'unknown source' option or it may be non-editable.
Figure 1: Enabling installation from 'Unknown Sources'
Figure 2: Installation error for Non-market apps
1 Using File Explorer
- Install file manager – As Android does not have native file explorer feature/app to browse the data on your SD card, you need to install file manager app from Android market. There are lots of file explorer apps available, but my personal favorite is ES File Explorer. You can use any of the below mentioned file manager apps
- ES File Explorer
- ASTRO File Manager
- File Expert
- File Manager
- Copy APK file to SD card – Once you have installed file explorer app, connect your device to PC using USB cable. Mount the SD card and copy the required .apk file on SD card.
- Install APK – Using file explorer app on device you navigate to the APK file and click on it. Follow on screen instructions to install the app. Different file explorer apps will show different options before actual APK installation starts.
2 From Website
- Host the APK file on your website. Create webpage which will have hyper link to APK file. Use this webpage or direct link of APK file in your Android device browser.
- Web server should have the APK mime type set up (application/vnd.android.package-archive)
- Browser will download the APK file
- Clicking on downloaded APK file in browser’s ‘Downloads’ section will start installation procedure
3 Using Dropbox
Dropbox is really a versatile app and is a waste if we don’t fully utilize it. The method is simple. In your computer, download the apk file to your Dropbox folder. Let it finish syncing. In your phone, open the Dropbox app, navigate to the folder where you keep the apk file, click on it. Dropbox will then download the apk file. The usual installation follows
4 Using Online APK Installer
The online apk installer is a web app created by a helpful XDA-Developers forum member htc-hd2, with the aim to make manual installation of an .apk file much easier. It is useful if you want to share an apk file with a friend. Following figure shows steps involved in this method.
Figure 3: Online APK Installer
- Upload file - First navigate to http://www.apkinstall.com site. Click ‘Browser Files…’ button and select the APK file to upload on server. Uploaded file will remain active for 15 minutes only.
- Scan QR code – Once APK file uploaded on site, QR code will appear on site. You can scan this QR code with barcode scanner on device. Once the QR code has scanned, you can click on the link to download the APK file straight to your device
- Install APK - After the APK file has downloaded to your Android device you can install it by simply clicking on it and navigating through the installation instructions.
5 Using ADB
- Install Android SDK on your desktop. You also need to install USB drivers to connect the device to your PC.
- Go to settings->SD Card and Phone Storage->Disable Use for USB storage. You can enable it again later.
- Now just open command prompt on your PC and type ‘adb install path/file.apk’
- Where path is the full path to the APKfile and file is the name of APK file.
- Your application will get installed on device.