Hey Everybody,
I am pleased to publish a library that will allow you to show an image/photo browser.
All you have to do in your code is to use the photo browser object, pass it the list of urls(can be local or remote) and call the Show method, passing in your NavControl object. The photo browser takes care of downloading the images, caching, swipe to view next/previous, zooming etc. It also has a built-in action button that lets you share the images.
As much as I'd like to take credit for this, the real credit should to Michael Waterfall, the author of the wonderful MWPhotoBrowser library. I just sweated over creating the B4i wrapper
I'm copying a link to the library zip as it's a little over the limit (800kb) to attach here. The two library archives(.a files) and the header file(.h file) you need to copy to your local mac builder's Libs directory. If you're using hosted builder, you will not be able to use it unless B4i overlord(Erel) takes the library source from me and decides to add it to base.
You also need to copy the .xml file to your B4i installations libraries directory.
A sample project is also attached here.
The library as it stands is fairly basic. It doesn't currently support any callbacks(events) but I will look into adding some as and when required.
Link:
https://drive.google.com/file/d/0ByDFbtVDbyXZeEM4SkdiYXkzVlU/view?usp=sharing
Have fun!
Harris.
I am pleased to publish a library that will allow you to show an image/photo browser.
All you have to do in your code is to use the photo browser object, pass it the list of urls(can be local or remote) and call the Show method, passing in your NavControl object. The photo browser takes care of downloading the images, caching, swipe to view next/previous, zooming etc. It also has a built-in action button that lets you share the images.
As much as I'd like to take credit for this, the real credit should to Michael Waterfall, the author of the wonderful MWPhotoBrowser library. I just sweated over creating the B4i wrapper
I'm copying a link to the library zip as it's a little over the limit (800kb) to attach here. The two library archives(.a files) and the header file(.h file) you need to copy to your local mac builder's Libs directory. If you're using hosted builder, you will not be able to use it unless B4i overlord(Erel) takes the library source from me and decides to add it to base.
You also need to copy the .xml file to your B4i installations libraries directory.
A sample project is also attached here.
The library as it stands is fairly basic. It doesn't currently support any callbacks(events) but I will look into adding some as and when required.
Link:
https://drive.google.com/file/d/0ByDFbtVDbyXZeEM4SkdiYXkzVlU/view?usp=sharing
Have fun!
Harris.