I'm having this really annoying and strange issue with a ListFragment. The Listfragment works fine at first - updates without any issue even when closing the app and what not. Then after maybe 12 hours, it stops updating.
I have a background thread that collects data and inserts it into an SQLite database and then sends the same data to a server. The server receives the data and I can see that the data is inserted into the SQLite database. The ListFragment then should display this data that is in the SQLite database, but it won't show data that has just been inserted into the SQLite database.
Here's the exception is get from the console.
Here's the manifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="fo.vera.kontakt"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="18"
android:targetSdkVersion="18" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-feature
android:name="android.hardware.bluetooth_le"
android:required="false" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="controller.SignInActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="controller.MainActivity"
android:configChanges="orientation|keyboardHidden|screenSize"
android:label="@string/app_name" >
</activity>
<activity
android:name="controller.ActivitiesListActivity"
android:label="@string/app_name" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value="com.example.MainActivity" />
</activity>
<service
android:name="taskclasses.BluetoothService"
android:enabled="true"
android:exported="false" >
</service>
</application>
</manifest>
Does anyone know what this might be?