1. 2017/06/21 - Decred v1.0.5 released! → Release Notes  → Downloads
    Dismiss Notice

Decred Widgets For Android

Discussion in 'User Projects' started by Jamie Holdstock, Jul 8, 2016.

  1. Jamie Holdstock

    Jamie Holdstock
    Expand Collapse
    Jr. Member

    Joined:
    Mar 30, 2016
    Messages:
    50
    Likes Received:
    35
    feature2.png

    I have created an app for Android - Decred Widgets. Simply install the app and the widgets will become available for you to place on your homescreen.

    Download it from Google Play: https://play.google.com/store/apps/details?id=com.jamieholdstock.dcrwidgets

    See the source: https://github.com/jholdstock/DecredWidgets

    cropped-screenshot66.png

    The widgets update every 30 minutes, or you can press on them to update them on demand. Battery and storage consumption are both kept to an absolute minimum.


    Donations gratefully received:
    Dse4EVCDNESBBYkrRfPimhw5YH4hfLrKBb7


    Thanks to:
    - @Dyrk for providing the DCR stats API
    - The Decred developers who helped me get this onto the Play Store.
     
    #1 Jamie Holdstock, Jul 8, 2016
    Last edited: Mar 25, 2017
    Halestorm, MarSas, chappjc and 3 others like this.
  2. Dyrk

    Dyrk
    Expand Collapse
    Sr. Member
    Developer

    Joined:
    Jan 7, 2016
    Messages:
    508
    Likes Received:
    375
    hey @Jamie Holdstock!
    Great job, I'm going to test it now on my phone! I have a few new APIs for you:

    1. You can now fetch the price also here:
    https://dcrstats.com/api/v1/price

    DCR-USD, DCR-BTC, BTC-USD and datetime of the last update.

    2. There is a new parameter "prev_day" in the stats output. I've added it just today, it shows % of price change ( so "prev_day: -4.78" means: -4.78% ):
    https://dcrstats.com/api/v1/get_stats

    3. "btc_volume" is only Poloniex volume right now, but later this month I'll deploy an update to calculate total DCR volume on all exchanges.
     
  3. raedah

    raedah
    Expand Collapse
    Jr. Member

    Joined:
    Mar 6, 2016
    Messages:
    53
    Likes Received:
    35
    Glad to see this. Here is a bug. It does not display correctly when using an alternate grid size on the home screen.
     
  4. Jamie Holdstock

    Jamie Holdstock
    Expand Collapse
    Jr. Member

    Joined:
    Mar 30, 2016
    Messages:
    50
    Likes Received:
    35
    I'll have a look around the new APIs @Dyrk - keep up the good work :)

    Thanks @raedah - Could you please send me a screenshot of the problem?

    On the Android emulator I saw some issues which I thought I had fixed, and then on my Samsung S7 it looks perfect on either a 4x4 or 5x5 grid. I guess some more work on the responsiveness is needed.
     
  5. raedah

    raedah
    Expand Collapse
    Jr. Member

    Joined:
    Mar 6, 2016
    Messages:
    53
    Likes Received:
    35
    screenshot
     

    Attached Files:

    Jamie Holdstock likes this.
  6. Jamie Holdstock

    Jamie Holdstock
    Expand Collapse
    Jr. Member

    Joined:
    Mar 30, 2016
    Messages:
    50
    Likes Received:
    35
    Thanks for the screenshot @raedah

    I have just published version 0.4 which changes the appearance slightly and allows the widgets to be resized. Hopefully this will help with the issue you saw.
     
  7. Chukwuemeka Nwauche

    Chukwuemeka Nwauche
    Expand Collapse
    New Member

    Joined:
    Dec 29, 2015
    Messages:
    7
    Likes Received:
    4
    Really cool project @Jamie Holdstock. It's so nice to be able to look up the price conversions on my home screen
     
  8. Jamie Holdstock

    Jamie Holdstock
    Expand Collapse
    Jr. Member

    Joined:
    Mar 30, 2016
    Messages:
    50
    Likes Received:
    35
    Request for feedback!

    Can somebody experience with PoW mining please validate that the stats in the PoW widget are actually what you need to see? I have no experience with PoW and have just guessed that difficulty and network hashrate are the key stats.
     
  9. Halestorm

    Halestorm
    Expand Collapse
    Jr. Member

    Joined:
    Jan 22, 2016
    Messages:
    83
    Likes Received:
    32
    Freaking awesome man! Looks great on my Nexus 6P. :D Great work!
     
    Jamie Holdstock likes this.
  10. N3wb1e

    N3wb1e
    Expand Collapse
    New Member

    Joined:
    Jun 12, 2016
    Messages:
    65
    Likes Received:
    12
    Good work!
     
  11. Jamie Holdstock

    Jamie Holdstock
    Expand Collapse
    Jr. Member

    Joined:
    Mar 30, 2016
    Messages:
    50
    Likes Received:
    35
    bump :)

    Decred has had a lot of new users recently - I would just like to highlight this Android app to easily keep an eye on the price of Decred on your device's homescreen.
     
    chappjc likes this.
  12. jcv

    jcv
    Expand Collapse
    Full Member
    Developer

    Joined:
    Dec 7, 2015
    Messages:
    221
    Likes Received:
    125
    Cool, don't think I noticed this when you first put it out. I wonder if I should add some of those other items to the irc price bot.
     
    Jamie Holdstock likes this.
  13. raedah

    raedah
    Expand Collapse
    Jr. Member

    Joined:
    Mar 6, 2016
    Messages:
    53
    Likes Received:
    35
    Love this app, can we get some more updates to it? I would like a bigger font like https://github.com/hwki/SimpleBitcoinWidget uses. Id also like to have the low and high next price available. Maybe break into separate widgets or allow more customization checkboxes to decide which numbers to enable. Can you put the source on github?
     
  14. Jamie Holdstock

    Jamie Holdstock
    Expand Collapse
    Jr. Member

    Joined:
    Mar 30, 2016
    Messages:
    50
    Likes Received:
    35
    Glad you appreciate it @raedah.

    The source is here and contributions would be more than welcome.

    https://github.com/jholdstock/DecredWidgets

    I'm afraid I have very little time I can dedicate to developing this project at the moment, however I will definitely make time to review changes if someone puts in a PR.
     
    raedah likes this.
  15. Jamie Holdstock

    Jamie Holdstock
    Expand Collapse
    Jr. Member

    Joined:
    Mar 30, 2016
    Messages:
    50
    Likes Received:
    35
    The app reached 400 downloads this morning! I'm glad so many people have found it useful
     
  16. jcv

    jcv
    Expand Collapse
    Full Member
    Developer

    Joined:
    Dec 7, 2015
    Messages:
    221
    Likes Received:
    125
    So finally, got around to installing this. Very cool. Couple minor issues on my pixel. I'll open github issues for them.
     
  17. jcv

    jcv
    Expand Collapse
    Full Member
    Developer

    Joined:
    Dec 7, 2015
    Messages:
    221
    Likes Received:
    125
    But nice work.
     

Share This Page