#### GitHub Repository: https://github.com/hapramp/Hapramp-Android -----  ## New Features To make Android app useful and complete so that users can take all possible actions on the Steem, we are continuously adding new features to it. Now HapRamp's Android app supports 1. **users search** 2. **wallet information** 3. **transaction history** view along with memo. This gif will give you a tour of all three updates combined-- <center> </center> ----- # 1. Transaction History Now users can see the wallet transaction history on HapRamp's Android app. From the user's profile, one need to click on **My Wallet** and tap on **Go To History**. Here is how it looks like. <center>  </center> #### Code Snippet We need to use `database_api` for getting state of a user`s transfer history. The following method illustrates the http call:  After this, we have to parse response for each of the type of `operation`(author_reward, curation_reward, comment_benefactor_reward , transfer, claim_balance etc.) ----- # 2. Improvements in the Steem Wallet View Previously, in the HapRamp's app, only the Steem and Steem Dollars were visible. ([Here](https://steemit.com/utopian-io/@bxute/added-steem-wallet-information-steem-balance-and-steem-power-on-hapramp) is the corresponding update). This time, I've updated it with a more informative view which shows: * Steem * Steem Power * Steem dollars * Savings balance * Estimated Account Value * Current Conversion Rate (STEEM to USD and SBD to USD) <center>  </center> #### Code Snippet Steem Power and Steem Reputation are the two things we need to calculate from the raw data. **Method used to calculate Steem Power**  **Method used to calculate Steem Reputation**  ----- ### 3. User Search Now on HapRamp's Android app it is possible to search and view profile of any user on the Steem. You need to go to search and query for a username of a profile. <center>  </center> #### Code Snippet For searching account from a segment of strings, we used `condenser_api.lookup_accounts`. As user goes typing, user accounts matching to that is returned as response.  ----- ## GitHub Account @bxute - https://github.com/bxute ### Commits https://github.com/hapramp/Hapramp-Android/commit/69dc96f12f7f7eec7b1a23efd8be5dc4e296c8fd https://github.com/hapramp/Hapramp-Android/commit/dd73e5a7f20840665aa1c914fc729e41e802ec26 https://github.com/hapramp/Hapramp-Android/commit/144a961aa424179be5df07e218e1f255ced3c148 https://github.com/hapramp/Hapramp-Android/commit/467ea4f629e3c25e293b1322a7fe833288a82711 https://github.com/hapramp/Hapramp-Android/commit/98530de50f9dc82a348a25a1f25c2b28984f52be ----- <a href="https://discord.gg/PkgCv8j"> <center> https://pbs.twimg.com/media/DhaADYzXcAACLGd.jpg:large ### Join the conversation on Discord </center> </a>
author | bxute |
---|---|
permlink | hapramp-android-transaction-history-wallet-improvements-and-user-search |
category | utopian-io |
json_metadata | {"tags":["utopian-io","development","hapramp","steem","technology"],"users":["bxute"],"image":["https://cdn.steemitimages.com/DQmYRoVDJHGskjCaS2WZvBS1HgshKQZub44oj5RJp9Medu8/Drawing.png","https://cdn.steemitimages.com/DQmZwidiKqWFMHAmRe56pm817Zh8RZfvWMRXPi9mTAFfkJD/hapramp-app-updates.gif","https://cdn.steemitimages.com/DQmZmPVuQUr6irCajiSreJSAhPxcmtmfSdgnzubPzF5jmj5/Screenshot_2018-07-12-17-52-50-714_com.hapramp_pixel_really_blue_portrait.png","https://cdn.steemitimages.com/DQmUeLeDta6j5CRkRGyNsQM5UWGbELNzPYnk2g8eeih8nnY/transfer-carbon.png","https://cdn.steemitimages.com/DQmTkjPkAPMbd1d5zAy6bm2hcoZ2UwBXiYfLpngCtjs3dRm/wallet_pixel_really_blue_portrait.png","https://cdn.steemitimages.com/DQmYeH22693qvgDctR4yNRRLD68AQhKfE9NpdLQ7XANFZaV/steem_calc.png","https://cdn.steemitimages.com/DQmVVUhaAyYRotV3AabavbkzTvNbXavrFJpVn2GRFzz2g1U/reputation_calc.png","https://cdn.steemitimages.com/DQmbttA1NkwdE4LjmLHQFtA7kaXb5MVEiwMsJadn6yrFv73/Screenshot_2018-07-13-14-56-28-870_com.hapramp_pixel_really_blue_portrait.png","https://cdn.steemitimages.com/DQmNvdfKHjLvcAbpWpBwZLV2McXsfM1DRsWUGnPNAtD3u3q/user_search.png","https://pbs.twimg.com/media/DhaADYzXcAACLGd.jpg:large"],"links":["https://github.com/hapramp/Hapramp-Android","https://steemit.com/utopian-io/@bxute/added-steem-wallet-information-steem-balance-and-steem-power-on-hapramp","https://github.com/bxute","https://github.com/hapramp/Hapramp-Android/commit/69dc96f12f7f7eec7b1a23efd8be5dc4e296c8fd","https://github.com/hapramp/Hapramp-Android/commit/dd73e5a7f20840665aa1c914fc729e41e802ec26","https://github.com/hapramp/Hapramp-Android/commit/144a961aa424179be5df07e218e1f255ced3c148","https://github.com/hapramp/Hapramp-Android/commit/467ea4f629e3c25e293b1322a7fe833288a82711","https://github.com/hapramp/Hapramp-Android/commit/98530de50f9dc82a348a25a1f25c2b28984f52be","https://discord.gg/PkgCv8j"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-07-13 10:19:12 |
last_update | 2018-07-13 10:23:30 |
depth | 0 |
children | 4 |
last_payout | 2018-07-20 10:19:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 125.212 HBD |
curator_payout_value | 41.533 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 4,151 |
author_reputation | 7,043,008,489,088 |
root_title | "[HapRamp Android] Transaction History, Wallet improvements and User Search" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 64,516,506 |
net_rshares | 72,925,740,617,673 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
yuxi | 0 | 2,982,954,541 | 10% | ||
miniature-tiger | 0 | 97,856,396,109 | 100% | ||
upheaver | 0 | 1,246,363,979 | 6% | ||
doughtaker | 0 | 16,078,448,539 | 100% | ||
steffenix | 0 | 731,228,993 | 100% | ||
aafeng | 0 | 5,122,897,876 | 12% | ||
leir | 0 | 681,502,532 | 20% | ||
utopian-io | 0 | 72,566,537,557,191 | 47.59% | ||
singhpratyush | 0 | 3,875,898,671 | 100% | ||
amosbastian | 0 | 52,616,743,747 | 100% | ||
r351574nc3 | 0 | 1,112,994,897 | 3% | ||
bxute | 0 | 2,047,194,791 | 100% | ||
holger80 | 0 | 169,610,877,444 | 49% | ||
salty-mcgriddles | 0 | 1,464,406,181 | 3% | ||
adam-saudagar | 0 | 1,669,794,356 | 100% | ||
statsexpert | 0 | 840,388,078 | 20% | ||
unittestaccount | 0 | 587,831,805 | 100% | ||
s252 | 0 | 575,919,579 | 100% | ||
alex-steem-it | 0 | 0 | 100% | ||
upbeaver | 0 | 101,218,364 | 1% |
Thanks for the contribution, @bxute! You've added some great features, good work! Is there a reason you are calling the API yourself and not using a wrapper (not sure if there is one for Java)? Also, was curious why your tab size is so large? It makes the code very wide and less readable (in my opinion). Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category. To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/1112213). ---- Need help? Write a ticket on https://support.utopian.io/. Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
author | amosbastian |
---|---|
permlink | re-bxute-hapramp-android-transaction-history-wallet-improvements-and-user-search-20180715t163923502z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["bxute"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/3/1112213","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"} |
created | 2018-07-15 16:39:21 |
last_update | 2018-07-15 16:39:21 |
depth | 1 |
children | 1 |
last_payout | 2018-07-22 16:39:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 797 |
author_reputation | 174,473,586,900,705 |
root_title | "[HapRamp Android] Transaction History, Wallet improvements and User Search" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 64,776,788 |
net_rshares | 7,726,161,463 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
espoem | 0 | 5,254,553,552 | 5% | ||
bxute | 0 | 1,932,884,422 | 100% | ||
mops2e | 0 | 538,723,489 | 18% |
Thank you very much @amosbastian for reviewing my work. ``` Is there a reason you are calling the API yourself and not using a wrapper (not sure if there is one for Java)? ``` > Yes you are right. There is one named `SteemJ` which provides many functionalities. Since we are using `SteemConnect` for most of the purpose,`SteemJ` is a large library, so taking use `SteemJ` for small calls will be infeasible. Hence we decided to make plain Http call. ``` Also, was curious why your tab size is so large? It makes the code very wide and less readable (in my opinion). ``` > Actually my Studio IDE had an incorrect `editorconfig`. Due to which i was getting correct view here but when i pushed the code, it changed there on GitHub. I assure to rectify it in the next update.
author | bxute |
---|---|
permlink | re-amosbastian-re-bxute-hapramp-android-transaction-history-wallet-improvements-and-user-search-20180716t063919029z |
category | utopian-io |
json_metadata | {"community":"busy","app":"busy/2.5.2","format":"markdown","tags":["utopian-io"],"users":["amosbastian"],"links":["/@amosbastian"],"image":[]} |
created | 2018-07-16 06:39:18 |
last_update | 2018-07-16 06:39:18 |
depth | 2 |
children | 0 |
last_payout | 2018-07-23 06:39:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 778 |
author_reputation | 7,043,008,489,088 |
root_title | "[HapRamp Android] Transaction History, Wallet improvements and User Search" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 64,834,971 |
net_rshares | 0 |
Congratulations @bxute! You have completed the following achievement on Steemit and have been rewarded with new badge(s) : [](http://steemitboard.com/@bxute) Award for the number of upvotes <sub>_Click on the badge to view your Board of Honor._</sub> <sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub> **Do not miss the last post from @steemitboard:** [SteemitBoard World Cup Contest - Play-off for third result](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-play-off-for-third-result) --- **Participate in the [SteemitBoard World Cup Contest](https://steemit.com/steemitboard/@steemitboard/steemitboard-world-cup-contest-collect-badges-and-win-free-sbd)!** Collect World Cup badges and win free SBD Support the Gold Sponsors of the contest: [@good-karma](https://v2.steemconnect.com/sign/account-witness-vote?witness=good-karma&approve=1) and [@lukestokes](https://v2.steemconnect.com/sign/account-witness-vote?witness=lukestokes.mhth&approve=1) --- > Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
author | steemitboard |
---|---|
permlink | steemitboard-notify-bxute-20180714t225220000z |
category | utopian-io |
json_metadata | {"image":["https://steemitboard.com/img/notify.png"]} |
created | 2018-07-14 22:52:18 |
last_update | 2018-07-14 22:52:18 |
depth | 1 |
children | 0 |
last_payout | 2018-07-21 22:52:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,348 |
author_reputation | 38,975,615,169,260 |
root_title | "[HapRamp Android] Transaction History, Wallet improvements and User Search" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 64,696,671 |
net_rshares | 1,964,059,977 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
bxute | 0 | 1,964,059,977 | 100% |
Hey @bxute **Thanks for contributing on Utopian**. Weβre already looking forward to your next contribution! **Want to chat? Join us on Discord https://discord.gg/h52nFrV.** <a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
author | utopian-io |
---|---|
permlink | re-hapramp-android-transaction-history-wallet-improvements-and-user-search-20180715t171508z |
category | utopian-io |
json_metadata | "{"app": "beem/0.19.42"}" |
created | 2018-07-15 17:15:09 |
last_update | 2018-07-15 17:15:09 |
depth | 1 |
children | 0 |
last_payout | 2018-07-22 17:15:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 297 |
author_reputation | 152,955,367,999,756 |
root_title | "[HapRamp Android] Transaction History, Wallet improvements and User Search" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 64,779,780 |
net_rshares | 7,326,146,624 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
espoem | 0 | 5,254,553,552 | 5% | ||
bxute | 0 | 2,005,627,384 | 100% | ||
mops2e | 0 | 65,965,688 | 60% |