Skip to content

Latest commit

 

History

History
24 lines (22 loc) · 795 Bytes

File metadata and controls

24 lines (22 loc) · 795 Bytes

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