Friday, March 11, 2011

[android-developers] why does open DataBase Error

My code open DataBase is Error .Error info Sqlite register_localized_collators. Why?

My code:
public class DataBase extends SQLiteOpenHelper{
  public DataBase(Context context) {
        super(context, "abc", null, 1);
    }
   
   public vod test(){
     SQLiteDatabase db= getReadableDatabase();   //Error
     db.rawQuery("select * from abc",null);
   }
  
}




--
Cary

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment