3 Replies - 502 Views - Last Post: 08 March 2014 - 04:02 PM

#1 rumbitas   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 98
  • Joined: 07-December 10

How to show some videos of a remote folder (server)?

Posted 03 March 2014 - 06:00 AM

Hi, I'm trying to read some stuff of how to get videos of a server and put them on an activity of android. I would like to do something like the next pic.

Posted Image

I know that it is an ambiguos question, but I don't know how to start.

- How to implement the server side. Shared folder? (No idea)
- How to retrieve this files to the mobile (No idea)



If you could tell me some tutorials or samples to start, I'd really appreciate it. Thanks.

Is This A Good Question/Topic? 0
  • +

Replies To: How to show some videos of a remote folder (server)?

#2 EndLessMind   User is offline

  • Android Expert
  • member icon

Reputation: 273
  • View blog
  • Posts: 1,252
  • Joined: 13-March 09

Re: How to show some videos of a remote folder (server)?

Posted 04 March 2014 - 08:13 AM

I'll give you some help.
For the server-side. Use a FTP-server.
That way you can just use a VideoView or MediPlayer to just stream the video via an url :)

Hope this helps
Was This Post Helpful? 0
  • +
  • -

#3 rumbitas   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 98
  • Joined: 07-December 10

Re: How to show some videos of a remote folder (server)?

Posted 08 March 2014 - 11:45 AM

View PostEndLessMind, on 04 March 2014 - 04:13 PM, said:

I'll give you some help.
For the server-side. Use a FTP-server.
That way you can just use a VideoView or MediPlayer to just stream the video via an url :)/>

Hope this helps


Hi, It is a possible solution. What I am doing, is to get from the server a list of url of the files, like, www.mypage.com/videos/test1.mp4, and I parse this list with the download manager of Android To Download the URL. When I will finish my source, I will upload here to the rest.

Sorry for my english
Was This Post Helpful? 0
  • +
  • -

#4 EndLessMind   User is offline

  • Android Expert
  • member icon

Reputation: 273
  • View blog
  • Posts: 1,252
  • Joined: 13-March 09

Re: How to show some videos of a remote folder (server)?

Posted 08 March 2014 - 04:02 PM

Okay. With a FTP server, it would work similarly, but the url would be like http://*ip*/videos/test1.mp4
I would storage the url's in a MySQL database, and use a PHP script to get the url to the desired video (like searching for a video or what ever)
But you don't need a download manager to watch the videos, you could just stream them directly from the server using a VideoView or MediaPlayer and the url. :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1