Parent Directory | Revision Log | Patch
revision 276 by torben, Mon Aug 24 18:32:10 2009 UTC | revision 277 by torben, Mon Aug 24 21:48:00 2009 UTC | |
---|---|---|
# | Line 38 public class RadarActivity extends Activ | Line 38 public class RadarActivity extends Activ |
38 | ||
39 | TelephonyManager tlf = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); | TelephonyManager tlf = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); |
40 | deviceId = tlf.getDeviceId(); //get IMEI number | deviceId = tlf.getDeviceId(); //get IMEI number |
41 | radar.setImei( Long.parseLong(deviceId) ); | |
42 | ||
43 | } | } |
44 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |