Back to project page FrameLite.
The source code is released under:
GNU General Public License
If you think the Android project FrameLite listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.miku.framelite.utils; //w w w . j a v a 2s .c o m import android.content.Context; import android.telephony.TelephonyManager; public class TelePhoneUtils { private TelePhoneUtils() {} public static String getDeviceId(Context context){ TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); return tm.getDeviceId(); } }