Coder Social home page Coder Social logo

flatmate-android's People

Stargazers

 avatar

Watchers

 avatar

flatmate-android's Issues

Lock out unapproved flat members

At the moment unapproved flat members, while not in the approved members UI, can still see the approved members UI.

I can improve the rails logic such that an unapproved flat member can't do or see shit, but the app still needs a slight rework so that when:

  1. You log in successfully
  2. ...and have a flat_id assigned
  3. ...and have flat_approved set to false

A different layout renders which basically says "You need to get a flatmate to approve you in their flat settings page before you can access the data"

Fall back to wifi router for detecting location

Use the WifiManager library to get current network's Mac address, and compare it against the Mac address recorded as belonging to the flat.

The code for this is literally:

WifiManager wifiMan = (WifiManager) this.getSystemService(
            Context.WIFI_SERVICE);
WifiInfo wifiInf = wifiMan.getConnectionInfo();
String macAddr = wifiInf.getMacAddress();

Does login need labelling?

With the only buttons on the login screen saying "Login" and "Register" anyway, I think we can lose the "Login" label at the top as well.

Open to discussion.

Your location is more accurate from other peoples perspective

I just registered a new user and joined the flat, I can see my old user is in a very accurate location, yet when I was logged in as them (and I get the same thing on this new user) my location was very roughly estimated to be anywhere within a 1mile radius of central bristol!

It seems the server understands my location accurately, but GMaps's estimate is inaccurate.

Software keyboard covers register / login buttons

Having them scroll up a fixed amount is not a good solution as different screen resolutions and keyboard solutions will cause unpredictability.

In addition, (correct me if I'm wrong!) the norm for opening an un-logged in app is not for the first field to take focus, thus opening the software keyboard, but instead to let the user do it. This gives a moment of the entire apps opening screen UI to err, "stun" the user!

Proposed solution:

  1. App opens with nothing taking focus; no keyboard.
  2. User clicks username field
  3. Keyboard opens, the content of the view slides up as far as it can, and just in case that isn't enough, the view is made scrollable.

Design app icon

Something nice and iconic, consistent with the Holo app design.

Research services

Ensure we know how to update location in the background, without forcing the app itself to stay open.

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.