Skip to content Skip to sidebar Skip to footer

Android Pulling Data From Database

I'm trying to pull the history for the database.... However it never pulls anything... Anyone see what i'm doing wrong Here's the content provider: package com.projectcaruso.natura

Solution 1:

You have an error in

publicstaticfinalUriCONTENT_URI= Uri
        .parse("content://com.projectcaruso.naturalfamilyplaning.statusprovider");

should be

publicstaticfinalUriCONTENT_URI= Uri
        .parse("content://com.projectcaruso.naturalfamilyplaning/statusprovider");

uri parser parses elements by "/" not by dot. So Provider can't be found because there is no authority "com.projectcaruso.naturalfamilyplaning.statusprovider" declared in your manifest.

Post a Comment for "Android Pulling Data From Database"