Bitcoin Forum
December 10, 2016, 04:50:33 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: Miner's Widget (Android Status Widget)  (Read 7495 times)
srcHG
Newbie
*
Offline Offline

Activity: 13


View Profile
June 06, 2011, 08:04:16 AM
 #1

Hi guys,

I just started mining and I thought that it would be nice to have the mining status available on-the-go. I wrote an Android widget to display the status. For now it's really simple:
It displays the reward, the current hashrate and how many workers are alive. Status is updated once an hour. Currently only deepbit is supported but if there is interest, I'll add support for other pools.

Screenshot:
http://img263.imageshack.us/img263/8112/deviceaa.th.png


At the moment the widget is not on the market yet but you can download the .apk here: http://dl.dropbox.com/u/2312179/MinersWidget.apk (install, chose "Miner's Widget" from the widget list)
The only permission it uses is internet for downloading the status.

Feedback is greatly appreciated.

Donations: 1PmEDafrYtnTDEGL8NXYrq4gR7f2u1gvw1

Miner's Widget for Android (http://forum.bitcoin.org/index.php?topic=12549.0)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481388633
Hero Member
*
Offline Offline

Posts: 1481388633

View Profile Personal Message (Offline)

Ignore
1481388633
Reply with quote  #2

1481388633
Report to moderator
1481388633
Hero Member
*
Offline Offline

Posts: 1481388633

View Profile Personal Message (Offline)

Ignore
1481388633
Reply with quote  #2

1481388633
Report to moderator
bleedkira
Member
**
Offline Offline

Activity: 83



View Profile
June 06, 2011, 08:09:29 AM
 #2

Great idea, I'll test it out tomorrow Smiley
kirby9058
Jr. Member
*
Offline Offline

Activity: 50


View Profile
June 06, 2011, 08:11:29 AM
 #3

Works great on my Samsung Moment. Simple, but all I needed. Thanks for this!
srcHG
Newbie
*
Offline Offline

Activity: 13


View Profile
June 06, 2011, 01:28:18 PM
 #4

New version:
- USD/Bitcoin exchange rate
- Manual refresh button
- New design

Miner's Widget for Android (http://forum.bitcoin.org/index.php?topic=12549.0)
BitMinerN8
Hero Member
*****
Offline Offline

Activity: 626


Mining since May 2011.


View Profile
June 06, 2011, 01:51:38 PM
 #5

It would be great if you could add other pools as well. (BTC Guild, Slush's Pool, etc...)

I would donate for that.  Cheesy
CydeWeys
Full Member
***
Offline Offline

Activity: 154


View Profile
June 06, 2011, 01:58:21 PM
 #6

BTC Guild support would be neat.  Good job so far.

Oh, and would you mind releasing the source so I can get a glimpse of what a basic widget looks like?  I just got an Android phone recently and I'm thinking of starting development soon.
wbros11
Newbie
*
Offline Offline

Activity: 5


View Profile
June 06, 2011, 09:17:35 PM
 #7

It would be great if you could add other pools as well. (BTC Guild, Slush's Pool, etc...)

I would donate for that.  Cheesy

I second this...support for BTC Guild would get my donation.

Also, another cool addition would be a notification (vibrate, android bar notification) if it appears something isn't working (miner down, pool down, etc).  I would assume you could just take share data at one state and then some time later (Per hour) take share data again and compare.  Just a thought that may be nice.
bleedkira
Member
**
Offline Offline

Activity: 83



View Profile
June 07, 2011, 10:18:42 AM
 #8

I can't test it until you add BTCGuild ): I still love the idea, and once you get BTCGuild on there I'll have a small donation your way.
doomy
Newbie
*
Offline Offline

Activity: 28



View Profile
June 07, 2011, 10:29:39 AM
 #9

For iOS, I found this JSON app called JSON explorer that works pretty well with pools (tested with slush amd Deepbit.net) -- this was not free.
http://i.imgur.com/rBQaU.png

Also saw a new Bitcoin app (of same name) with market data and future wallet support.

The buck ends here -> 138Cqv33HWtjUn9T3FfZog5xT9NtKQMc2U
srcHG
Newbie
*
Offline Offline

Activity: 13


View Profile
June 07, 2011, 04:05:52 PM
 #10

I added support for BTC Guild. The information displayed for BTC Guild right now is:
- confirmed reward
- total hashrate of all workers
- total shares of all workers

I'm already thinking about how I could make the information displayed customizable. What I thought about doing was to add an option for an API Key for each pool and then the user could chose an information to display in each one of the four spots. For example:
Spot 1: [BTC Guild] confirmed reward
Spot 2: [deepbit] - confirmed reward
Spot 3: Exchange rate
Spot 4: Difficulty
What do you think about that?

I would be very happy about feedback for the BTC Guild support since personally I'm using deepbit at the moment. I will publish the source code as soon as I cleaned it up.

Miner's Widget for Android (http://forum.bitcoin.org/index.php?topic=12549.0)
doomy
Newbie
*
Offline Offline

Activity: 28



View Profile
June 07, 2011, 04:23:45 PM
 #11

Is your app using JSON?

The buck ends here -> 138Cqv33HWtjUn9T3FfZog5xT9NtKQMc2U
srcHG
Newbie
*
Offline Offline

Activity: 13


View Profile
June 07, 2011, 04:28:22 PM
 #12

Yes, I am using the JSON APIs of the pools.

Miner's Widget for Android (http://forum.bitcoin.org/index.php?topic=12549.0)
fasti
Member
**
Offline Offline

Activity: 92


View Profile
June 07, 2011, 10:24:38 PM
 #13

Eligius personal info support would be great too.

http://eligius.st/~luke-jr/

Personal infos found mainly in "balances.json", which is further in. EU and US are seperate.

Eligius uses the bitcoin address as username, so can use that to pull data.

1QCcAR3e3wdxr7CcJ8ND1NmWuvLttCJScH
srcHG
Newbie
*
Offline Offline

Activity: 13


View Profile
June 07, 2011, 10:48:11 PM
 #14

Eligius personal info support would be great too.

http://eligius.st/~luke-jr/

Personal infos found mainly in "balances.json", which is further in. EU and US are seperate.

Eligius uses the bitcoin address as username, so can use that to pull data.


Thank you for your suggestion. Right now I'm working on the slot system. I will look into it afterwards Smiley

Miner's Widget for Android (http://forum.bitcoin.org/index.php?topic=12549.0)
bleedkira
Member
**
Offline Offline

Activity: 83



View Profile
June 07, 2011, 11:03:34 PM
 #15

Lovin it Smiley Thanks
srcHG
Newbie
*
Offline Offline

Activity: 13


View Profile
June 08, 2011, 11:22:19 AM
 #16

New version:
- slots titles and slot data can be freely chosen
- exchange rate in EUR

Settings:
http://img703.imageshack.us/img703/615/settingsd.th.png

Resulting Widget:
http://img534.imageshack.us/img534/2986/devicey.th.png

With the current program design it will be pretty easy to add new data. So tell me which data you want to be able to display.

Miner's Widget for Android (http://forum.bitcoin.org/index.php?topic=12549.0)
Sykotic
Newbie
*
Offline Offline

Activity: 8


View Profile
June 08, 2011, 11:41:26 AM
 #17

Crashes for me.


Andriod 2.2.


Installs and loads fine, but the moment I select [db]hash rate as a data slot it crashes with "process org.bitcoin.minerswidget has stopped."

Won't load again until I clear all data from the widget and reboot.
gogusrl
Jr. Member
*
Offline Offline

Activity: 53


View Profile
June 08, 2011, 11:42:13 AM
 #18

slush's pool ( mining.bitcoin.cz/ ) support would be great.

ShareCoin Free and Fair Distribution. Sju9e2TURFCHsNsocHLPJGSYTxSN1wcZbD
srcHG
Newbie
*
Offline Offline

Activity: 13


View Profile
June 08, 2011, 12:11:01 PM
 #19

Crashes for me.


Andriod 2.2.


Installs and loads fine, but the moment I select [db]hash rate as a data slot it crashes with "process org.bitcoin.minerswidget has stopped."

Won't load again until I clear all data from the widget and reboot.

Have you entered your deepbit API token? It only crashed for me when the API token was not entered. Anyway, there is a new version online which should not crash anymore.

Miner's Widget for Android (http://forum.bitcoin.org/index.php?topic=12549.0)
Reckman
Hero Member
*****
Offline Offline

Activity: 712


View Profile
June 08, 2011, 02:01:10 PM
 #20

Hey awesome work man, works great on druid 2 global, would love a 2x2 setting, doesn't display well on landscape homepage
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!