28
Feb
thumb

If you're a fan of source code (and who isn't?), you might be excited to know HTC has released the code for Power To Give. The Power To Give initiative was officially announced a few days ago at MWC with its corresponding app in the Play Store. Today, the HTC Dev portal posted a full source drop of the project, including the app and various platform-specific versions of the server code.

2014-02-28 22.37.172014-03-01 00.18.402014-03-01 00.39.09

Power To Give is based on BOINC, the Berkeley Open Infrastructure for Network Computing. It was designed to be a single application through which multiple organizations could automate the process of delivery, computation, and reporting of work units. Some popular and well-known groups using BOINC include: SETI@Home, PrimeGrid, and my personal favorite, World Community Grid.

Getting to the source code package isn't quite as easy as a single link. Unfortunately, you have to go through the HTC Dev portal manually or you will be automatically redirected to HTC's main website. Simply start at this link, and change the criteria to: Device = (leave it alone), Carrier = Generic, Region = WWE, Android Version = (leave it alone), and switch the radio button to Other. Hit Find Files and you should see an item with the description, "HTC PTG (Power To Give) Application Open Source Code."

2014-02-28_12-46-46

The 204 MB zip file contains 3 packages: boinc-htc-open, common-ui-open, and htc-power-to-give. If you're interested in the server platform, protocols, and some of the client API, check out boinc-htc-open. For the actual app, you can look straight to htc-power-to-give. There might be a few issues getting the app code set up correctly in Android Studio, but it imports and builds cleanly with the latest version of Eclipse.

It's always good to see more open source software out in the world! Even if you aren't in the mood to muck around with code, take a look at HTC Power To Give and donate some CPU cycles while you sleep.

Source: HTC Dev

Cody Toombs
Cody is a Software Engineer and Writer with a mildly overwhelming obsession with smartphones and the mobile world. If he’s been pulled away from the computer for any length of time, you might find him talking about cocktails and movies, sometimes resulting in the consumption of both.

  • luke

    wow!

  • http://twitter.com/anishbhalerao Anish Bhalerao

    Meh.

  • Egnimatic_Foolishness

    Haven't looked into it just yet, but it reminds me of folding at home from the good old ps3 days

    • Roh_Mish

      The anima ions while it was running was good too.

  • http://www.techreviewshop.com/ JP

    They are secretly stealing your mobile CPU/GPU cycles to farm Bitcoins and other crypto-currencies...

    • SA

      HUHH?

    • http://www.modminecraft.com/ Nick Coad

      Ah okay, so you have evidence of this?

    • Idealist

      Yet Another Conspiracy Candidate

  • Vardan Nazaretyan

    Still not compatible with my Nexus 5. :/

    • http://www.androidpolice.com/author/cody-toombs/ Cody Toombs

      But you could build a vers...oh, nevermind.

      • Vardan Nazaretyan

        But I ain't a developer. :/
        It's also available for the S4, and couple of other non-HTC android phones which makes me kinda sad that it isn't available for the N5.

        • http://www.androidpolice.com/author/cody-toombs/ Cody Toombs

          Yeah, I can't really explain that, given the obvious similarities with the anticipated m8. It's still a young app, so it might expand support over the next few weeks. I've got no evidence to back that up, but it can only be a good thing (in terms of publicity) for HTC to add support for more devices.

          • Vardan Nazaretyan

            They told me on Elevate that it is their plan to expand it to the most Android devices so I will be patiently waiting.

  • Anthony Johnson

    Thank you for sharing this informative post. This 204 mb
    zip file is currently downloading in my system and will definitely experiment
    my HTC with so called Power to give app. Even I recently purchased wireless charger for my HTC DNA and keep exploring more apps without worried about the
    battery consumption.

  • Eric

    Only when the dump the Statistics, I want to spent some CPU Time. Because there are lot of Teams or computer users who manipulate the sample packages to end higher in the statistics rank. When I heard of that I stopped spending my CPU time.
    And why is there something like statistics. You are to help, not to be rewarded.

  • MistiXF

    So basically, most of people do this not to help find some cure or crack mathematical problems but for their own sake, just to be "the best" in stats?

    • http://www.androidpolice.com/author/cody-toombs/ Cody Toombs

      I don't really think that's true. If it were, most people would have given up long ago to the few who have access to rooms full of computers and clearly dominate in a given project. I expect most people actually believe in doing this for a good purpose. Even if that's not the case, who cares? At least it's getting something accomplished.

Quantcast