Giter Club home page Giter Club logo

vinesampleapp's Introduction

VineSampleApp

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.

Screenshots

ListView:

DetailView:

The screenshots folder shows what the app looked like at virtually every stage of development.

Ideas For Future 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

Lessons Learned Along the Way (this was my first Android App)

  • 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)

vinesampleapp's People

Contributors

ilanasufrin avatar

Watchers

James Cloos avatar Martino avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.