cipheroidharshal / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Image Loading Support for ContentProvider uri #118

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. When use image loading, use ContentProvider uri as string such as
String url = 
ContentUris.withAppendedId(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, 
1).toString();

What is the expected output? What do you see instead?
see the content of the uri

What version of the product are you using? On what operating system?
0.24.3.  Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by noranb...@gmail.com on 21 Jan 2013 at 11:18

GoogleCodeExporter commented 8 years ago
I changed BitmapAjaxCallback.java to support uri. (based on 0.24.3)

I used ContentResolver and get filepath from _DATA column.
At first I wanted to use cr.openInputStream but found out 
BitmapFactory.decodeStream() needs more memory than BitmapFactory.decodeFile().

Original comment by noranb...@gmail.com on 4 Feb 2013 at 3:00

Attachments: