[android-developers] Re: T-Mobile G1: How to properly resume View's focus when Activity resumed from screen black-out?

2009-01-05 Thread shaunke...@gmail.com
Try keepScreenOn: http://code.google.com/android/reference/android/view/View.html#attr_android:keepScreenOn On Dec 31 2008, 12:58 pm, Toothy Bunny hongkun...@gmail.com wrote: Hi All, If the G1 is idle for short period (no user input) while a Activity is still running, the screen blacks out

[android-developers] Re: What happens to the database when app is upgraded

2009-01-05 Thread shaunke...@gmail.com
Are you using a class that extends SQLiteOpenHelper to open your DB. You should be able to specify a version number then override the onUpgrade method in your SQLiteOpenHelper to update your db from earlier versions. See: