开发者

streaming data from a server

I would like to have all my data on a server be streamed into my iphone 开发者_StackOverflow中文版app.

How does this work?

e.g. images, text and sound

Should this be read into an array and then manipulated?

As I would like the app to be update-able whenever new content is added to the server.

This obviously means building the app in such a way that it wont crash or have errors due to updates.

How is this done? Is there single folder for each which is streamed in e.g. sound clips folder.

Thanks


What i understood from your question is that you want to play sounds, videos on your iphone app over the internet.

Images:

To display image on your iphone over the internet is very easy all you have to do is publish your website somewhere then iphone will use the hyperlink of that image meaning like when you browse any image in your browser you get e.g:

http://www.google.com/images/logos/ps_logo2.png your iphone app will just call this URL to display the image.

For Sound And Videos

They both will also be published on the website and they will have URL so that your iPhone App can access them to pause & stop the sound/video you just have to stop buffering & as a precaution you can save the location of buffer & if you want to Resume just start buffering from the saved buffer location

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜