This app hits the Vine API to get all videos from a particular user's timeline. It does this by performing the following tasks:
- Parses and maintains the following API call: https://vine.co/api/timelines/users/918753190470619136
- Creates a ListView using the data from the above call, showing the thumbnail and relevant metadata
- Creates a Video Detail View that is activated by clicking the individual table cell that autoplays the “videoURL" for the item selected (please note that you must be using an Android phone, NOT an emulator, to view the videos)
The app uses the Picasso library to render the thumbnail URLS and VideoView as a wrapper for the MediaPlayer class.
ListView:
DetailView:
The screenshots folder shows what the app looked like at virtually every stage of development.
- Make it prettier overall
- Add options for user preferences. Allow the user to input a Vine user ID for the API call
- Add controls for a fancier MediaPlayer
- Add a proper backbutton and menu topbar navigation
- Add a custom launcher image
- Loading screen
- It took me 5 days to figure out that my code was working and I was getting the video URLS properly in VideoDetailView. You cannot view videos on an emulator, so it worked as soon as I tested it on a real device
- You can pass more than just static text through Intents (in this case, properties of my Video Object)