连接到从Android的NAS设备 [英] Connect to NAS device from Android

查看:840
本文介绍了连接到从Android的NAS设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想的NAS支持添加到我的应用程序之一,这是至关重要的,应用程序能够流的内容,并且它不具有将其下载到该设备。该应用程序将在设备上的视频流内容,所以一旦影片结束,不应该有任何大的视频文件。

I'd like to add NAS support to one of my application, and it is critical that the application is capable of streaming the content and that it not has to download it to the device. The application will be streaming video content, so once the video is over, there shouldn't be any large video files on the device.

我试过到目前为止:


  • JCIFS - 精美的作品,但不能够流的(据我所知)。我已经成功地创建使用JCIFS设备上的视频文件,但他们仍然在那里,视频播放停止时。

  • 临时文件 - 我知道Android应该是能够支持临时文件,但我不知道它是如何工作的,或者如果它是在这种情况下任何好处。只是一个想法,基本上是这样。

  • jCIFS - Works beautifully, but isn't capable of streaming (to my knowledge). I've successfully created video files on the device using jCIFS, but they're still there, when the video playback stops.
  • Temporary files - I know that Android is supposed to be able to support temporary files, but I'm not sure how it works or if it's any good in this situation. Just a thought, basically.

我的应用程序必须能够发起一个视频的意图与NAS设备上的视频,这应该是任何视频播放器播放。我知道,对市场的支持NAS设备的一些应用程序(和SMB / CIFS连接),但我不知道它是如何工作的。

My application must be able to launch a video intent with a video on the NAS device, and it should be playable in any video player. I know that some applications on Market support NAS devices (and SMB / CIFS connections), but I don't know how it works.

任何建议或想法会大大AP preciated。

Any suggestions or ideas would be much appreciated.

推荐答案

我认为你必须在以下问题讨论的HTTP服务器之间的创建:<一href=\"http://stackoverflow.com/questions/9058135/android-serversocket-programming-with-jcifs-streaming-files\">Android ServerSocket的编程JCIFS流文件

I think you have to create an in between http server as discussed in the following question: Android ServerSocket programming with jCIFS streaming files

这篇关于连接到从Android的NAS设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆