I have API which gives all media files i.e Video, Audio and Images urls available on server. Now i have to create custom cover flow gallery which will display all images,audio and videos available on web server. And click on that respective operation will perform. For example: Custom gallery will contains all images, audio and videos if user clicks on image it will display image in different window, if clicks on video it will play video file in different window, same case with audio file.

Can you please provide any sample code or link or any idea regarding the same?

If any library is available that would be great.

有帮助吗?

解决方案

You have a lot of tasks to approach your objective.

First, to take the data you can use a json with data of your gallery, like type (image, video, audio), title, description, url of thumb, url of file, etc.. You can use gson to convert the data. To request the thumbs I recommend the Universal Image Loader for Android, it even have some gallery demos.

You need to search about Activity to start another activities and adapters to populate your lists.

I don't know what is your knowledge about Android development so I recommend read Vogella tutorials.

Good luck!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top