I have set the permissions, because of which it works on 2 devices. My
only concern is the code is not consistent on all devices, not sure what
mistake I have done.
-Ankur.
On Tue, Nov 8, 2011 at 9:09 PM, Pawan Singh Rathore
pawan.s.rath...@gmail.com wrote:
Have you set permission to access
Hi,
The following code returns a null Cursor to me
String[] projection = {MediaStore.Images.Media._ID};
// Create the cursor pointing to the SDCard
Cursor cursor = managedQuery( MediaStore.Images.Media.EXTERNAL_CONTENT_URI,
projection, // Which columns to return
null, // Return all rows
Have you set permission to access SDCard in manifest file ?
These silly mistakes I often do.
Thanks BR,
Pawan Rathore
On Wed, Nov 9, 2011 at 10:09 AM, Ankur Avlani ankuravl...@gmail.com wrote:
Hi,
The following code returns a null Cursor to me
String[] projection =
3 matches
Mail list logo