What it does
Display the top headlines from CNN on an Android Things LED. You could adjust the speed of the ticker by tapping the buttons on the device.
How I built it
I am using newsapi.org as the API to load the CNN headline. I am using Retrofit on Android to load data from the API. The program is running on the pico pro maker kit. https://developer.android.com/things/hardware/imx7d-kit.html
Challenges I ran into
I was planning on displaying data on the screen. However, during the hackathon I stepped on the screen and cracked it. This is what lead me to the idea of using a news ticker, as the LED was still working.
Accomplishments that I'm proud of
By using newsapi.org I am able to easily swap CNN for another news site.
What I learned
How to handle network transactions on Android in the background. This is used to make sure that that LED does not freeze as the app is loading the news.
What's next for News Ticker
I plan on supporting more news sources at the same time. The buttons would be used to switch between different article and different news sources.
Log in or sign up for Devpost to join the conversation.