[HapRamp Android] Transaction History, Wallet improvements and User Search

GitHub Repository:

https://github.com/hapramp/Hapramp-Android


Drawing.png

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--

hapramp-app-updates.gif


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.


Screenshot_2018-07-12-17-52-50-714_com.hapramp_pixel_really_blue_portrait.png

Code Snippet

We need to use database_api for getting state of a user`s transfer history.

The following method illustrates the http call:
transfer-carbon.png

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 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)


wallet_pixel_really_blue_portrait.png

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
steem_calc.png

Method used to calculate Steem Reputation
reputation_calc.png


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.


Screenshot_2018-07-13-14-56-28-870_com.hapramp_pixel_really_blue_portrait.png

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.

user_search.png


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




Join the conversation on Discord


H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now