Actifit Fitness Tracker - Development Iteration v 0.2.1 - 0.2.3

in utopian-io •  7 months ago



This development update is another iteration in the development life cycle of our Actifit project, particularly the Android app.
The update covers commits versions 0.2.1, 0.2.2, and 0.2.3, which are planned to be released within the week to the public.

Recap - What is Actifit ?

Actifit is a innovative SMT (Smart Media Token) that rewards fitness related activity via Actifit tokens. The process goes as follows:
1- Download the app from playstore
2- App Auto tracks your Activity
3- Post to steemit and get rewarded
If you'd like more info on the project, check out our initial announcement here as well as the recent update

Technology Stack

The project's mobile app is built using native Android (Java) via Android Studio and SQLite db for storing on-device information.

What work has been done?

Version 0.2.1 - which involved the following work : commit link
  • Creating new wallet view with relevant classes: We are giving our users access to the wallet from within the app. We believe this is really helpful and makes checking on their current token count and related transactions real helpful.
  • Implementing "Volley" based connectivity under new android SDK: We decided to rely on the Volley package to connect to the API service as the speed optimization and caching mechanism is quite impressive. The package supports proper JSONObject and JSONArray direct implementations, which we were able to utilize to properly fetch our wallet view data.
Version 0.2.2 - which involved the following work: commit link
  • Adding automated loading of account data on wallet screen opening: Wallet screen now auto-loads the user's account information via the account configured from the post to steemit screen.
  • Adding settings for measurement system: We created a setting screen, in which we included a setting for choosing proper measurement system, in preparation for upcoming functionality of tracking measurements.
  • Adding back button confirmation to avoid leaving the app promptly: One of the concerns was lack of movement tracking via accidental exit of the app by clicking the back button. We implemented a confirmation toast to ensure action is intended to exit the app.
Version 0.2.3 - which involved the following work: commit link
  • Switching movement tracking to a service instead of an activity: Activities risk being killed by Android once gone to background, services, particularly foreground ones have less likelihood of doing so. So we switched our implementation into an activity connected to a Foreground service

  • Adding locked screen display and notification of actifit activity tracking: in line of the switch above, we created a new foreground notification which allows the user to easily keep track of his movement for the day without the need to unlock the phone

  • Adding aggressive background tracking mode and a relevant setting for it: an issue that was frequently reported by few phones is the inability of the phone to track movement in screen off mode. We implemented a wake lock approach via connecting to the power manager to overcome this limitation, and made this a setting so as only affected devices would turn on the option, as it has the potential to increase the battery consumption

  • Adding automatic trimming of white spaces from username, switching it to lowercase, and removing @ to conform to steemit username structure all on the screen of posting to steemit to avoid problems reported by users.
  • Switched some left over occurrences of "steps" wording to activity.


We already accomplished some of the items we had on our prior roadmap, yet the project is still in infancy, with the following functionality planned for now:

  • Creating an iOS version
  • Adding image upload functionality from the app
  • Adding calories, distance, GPS, and time tracking
  • Adding charity-oriented activity and donations (more on this soon :) )
  • Adding goal tracking
  • Adding a forget credentials (user and posting key) for removing user account info off the device (it is not stored anywhere online anyhow)
  • Adding capability to store and track age, weight, measurements and progress
  • Graphics based and look and feel enhancements

How to contribute?

You can chat to us on the official actifit discord, or to me in discord private @mcfarhat#6013.
Contributions are accepted as pull requests to the official github repo.
We are having continuous tasks assigned to devs who are more than helpful. More official tasks announced soon :)

GitHub Account

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

When do we get the iOS version? :)

Your contribution has been evaluated according to Utopian policies and 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.

Need help? Write a ticket on
Chat with us on Discord.


Switch to Android and join the dark side already...


lol agreed


I hope we can deliver within a month :)

Hey @mcfarhat
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord

Vote for Utopian Witness!

Great! Those are some amazing updates. Happy to see how community is growing exponentially. I think there are near to 100 posts with actifit tag today.


Yep, thanks to everyone's support our growth has been tremendous, including you Mr moderator :)


Hahaha....It is getting what it deserves. We too. This project is going to land on moon soon!!

Wow, Roadmap looks great - especially charity-oriented activity and donations entry. This is what I love about such projects.
Reserve some time for SMT / Communities integration as well. It's a pleasure to see how does the project steps forward. ‌​​​‌​‌‌‍‌​​‌‌​‌​‍‌​​​‌‌​​‍‌​​​‌​‌‌‍‌‌​​‌‌​‌
Well done ‌​​​‌​‌‌‍‌​​‌‌​‌​‍‌​​​‌‌​​‍‌​​​‌​‌‌!

Thank you for doing STEEM - better. Good luck to you and Love.

Спасибо, что делаете STEEM – лучше. Удачи Вам и Любви.