Android Package .apk Installation


For debugging:

  • Enable USB debugging on your phone (settings -> applications -> development).
  • Connect your phone to the computer, and make sure you have the correct drivers installed.
  • In Eclipse, run your project as an Android application (right click project -> run as -> Android application).

Installing the APK file (using ADB):

  • Export the APK file, make sure you sign it (right click project -> Android tools -> export signed application package).
  • Connect your phone, USB debugging enabled.
  • from the terminal, use ADB to install the APK file (adb install path-to-your-apk-file.apk).ADB –

Installing the APK file (Without USB) :

  • use  (Install using QR barcode App) or
  • use  (Install using QR barcode App) or
  • If you have access to a Gmail account on the phone then an easy way (in terms of minimal set up effort) is to mail the .apk file to that Gmail account. If you then access that account from the native Gmail app on the phone it recognises that the attachment is an app and offers an “Install” button.
  • If you dont have SDK or you are setting up 3rd party app here is another way:
    1. Copy the .APK file to your device.
    2. Use file manager to locate the file.
    3. Then click on it.
    4. Android App installer should be one of the options in pop-up.
    5. Select it and it installs.

How to publish your Android app to marketplace / web store


To publish on Google Play, a new Android developer only needs to pay a one-time registration fee of $25 (USD) to set up a publishing account that allows unlimited number of apps submission. Typically, apps are available for purchase and download within hours of submission. That is fast and efficient!

apple ios

In comparison, to be able to distribute apps on the Apple App Store, an new iOS developer has to first sign up for an Apple Developer account, then enrol in Apple’s iOS developer program which will set you back by $99 (USD) every year. Typically, a submission to the Apple App Store can take 4 to 6 weeks for approval before becoming available to consumers. In today’s highly-competitive app marketplace, this time-to-market differential is significant.

Serial Communications – TTL and RS232

Serial input/output is one of the widely used debugger tool.

Today, most microcontrollers have built in UARTs (universally asynchronous receiver/transmitter), which can be used to receive and transmit data serially.

UARTs transmit one bit at a time at a specified data rate (i.e. 9600bps, 115200bps, etc.). This method of serial communication is referred as TTL serial (transistor-transistor logic).

RS-232 (Recommended Standard 232)signals are similar to microcontroller’s serial signals in that they transmit one bit at a time, at a specific baud rate, with or without parity and/or stop bits.

The two differ only at a hardware level.


Serial communication at a TTL level will always remain between the limits of 0V and Vcc, which is often 5V or 3.3V.
A logic high (‘1′) is represented by Vcc, while a logic low (‘0′) is 0V.

By the RS-232 standard a logic high (‘1′) is represented by a negative voltage:  anywhere from -3 to -25V – while a logic low (‘0′) transmits a positive voltage that can be anywhere from +3 to +25V.

On most PCs these signals swing from -13 to +13V

How to interface these 2 signals ?

Simple solution is, place a MAX232 in between the devices.


Other less expensive solution is as below.


Bluetooth Application Development


Bluetooth Low Energy BLE (spec 4.0) Vs Classic:

PDF – Bluetooth Low Energy vs Bluetooth Classic

Bluetooth Profiles:

Developer Portal:

BLE Framework/Stack:

CoreBluetooth framework [iOS, Mac]
BlueDroid framework [Android]