android - How to implement gallery when data(Images and audio path) are coming from server, with swipe on it? -


i have implemented gallery showing images right now,but have display both images , audio files having swipe option on it.on swipe has show next image/audio,all data(image/audio path) coming server.any example or code appreciated. thank in advance.

to achieve :

1 : create simple viewpager , set adapter contain view , audio file. -http://developer.android.com/training/animation/screen-slide.html

  1. use lazy loading image , download audio file in sd-card , show loader on view while loading.

-https://github.com/novoda/image-loader

-https://github.com/wuman/androidimageloader

if below link ful can use it.

https://github.com/trinea/android-common

for download audio file :

http://www.coderzheaven.com/2012/04/29/download-file-android-device-remote-server-custom-progressbar-showing-progress/

  1. after download audio file can play it.

  2. and please mention check download undownloaded audio.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -