80,472
社区成员




String str;
sqLiteDatabase.beginTransaction();
try
{
for (int i = 0; i < 1000000; i++)
{
str = "张" + Integer.toString(i + 1);
contactsDB.AddContactsData(sqLiteDatabase, str, str, str, str, str, str);
listContact.add(new Person(str,str,str,str,str,str));
}
sqLiteDatabase.setTransactionSuccessful();
}
catch (Exception e)
{
throw e;
}finally {
sqLiteDatabase.endTransaction();
}