开发者

Accessing files from server

开发者 https://www.devze.com 2023-02-08 01:08 出处:网络
I am doing multimedia application, now i am concentrating on to connect Apache web server. I already uploaded some media files in server. I want to access all media file from the server to android dev

I am doing multimedia application, now i am concentrating on to connect Apache web server. I already uploaded some media files in server. I want to access all media file from the server to android device(to client). How to access data from se开发者_JAVA技巧rver?


Get the URLs of those files on the server, and use that URL. But this way, the files will be public.

For other security reasons, you can have a server side script, which can deliver your audio video content by setting correct MIME type, and your Android app can request that script for files .


You can use CouchDB or other NoSQL solutions to access data from your mobile application - http://www.infoq.com/news/2010/08/CouchDB-Android

0

精彩评论

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