Back to project page Look.
The source code is released under:
====================== LOOK! LICENSING TERMS ====================== look! is licensed under the BSD 3-Clause (also known as "BSD New" or "BSD Simplified"), as follows: Copyright (c) 2010-2012, Look...
If you think the Android project Look listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** *----------------------------------------------------------------------------- * Copyright (c) 2012, Look! Development Team * All rights reserved.// w ww .ja v a 2s.c om * * Distributed under the terms of the BSD Simplified License. * * The full license is in the LICENSE file, distributed with this software. *----------------------------------------------------------------------------- */ package es.ucm.look.data.remote; /** * Here are defined the Constants for the Callbacks and the commons fields of databases * * @author Sergio * */ public class LookProperties { //--------------- actions to recognize the callback----------- /** * Action name for when we get logged */ public static final int ACTION_LOGIN = 0; /** * Action name for when an element is added */ public static final int ACTION_ADD_ELEMENT = 1; /** * Action name for when the local entities are updated */ public static final int UPDATE_DB = 2; /** * Action name for when a property is modified */ public static final int ACTION_MODIFY_PROPERTY = 3; //--------------- fields commons in the database--------------- // COMMON FIELDS public static final String FIELD_ID = "id"; // MAIN TABLE public static final String FIELD_POS_X = "pos_x"; public static final String FIELD_POS_Y = "pos_y"; public static final String FIELD_POS_Z = "pos_z"; public static final String FIELD_LAST_UPDATE = "last_update"; // PROPERTY TABLE public static final String FIELD_PROPERTY = "property"; public static final String FIELD_VALUE = "value"; //COMMON PROPERTIES public static final String PROPERTY_TYPE = "type"; }