Coder Social home page Coder Social logo

spotifytray-android's Introduction

SpotifyTray-Android

This Android project provides simplistic code to produce a floating widget like Facebook's chatheads app. It is supported by Android 2.3.3+ (API 10+).

Please note that it does not provide or include any Spotify music streaming features and is essentially just the UI for demonstration purposes only. Also note that this is not a project developed/endorsed by Spotify.

Features

Assume that it's a small muted music player without any audio.

  • Tray can be dragged around the screen.
  • Tray, when released, comes back to a specific region on y-axis.
  • The tray can be tapped to open/close.
  • The widgets on the tray animate when the tray is between close and open states.
  • Next and previous music buttons change the current song and hence the album cover changes too. The change is animated.
  • Play and pause buttons work, but the change is not obvious since there is no audio.
  • Each song has a duration. After the song has played for that duration, it switches to next song which is evident from the animated change that occurs when next button is pressed. You will notice this if you stay on the first song for 30s.
  • The widget can be shut down from notification menu.

Demo

https://www.youtube.com/watch?v=hdxdTkdNkVs

License

MIT License. Copyright 2014 Fouad Yaseen.

spotifytray-android's People

Contributors

bryant1410 avatar fouady avatar

Watchers

 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.