StockTwits is a demo Android application which displays a StockTwits feed in real time using streamdata.io.
- For image display : ION & Picasso
- for HTML char escaping : Jakarta Commons Lang
Dependencies for Streamdata.io integration :
- SSE: Eventsource-android
- JSON library: Jackson
- JSON patch: JSON Patch
To run the sample:
First clone this project from GitHub.
Sign in on Streamdata.io to create your account and get your Streamdata.io token.
Copy your token.
In the project, open the /src/main/assets/stocktwits.properties file. Paste your token in the following property:
streamdataToken=YOUR_TOKEN_HERE
Open the project with Android Studio.
Run the app.
In addition, you may be interested in reading this blog post which complements this demo: http://streamdata.io/blog/android-stocktwits-real-time-feed/