Du bruger
private static final String AUTHORITY = "com.example.todos.contentprovider";
// It should same as you defined in manifest
Så dette
Caused by: java.lang.IllegalArgumentException: Unknown URL content://com.example.todos.contentprovider/todos
Så sørg for at definere din ContentProvider
med samme authority
i manifest.xml
<provider
android:authorities="com.example.todos.contentprovider"
android:name=".YOUR_ContentProvider" >
</provider>
Håber dette vil virke for dig.