Accessing files from server
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
精彩评论