Giter Club home page Giter Club logo

projectandroidstudio's Introduction

ProjectAndroidStudio

Project for Mobile Dev by Alexis Ledoux

HOW TO USE

The first time you use the app, you are asked to register. just put the ID of one of the client (from 1 to 7)

If you already used this app (or you have some rest of this apk), you get a connexion page. You have to put the same ID that you have already set when you registered. If you don't remember it, you can reset. All local database will be lost, and you will be redirected to the register page

WHen you registered/logged in, you can access the values. By default, you get the local results (so you get nothing if you just registered or never updated) When you want to update the database, you simply click on the update button. The connexion will be done in background, with an error message if the connexion didn't work (a toast).

SECURE SAVING OF DATA

The program is using 2 tables in a app.db3 database in sqlite3. The implementation of sqlite3 in android makes retrieving data not easy, with protections such as rstriction of access for others applications To identify yourself, you ID is compared to a hashed version of your ID, mixed with a salt. The algorithm is SHA-512. So the database dosn't have your ID in clear text

For the local data abount accounts, i choose to encode it using a base64 encoding method.

hiding API URL

to somewhat hide the APi url, i'm not using it as a celar text string in my source code, but i'm referring to a string i declared in my gradle.properties file. It can still be retrieved, but it's way harder (+ the API is not secured anyway)

Screenshots

image Image of the register View

image image of the account View, the first time you logged in ("Liste vide")

image image of the same view after clicking the update button

image image of the start of the application (connecting view), if you already use the application before The reset button sends you back to the register page

projectandroidstudio's People

Contributors

alle746 avatar

Watchers

 avatar

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.