title: Cross platform Java app that also works with Spotify
body: <p>I am writing a Java application that will allow for usage in Spotify and throughout a good percentage of Web browsers, and mobile operating systems. I am very new to the Spotify API. </p>
  
  <p>I am looking for resources and references upon building this. I need to be able to preform a check on which application is running the app and return the appropriate functions per the application type. </p>
  
  <p>Furthermore I am loading external JSON feeds from a web server into the app and need to create an array that allows the feed data to be cached into an object with which data segments can be pulled from and propagated into a div. </p>
  
  <p>I have begun formatting the java that will perform these functions.  However because I have not created such a script before that should run robustly across a multitude of platforms I am somewhat coding in the dark. </p>
  
  <p>Is there anyone out there who has written a similar Java application &amp; could provide some feed back?</p>