摘要:
将数据库文件从assets复制到安装文件夹中String DB_PATH = "/data/data/com.example.loldate/databases/"; String DB_NAME = "loldata.db"; //数据库路径及名称 if ((new File(DB_PATH + DB_NAME).exists() == false)) { File f = new File(DB_PATH); if (!f.exists()) { f.mkdir(); ... 阅读全文
摘要:
HashMapArrayList 动态数组 阅读全文
摘要:
xml 1 1 9 9 android:numColumns="auto_fit" 10 10 android:columnWidth="70dp" 11 11 android:stretchMode="columnWidth" 12 12 android:verticalSpacing="10dp" >13 13 activity中的代码public class heroActivity extends Activity { @Override protected void onCreate(B... 阅读全文