I am developing an application which needs to make an http connection to server, display the clip and save the clip in memory so that if user wants then he should be able to see the clip again without going to the server again. Can somebody help with some sample code or a hint to do that?

Also is there any api which can be used in the code to automatically convert the clips from other formats(e.g. mpeg) to 3gpp?

Any help is greatly appreciated.