摘要:
1 /TestGridView/res/layout/main.xml:<?xml version="1.0" encoding="utf-8"?><GridView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/gridview" android:layout_width="fill_parent" android:layout_height="fill_par 阅读全文
摘要:
1 try 2 { 3 String serialnum = null; 4 Class<?> c = Class.forName("android.os.SystemProperties"); 5 Method get = c.getMethod("get", String.class,String.class); 6 serialnum = (String)(get.invoke(c, "ro.serialno","unknown")); 7 seria... 阅读全文