Skip to content Skip to sidebar Skip to footer

Android Running Sql Statement In Background

I am having some trouble with Alarm manager in Android. What I've encountered is when I set the alarm to repeat for every single minute, it works: mgr.setInexactRepeating(AlarmMana

Solution 1:

Did you try the alarm with 1 min interval by closing the application, and check whether the DB insertion is happening or not?

Also can you try changing:

DatabaseAdaptermDbHelper=newDatabaseAdapter(context.getApplicationContext());

with

DatabaseAdaptermDbHelper=newDatabaseAdapter(context);

Post a Comment for "Android Running Sql Statement In Background"