Unable to access Android content provider -


i can see in logcat activitymanager reporting particular content provider. use following code try access content provider in order learn more it:

    cursor cursor = context.getcontentresolver().query(uridsds, null, null, null, null);       string[] columnnames = cursor.getcolumnnames();             log.d(tag, "columnnames=" + columnnames.tostring()); 

unfortunately, after trying cursor, see following error in logcat:

failed find provider __

what's problem? why can not access provider? access restricted apps? there way go adb or else see of available content providers on device?

make sure add correct uri example

uri uridsds = uri.parse( "content://aaa.aaa/values");


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -