Many thanks for the reply. I'll take that into consideration :)

On Oct 15, 6:48 pm, Kumar Bibek <coomar....@gmail.com> wrote:
> You can get both the Uri and the filepath. You can use both to keep a
> local DB for your app. But I would suggest to keep the Uri in your DB
> and query the MediaStore whenever you want to display the picture.
> This is a way is better than saving the path only.
>
> On Oct 15, 2:53 pm, StephenPengilley<spengil...@gmail.com> wrote:
>
>
>
> > Hi all,
>
> > I am building an app which will let the user take a photo, then add
> > some details which will be stored in a database. I want to be able to
> > store some information (URI?) in the database so that when the user
> > clicks the database entry from a listview it retrieves the photo.  I
> > hope it is clear what I want to do.  Could I instead use a file path
> > to locate the photo? Or do I need the URI? If I do need the URI then
> > how do I get it?
>
> > Stephen

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

Reply via email to