import android.content.Context;
import android.telephony.TelephonyManager;
class Main {
public static String getIMSI(Context ctx) {
TelephonyManager tm = (TelephonyManager) ctx
.getSystemService(Context.TELEPHONY_SERVICE);
return tm.getSubscriberId();
}
}