Random complete loss of database on Droid only

by EboMike » Thu, 22 Apr 2010 14:06:32 GMT


Sponsored Links
 Several Droid users have reported that my app's entire database just
destroys itself randomly after a few days or so. This seems to be
specific to the Droid. I'm at a loss.

My app has a service that runs in the background to display
notifications, it also supports widgets. Both of those (and the app
itself, of course) access the database, and I marked every accessor to
the database "synchronized", just in case.

Anybody have any remote idea what could cause the entire database to
just vanish?

-Mike

--



Other Threads

1. KeyguardManager question

here is the code for my app

package com.test.bgTest;

import android.app.Activity;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.app.KeyguardManager;

public class BackgroundTest extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        final MediaPlayer mp = MediaPlayer.create(this, R.raw.alert);

        KeyguardManager kg = ( KeyguardManager ) getSystemService
( "keyguard" );

    }
}

i want to be able to alert phone owner when pattern login failed.

but how do i use a listener to actually catch the fail attempt to
unlock keyguard.

--~--~---------~--~----~------------~-------~--~----~

2. Low battery level sound

Hi !

  Is there any chance to set sound when battery charge level fall ?

Greetings from Poland
--
Jan Koprowski

--~--~---------~--~----~------------~-------~--~----~

3. adb wont see my device

4. Error on Http Video Streaming: Prepare Fail

5. About Android SDK translation work

6. Sound when battery chare level low

7. best phone to get? normal g1 vs dev