Thank you Mark, I actually thought about making my own UI, and I
hesitated because I thought it made more sense to reuse something
already existing. But after all, I think you're right. It will be
easier to make my own.


On Sep 27, 5:44 pm, Mark Murphy <[email protected]> wrote:
> Jordan B. wrote:
> > Thank you for your answer. I know that you can use Intent#putExtra to
> > pass data to the activity that will handle the intent. My question was
> > rather: is there such a key that makes it possible to pass a set of
> > images?
>
> None that is documented, AFAIK.
>
> >>> If it is not possible, I thought about making my own ContentProvider,
> >>> and passing the URI of the image using this ContentProvider. The
> >>> latter will only contain the set of images that the user may browse.
> >>> Will it work with my own ContentProvider?
>
> It already works with the Media content provider, so it should work with
> yours, if you set it up properly.
>
> All that being said, you may consider what your end functionality will
> be. Third-party activities are pretty much sealed boxes. The more you
> find that you are having to try to twist your code to work with those
> boxes, the more likely it is that you would have spent less time
> building your own UI.
>
> For example, if you decide that you want to add a custom context menu,
> or a custom option menu choice, or even just change the title bar, you
> won't be able to. Every minute you spend trying to get your content
> provider working is a minute you could have rolled your own UI and had
> total control.
>
> In this case, I suspect the activity you are reusing is open source, so
> you could even consider using that source as a starting point for your
> custom implementation.
>
> So, be fairly sure that you can get by with using the built-in activity
> before you fuss too much with the content provider.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> _Beginning Android_ from Apress Now Available!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to