Git Product home page Git Product logo

friendtab's Introduction

FriendTab

FriendTab is a simple Mono for Android application to help you track what you owe to your friends and what they owe you. It's for those folks like me who like to keep things even.

Alternatively, it's a testbed for various technique available in Android and put down in C# form. Since this project is licensed under the term of the Apache License 2.0, you are most welcome to dive into it and reuse whichever parts you want in your own projects.

More info on the development on the introductory blog post.

Privacy Notice

FriendTab uses your email address and those of your contacts to uniquely identify persons. Since the system doesn't really care about those address, it only uses a MD5 hashed version of them which is enough for identification.

It doesn't mirror avatar pictures either and will instead store the contact row ID and lookup ID to load them up when needed from your device contacts database.

In the end, the only clear bits that are stored in the database are the full name of your contacts and your geographical position when registering a new tab (and the location name if you put it).

When a new tab is registered, the only persons who can then access its information in the Activity tab are the other actor involved in the tab and yourself.

Compilation / install

FriendTab uses Parse as its backend. You can set up your own Parse account at https://parse.com/signup and use your credentials by setting the values in FriendTab/FriendTab/ParseCredentials.cs to have your own personalized instance.

You can import TabType.json if you want to bootstrap a set of initial tab types.

FriendTab is also available from the Google Play Store if you want to give it a test drive on the development Parse backend.

google-play

How-To Use

Color code

Throughout the application, FriendTab uses the color red to symbolize something given to you and the color green to symbolize something you gave.

Add tab

The main way to use the app is through the Add tab. On the first run it will look like this:

main-view-unselected

By tapping on the badge, you can select one of your contact through the normal Android picker. When you have selected someone, the bottom part with the list of available tab types will appear and, if you have already interacted with that user, a count is shown for concerned tab types to summarize your status with that contact:

main-view-selected-user

Additionaly if counts are available, a karma bar will also be displayed under the contact information to give you an overall score of your relationship (red is bad, green is good).

To register a new tab, simply long-tap one of the tab type icon until a drag operation is started and the user badge changes to show both you and your contact avatars. You can then drop the dragged item on either vignette to register a tab, dropping on your head will induce a given operation while dropping on your contact head will induce a gave operation:

main-view-dragging

After dropping the tab, a dialog will appear where you can set a name for the location you are so that you can later remember the occasion for that operation:

main-view-location-dialog

That's all

Activity tab

This tab simply shows you what's the last operations involving you (either from you or from one of your friend):

activity-view-normal

You can use a two-fingers swipe down and up on a list item to reveal a Google map of the area where that tab was registered:

activity-view-mapextended

Credits

The tab type logos are taken from The Noun Project

Some code in this app has been adapted from:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.