Bitcoin Forum
January 24, 2022, 08:31:49 PM *
News: Latest Bitcoin Core release: 22.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Android widget self made from http://bitcoincharts.com charts  (Read 947 times)
gazoox
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
May 15, 2013, 03:26:40 PM
Last edit: May 17, 2013, 04:34:54 PM by gazoox
 #1

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
1643056309
Hero Member
*
Offline Offline

Posts: 1643056309

View Profile Personal Message (Offline)

Ignore
1643056309
Reply with quote  #2

1643056309
Report to moderator
1643056309
Hero Member
*
Offline Offline

Posts: 1643056309

View Profile Personal Message (Offline)

Ignore
1643056309
Reply with quote  #2

1643056309
Report to moderator
1643056309
Hero Member
*
Offline Offline

Posts: 1643056309

View Profile Personal Message (Offline)

Ignore
1643056309
Reply with quote  #2

1643056309
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
scab
Newbie
*
Offline Offline

Activity: 14
Merit: 0



View Profile
May 15, 2013, 04:09:38 PM
 #2

Hello and welcome!
gazoox
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
May 16, 2013, 03:47:59 PM
Last edit: June 01, 2013, 04:09:08 PM by gazoox
 #3

Now, here is the sample picture:

http://i41.tinypic.com/2ufseqc.jpg
gazoox
Newbie
*
Offline Offline

Activity: 31
Merit: 0


View Profile
June 01, 2013, 04:09:31 PM
 #4

have now used another picture host...
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!