Utopian Stats - Check Utopian.io Contributions on your Android Device

in #utopian-io6 years ago

Repository

https://github.com/dimitrisp2/UtopianStats/

About Utopian Stats

Utopian Stats is a Native Android app, using the Utopian.rocks API to get the currently unreviewed and pending upvote Utopian Contributions. The App was developed with B4A using the following libraries:

  • Core
  • JSON
  • OkHttpUtils2
  • Reflection
  • Picasso

All libraries, minus Picasso, are included in the B4A installation. Picasso can be downloaded from the B4A forums for free, if you have a valid B4A license (the only requirement for accessing the libraries in the B4A forum is an account and a valid B4A license [expired or not])

While I've put Aristotle App on hold for the time being (I'm thinking how to make some stuff work and in the process a lot of non-Steemit work came along), I decided to create an app using the Utopian.rocks API. There already is a Chrome Extension using it, so why not create an Android App too?

Although not directly related to the contribution post, the App should run in all Android v4.4+ versions, and most Android v2+ versions. If you encounter any errors feel free to let me know!


Overview

I haven't marked any commits in this post, on purpose. This is the first contribution post to this project. The App was submitted to Google Play Store, and will be available here, soon (after it passes Google's checks). Release codename: autoconf 😉

The App is pretty simple. You can see pending for review and upvote contributions in 2 tabs. Future app versions will include more stuff, like Utopian VP %, moderator comments, limit by category, user history and more.

There are a couple of commits in the repository, so I'm going to say a few words about them:


Initial Code Commit

The initial commit [a999084] had a few lines of code, that were mostly parsing the contributions waiting for a review. My initial display method was a ListView, but it was very restricting, so I decided to replace the ListView with a ScrollView [e8d57eb].


ScrollView!

In the ScrollView commit, I was able to add more more than 2 lines and an image, so I decided to add a Green or Red bar for the status of the contributions in the review/upvote queue. Following @amosbastian's https://utopian.rocks/ color scheme, I decided to use Red for "not under review/will not be voted in the next batch" and Green for "under review/will be voted in the next batch".

In the same commit, I also changed the package name, a think I forgot to do earlier!


Tap to show contribution post

The last commit I made so far [e70e693], includes the ability to open the Steemit contribution post in the default browser of the user's device. A future version will include a whole lot of info, like: current upvotes, current payout value, total comments etc.


Want to help?

If you want to talk about this project, you can message me on Discord (my tag is dimitrisp#4810). You can also find me on Utopian's discord. Pull requests will be accepted if they fix issues and/or implement extra functionality.


GitHub Account

https://github.com/dimitrisp2

Sort:  

Looks good.

This is the first time I heard about B4A. Interesting approach. It reminds me 90s with that Visual Basic syntax, though. :)

However, it's also fascinating to create a native Android app with only 300 lines of code.

A README about the project and running/compiling it locally would be better.


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 https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

That was the reasoning behind B4A, to create a very simple language in order to be able to develop apps lightning-fast!

Oh, I forgot to create the README file, huh? Typical of me, these days! I'll do it in the next few days.

Thank you for your review :)

Thank you for your review, @emrebeyler! Keep up the good work!

Congratulations! Your post has been selected as a daily Steemit truffle! It is listed on rank 11 of all contributions awarded today. You can find the TOP DAILY TRUFFLE PICKS HERE.

I upvoted your contribution because to my mind your post is at least 5 SBD worth and should receive 124 votes. It's now up to the lovely Steemit community to make this come true.

I am TrufflePig, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, you can find an explanation here!

Have a nice day and sincerely yours,
trufflepig
TrufflePig

Hi, @dimitrisp!

You just got a 3.43% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Hey, @dimitrisp!

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

Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Hi @dimitrisp!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 3.942 which ranks you at #3893 across all Steem accounts.
Your rank has improved 13 places in the last three days (old rank 3906).

In our last Algorithmic Curation Round, consisting of 368 contributions, your post is ranked at #1. Congratulations!

Evaluation of your UA score:
  • You're on the right track, try to gather more followers.
  • The readers like your work!
  • Great user engagement! You rock!

Feel free to join our @steem-ua Discord server

Coin Marketplace

STEEM 0.17
TRX 0.15
JST 0.028
BTC 62205.55
ETH 2397.85
USDT 1.00
SBD 2.50