[android-developers] Re: Error Code 5: Database is locked

2009-10-14 Thread mathias axelsson
I use synchronized(ExampleDbAdapter.class){mDb.insert/update/delete/query...} in ExampleDbAdapter to avoid this. Let me know if there's a better way. On Mon, Aug 24, 2009 at 10:58 AM, Armond Avanes armond...@yahoo.com wrote: So how can I create an in-memory database? I just took a quick look

[android-developers] Re: Set the theme from the application: the background doesn't change

2009-06-14 Thread mathias axelsson
Thank you!! moving super.onCreate did the trick! super.onCreate seems to call getTheme which initiates it(?). On Thu, May 21, 2009 at 9:01 PM, quanghuytruongd...@gmail.com quanghuytruongd...@gmail.com wrote: You can try to put setTheme() before super.onCreate() -- your background will

[android-developers] Re: viewing logcat from phone not possible in Android 1.5?

2009-05-05 Thread mathias axelsson
is available on the Android Market. On May 1, 1:26 pm, fadden fad...@android.com wrote: On May 1, 8:06 am, mathias axelsson mathias.axels...@gmail.com wrote: When running 'su', in terminal, I get 'uid X not allowed to su'. 'logcat' gives permission denied /dev/log/main. To avoid

[android-developers] viewing logcat from phone not possible in Android 1.5?

2009-05-01 Thread mathias axelsson
Hi, After installing Android 1.5 on my ADP I can't check logcat directly from the phone. When running 'su', in terminal, I get 'uid X not allowed to su'. 'logcat' gives permission denied /dev/log/main. If I get an exception/force close in any of my apps I'd like to be able to check the