摘要:
1.Md5(unrecommented)public static String md5(String string) { byte[] hash; try { hash = MessageDigest.getInstance("MD5").digest(string.getBytes("UTF-8")); } catch (NoSuchAlgorithmException e) { throw new RuntimeException("Huh, MD5 should be supported?", e); } catch (Uns 阅读全文
posted @ 2012-08-14 15:06
Epirus
阅读(1561)
评论(0)
推荐(0)
摘要:
1.give permission : code:<uses-permission android:name="android.permission.READ_PHONE_STATE" />2.textView=(TextView)findViewById(R.id.textView);textView.setText(((TelephonyManager) getSystemService(TELEPHONY_SERVICE)).getDeviceId()); 阅读全文
posted @ 2012-08-14 09:19
Epirus
阅读(549)
评论(0)
推荐(0)

浙公网安备 33010602011771号