Well I originally was going to take the image, scale it down, and store it
in the assets so that the app always had a copy regardless of what happened
to the original.  But that isnt so important as just being able to get them
into my adapter.  The documentation for setImageView says that it will
accept URIs for the simpleCursorAdapter.  So really all i need is to grab
the URI of the image the user selects and store it into the database and it
should be fine. *crosses fingers*

On Mon, Nov 23, 2009 at 4:13 PM, Mark Murphy <[email protected]>wrote:

> JasonMP wrote:
> > Well then I am probably doing this the wrong way.  Essentially what i
> > want to accomplish is for a user to be able to select a picture from
> > the sdcard as an avatar/logo/profile pic/etc and have that image
> > reference stored in my database.  Is there an easy way to do this?
>
> I have no idea how this pertains to assets baked into your APK. In
> theory, you should be able to get a Uri from the MediaStore, assuming
> the image has been indexed, though I haven't played with the MediaStore
> provider as yet.
>
> If not, use OI File Manager or something to allow the user to pick an
> image, and store the file:/// Uri to the SD card in the database.
>
> Then, use that Uri as needed. This may involve subclassing
> SimpleCursorAdapter and overriding setViewImage(), or using a ViewBinder.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android Training in Germany, 18-22 January 2010: http://bignerdranch.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to