suarezjulian/WizardPager

How to use ImagePage?

Wirwing opened this issue · 2 comments

I am trying to add image page to wizard. Pick chooser/capture works, but I don't know how to handle activity's result or set page value.

Thanks in advance!

The image page stores an URI of the selected image, it doesn't matter if this was a new photo taken by the user or a an image selected from the gallery. You can then use the URI to get the actual bitmap and store/show/send somewhere else.

If you want to set the page's value you need to supply a valid URI.

If you need more info on URIs, checkout the content on content providers on android docs (http://developer.android.com/guide/topics/providers/content-providers.html)

On Lollipop ImagePage/ImageFragmet is throwing "Activity result no fragment exists for index 0x40000" after selecting an image or taking a picture.