Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.97 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.97 KB

Wally

Wally is a location-based augmented reality social network. Users can post and share virtual content (such as notes, images, videos) in the real world though their Google Tango devices.

see the demo

Coding styles & standards

Please refer to official Android coding standards.

See how variable declaration differs

public class MyClass {
    public static final int SOME_CONSTANT = 42;
    public int publicField;
    private static MyClass sSingleton;
    int mPackagePrivate;
    private int mPrivate;
    protected int mProtected;
}

Also see Annotation guide. and [Full Annotation list] (http://developer.android.com/reference/android/support/annotation/package-summary.html)

Annotations like @NonNull , @UiThread , @CallSuper Will be very handful.

If you are eager to read further, see [full coding styles & standards] (https://github.com/ribot/android-guidelines/blob/master/project_and_code_guidelines.md).

Honor rules.

Before pushing your code:

  1. Run lint test task. (From gradle panel in the editor, right top panel, Wally -> Tasks -> verification -> lint
  2. Open your generated lint report page and see what new warnings were added.
  3. If there was something new refactor or suppress lint warning.
  4. If you cannot suppress warning leave it with a reason described in your commit message.

Be careful when you suppress warning. Never suppress warning that might crash or break application. You can suppress when you definitely have a reason. For example when you know that variable will never be null and lint warns you NullPointerException, you can suppress warning.

Useful Links

[Google Sign in sample (With silent sign in)] (https://github.com/googlesamples/google-services/blob/master/android/signin/app/src/main/java/com/google/samples/quickstart/signin/SignInActivity.java)