Author

Topic: Android widget self made from http://bitcoincharts.com charts (Read 987 times)

newbie
Activity: 31
Merit: 0
have now used another picture host...
newbie
Activity: 31
Merit: 0
newbie
Activity: 14
Merit: 0
Hello and welcome!
newbie
Activity: 31
Merit: 0
Hello everyone.

This is my fist post and I'd like to introduce my solution for a displaying up to date bitcoin charts on homescreen. The Image source is bitcoincharts.com

Currently I have a two day chart and the market depth displayed.

The charts are individually rendered per http request. For example:

2 day chart:
http://bitcoincharts.com/charts/chart.png?m=mtgoxUSD&v=1&t=S&noheader=1&height=80&width=750&r=2
or maybe: http://bitcoincharts.com/charts/chart.png?m=mtgoxUSD&v=1&t=S&noheader=1&height=350&width=720&r=1

market depth:
http://bitcoincharts.com/charts/mtgoxUSD/accumulated_orderbook.png
or
http://bitcoincharts.com/charts/mtgoxUSD/accumulated_orderbook0.02.png
...whereas changing the number changes the displayed depth..

So far accessing the image url without accessing a .html page from bitcoincharts is always working..


Now, let's place the image(s) to the android homescreen:
Install URL Image Widget from market:
https://play.google.com/store/apps/details?id=com.weite_welt.urlimagewidget


Place a widget on the homescreen and use the URL(s) above. You can try change some parameters which first best for chart information and bitmap size.
For my SGS4 Full HD I use a 4x2 widget and bitmap size of 350x720. Image is "filling" the whole available widget space.

Give it a try and play with the parameters for best results.


Improvements are welcome.


PS: I did not find a good android chart widget so far, thats because I was researching for such a solution. If there is any, please let me know  Grin
Jump to: