Tag Archives: Serial Number

How to find the device ID or Serial Number of an android device?

By | July 11, 2011

Here is a simple API to find the device ID of an android device. There are many ways to get the device ID in android [java] String serial_no = null; try { Class<?> c = Class.forName("android.os.SystemProperties"); Method get = c.getMethod("get", String.class); serial_no = (String) get.invoke(c, "ro.serialno"); System.out.println("Device serial ID : " + serial_no); } catch (Exception e) {… Read More »

How to simulate an incoming call to an emulator OR Send an SMS to an emulator in ANDROID ?

By | April 12, 2011

Hello everyone…… Of course for the above question there are other ways to do it. This is one simple method Start two emulators and call each other, but the problem is it will be time consuming and memory will be consumed. Another method 1. First start your emulator and make sure it’s running. 2. Then go to command… Read More »