Update browseable samples for lmp-docs
Synced to commit df5e5013422b81b4fd05c0ac9fd964b13624847a. Includes new samples for Android Auto. Change-Id: I3fec46e2a6b3f196682a92f1afd91eb682dc2dc1
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.android.geofencing" >
|
||||
package="com.example.android.wearable.geofencing" >
|
||||
|
||||
<uses-sdk android:minSdkVersion="20"
|
||||
android:targetSdkVersion="20" />
|
||||
@@ -32,7 +32,7 @@
|
||||
android:value="@integer/google_play_services_version" />
|
||||
|
||||
<service
|
||||
android:name="com.example.android.geofencing.HomeListenerService" >
|
||||
android:name="com.example.android.wearable.geofencing.HomeListenerService" >
|
||||
<intent-filter>
|
||||
<action android:name="com.google.android.gms.wearable.BIND_LISTENER" />
|
||||
</intent-filter>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.geofencing;
|
||||
package com.example.android.wearable.geofencing;
|
||||
|
||||
import com.google.android.gms.common.ConnectionResult;
|
||||
import com.google.android.gms.common.api.GoogleApiClient;
|
||||
@@ -31,11 +31,11 @@ import android.util.Log;
|
||||
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
import static com.example.android.geofencing.Constants.ACTION_CHECK_IN;
|
||||
import static com.example.android.geofencing.Constants.ACTION_DELETE_DATA_ITEM;
|
||||
import static com.example.android.geofencing.Constants.CONNECTION_TIME_OUT_MS;
|
||||
import static com.example.android.geofencing.Constants.NOTIFICATION_ID;
|
||||
import static com.example.android.geofencing.Constants.TAG;
|
||||
import static com.example.android.wearable.geofencing.Constants.ACTION_CHECK_IN;
|
||||
import static com.example.android.wearable.geofencing.Constants.ACTION_DELETE_DATA_ITEM;
|
||||
import static com.example.android.wearable.geofencing.Constants.CONNECTION_TIME_OUT_MS;
|
||||
import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID;
|
||||
import static com.example.android.wearable.geofencing.Constants.TAG;
|
||||
|
||||
/**
|
||||
* Handles "Check In" action on the location-based notification. Also deletes orphan DataItems
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.geofencing;
|
||||
package com.example.android.wearable.geofencing;
|
||||
|
||||
/** Constants used in wearable app. */
|
||||
public final class Constants {
|
||||
@@ -14,15 +14,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.geofencing;
|
||||
package com.example.android.wearable.geofencing;
|
||||
|
||||
import static com.example.android.geofencing.Constants.ACTION_CHECK_IN;
|
||||
import static com.example.android.geofencing.Constants.ACTION_DELETE_DATA_ITEM;
|
||||
import static com.example.android.geofencing.Constants.ANDROID_BUILDING_ID;
|
||||
import static com.example.android.geofencing.Constants.KEY_GEOFENCE_ID;
|
||||
import static com.example.android.geofencing.Constants.NOTIFICATION_ID;
|
||||
import static com.example.android.geofencing.Constants.TAG;
|
||||
import static com.example.android.geofencing.Constants.YERBA_BUENA_ID;
|
||||
import static com.example.android.wearable.geofencing.Constants.ACTION_CHECK_IN;
|
||||
import static com.example.android.wearable.geofencing.Constants.ACTION_DELETE_DATA_ITEM;
|
||||
import static com.example.android.wearable.geofencing.Constants.ANDROID_BUILDING_ID;
|
||||
import static com.example.android.wearable.geofencing.Constants.KEY_GEOFENCE_ID;
|
||||
import static com.example.android.wearable.geofencing.Constants.NOTIFICATION_ID;
|
||||
import static com.example.android.wearable.geofencing.Constants.TAG;
|
||||
import static com.example.android.wearable.geofencing.Constants.YERBA_BUENA_ID;
|
||||
|
||||
import android.app.Notification;
|
||||
import android.app.Notification.Action;
|
||||
Reference in New Issue
Block a user