项目作者: iomodo

项目描述 :
Augmented Reality Social Network
高级语言: Java
项目地址: git://github.com/iomodo/Wally.git
创建时间: 2016-03-03T12:32:23Z
项目社区:https://github.com/iomodo/Wally

开源协议:

下载


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

  1. public class MyClass {
  2. public static final int SOME_CONSTANT = 42;
  3. public int publicField;
  4. private static MyClass sSingleton;
  5. int mPackagePrivate;
  6. private int mPrivate;
  7. protected int mProtected;
  8. }

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)