Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 8 of 8
  1. Thread Author  Thread Author    #1  

    Default VideoView and Content Provider

    Hi,
    According to the Android API for VideoView, it can load images (videos) from a content provider.
    Yet I can not find any examples of how to write a content provider that can do this.
    Can you point me to such an example?

    Thanks,
    Paul
  2. #2  
    wizzrah's Avatar

    Posts
    4,678 Posts
    Global Posts
    4,693 Global Posts
    Carrier
    Kitkat

    Default Re: VideoView and Content Provider

    Quote Originally Posted by plevintampabay View Post
    Hi,
    According to the Android API for VideoView, it can load images (videos) from a content provider.
    Yet I can not find any examples of how to write a content provider that can do this.
    Can you point me to such an example?

    Thanks,
    Paul
    Hello. Are you referring to this one? https://developer.android.com/refere...VideoView.html
  3. Thread Author  Thread Author    #3  

    Default Re: VideoView and Content Provider

    Yes that is the VideoView I am talking about.
  4. #4  
    wizzrah's Avatar

    Posts
    4,678 Posts
    Global Posts
    4,693 Global Posts
    Carrier
    Kitkat

    Default Re: VideoView and Content Provider

    Quote Originally Posted by plevintampabay View Post
    Yes that is the VideoView I am talking about.
    Maybe this might help you: Implementing Video Playback on Android using the VideoView and MediaController Classes - Techotopia
  5. Thread Author  Thread Author    #5  

    Default Re: VideoView and Content Provider

    Thank you for the reply, but NO, there is nothing in that web site (book) that shows how to use VideoView with a Content Provider. The VideoView example sets the video path to an mp4 file on the web.
  6. #6  
    wizzrah's Avatar

    Posts
    4,678 Posts
    Global Posts
    4,693 Global Posts
    Carrier
    Kitkat

    Default Re: VideoView and Content Provider

    Quote Originally Posted by plevintampabay View Post
    Thank you for the reply, but NO, there is nothing in that web site (book) that shows how to use VideoView with a Content Provider. The VideoView example sets the video path to an mp4 file on the web.

    Alright, try this: Play Video File - Android Example

    Also, I found you on StackExchange Someone replied to your question.
  7. Thread Author  Thread Author    #7  

    Default Re: VideoView and Content Provider

    Thanks again, but again that is not a content provider. That code is playing a video file that is a resource in the project.
  8. #8  
    wizzrah's Avatar

    Posts
    4,678 Posts
    Global Posts
    4,693 Global Posts
    Carrier
    Kitkat

    Default Re: VideoView and Content Provider

    Quote Originally Posted by plevintampabay View Post
    Thanks again, but again that is not a content provider. That code is playing a video file that is a resource in the project.
    *Snaps fingers* Dang it. I'll see if I can get someone else to help. I am not experienced in Android API's or Android App Development in General. Too bad it's not Visual Basic!

Similar Threads

  1. K9 Email App "Loses" Settings and Login Info
    By Darth Spock in forum Ask a Question
    Replies: 1
    Last Post: 08-31-2014, 10:49 PM
  2. Comment reply email notifications and Gmail
    By anonymous-bot in forum Site Feedback & Help
    Replies: 1
    Last Post: 06-24-2014, 08:35 AM
  3. Replies: 13
    Last Post: 06-23-2014, 05:13 PM
  4. Nexus 7 (2012) Wi-Fi and Bluetooth interference
    By irishconscript in forum Google Nexus 7 Tablet (2012)
    Replies: 1
    Last Post: 06-23-2014, 04:24 PM
  5. Parallels and Note 10.1 (2014 Edition)
    By Raymond Hubbard in forum Samsung Galaxy Note 10.1 (2014)
    Replies: 1
    Last Post: 06-23-2014, 12:03 PM

Posting Permissions