Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to create an android APP which displays list of videos and Play that videos in the same window?

    • 0
    • 0
    • 0
    • 2
    • 0
    • 0
    • 0
    • 377
    Answer it

    Hi,

    I want to create Android APP, which displays the list of videos of the SDcard on the half side of the screen, and the remaining half side should display the video of which I have selected from the list of videos.

 2 Answer(s)

    1. Create Vertical LinearLayout.
    2. Create Video View with weight 1 inside Linear Layout.
    3. Create RecyclerView/ListView with weight 1 inside Linear Layout.
    4. Add Video List to RecyclerView/ListView.
    5. Implement onItemClickListener of ListView(if you are using) to get position of Item.
    6. Get Item from your list and play into Video View.
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: