Skip to content

Android Studio Widget Example for displaying Cryptocurrency prices o the home screen widget with Rest API using Volley HTTP library.

Notifications You must be signed in to change notification settings

SamixDev/Android-Studio-Widget-Crypto-Prices

Repository files navigation

Android Studio Widget Crypto Prices

Android Studio Widget Example for displaying Cryptocurrency prices in the home screen widget using Volley HTTP library.
Refresh rate for the widget is set to 30 minutes to conserve battery

Image of widget

https://api.coingecko.com/api/v3/simple/price?ids=0x%2Czcoin%2Cicon%2Cbitcoin%2Cethereum&vs_currencies=usd

To change coins, add or replace please take a look at CoinGecko Documentation
CoinGecko API V3

Cryptocurrencies used:
Bitcoin
Ethereum
0x
icon
zcoin

Libraries:
volley:1.1.1