Update browseable samples for lmp-docs
Synced to commit df5e5013422b81b4fd05c0ac9fd964b13624847a. Includes new samples for Android Auto. Change-Id: I3fec46e2a6b3f196682a92f1afd91eb682dc2dc1
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.android.synchronizednotifications"
|
||||
package="com.example.android.wearable.synchronizednotifications"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action
|
||||
android:name="com.example.android.wearable.synchronizednotifications.DISMISS" />
|
||||
android:name="com.example.android.wearable.wearable.synchronizednotifications.DISMISS" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
</application>
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<!--
|
||||
Copyright 2014 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<!-- Activity themes -->
|
||||
<style name="Theme.Base" parent="android:Theme.Material.Light" />
|
||||
|
||||
</resources>
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.synchronizednotifications;
|
||||
package com.example.android.wearable.synchronizednotifications;
|
||||
|
||||
import static com.google.android.gms.wearable.PutDataRequest.WEAR_URI_SCHEME;
|
||||
|
||||
@@ -24,7 +24,7 @@ import android.os.Bundle;
|
||||
import android.support.v4.app.NotificationManagerCompat;
|
||||
import android.util.Log;
|
||||
|
||||
import com.example.android.synchronizednotifications.common.Constants;
|
||||
import com.example.android.wearable.synchronizednotifications.common.Constants;
|
||||
import com.google.android.gms.common.ConnectionResult;
|
||||
import com.google.android.gms.common.api.GoogleApiClient;
|
||||
import com.google.android.gms.common.api.ResultCallback;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.synchronizednotifications;
|
||||
package com.example.android.wearable.synchronizednotifications;
|
||||
|
||||
import android.graphics.Color;
|
||||
import android.os.Bundle;
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.synchronizednotifications;
|
||||
package com.example.android.wearable.synchronizednotifications;
|
||||
|
||||
import android.app.PendingIntent;
|
||||
import android.content.Intent;
|
||||
@@ -31,7 +31,7 @@ import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Toast;
|
||||
|
||||
import com.example.android.synchronizednotifications.common.Constants;
|
||||
import com.example.android.wearable.synchronizednotifications.common.Constants;
|
||||
import com.google.android.gms.common.ConnectionResult;
|
||||
import com.google.android.gms.common.api.GoogleApiClient;
|
||||
import com.google.android.gms.common.api.ResultCallback;
|
||||
@@ -16,7 +16,7 @@
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.android.synchronizednotifications.common">
|
||||
package="com.example.android.wearable.synchronizednotifications.common">
|
||||
|
||||
<application android:allowBackup="true"
|
||||
android:label="@string/app_name">
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.example.android.synchronizednotifications.common;
|
||||
package com.example.android.wearable.synchronizednotifications.common;
|
||||
|
||||
/**
|
||||
* Constants that are used in both the Application and the Wearable modules.
|
||||
@@ -33,5 +33,5 @@ public final class Constants {
|
||||
public static final String KEY_CONTENT = "content";
|
||||
|
||||
public static final String ACTION_DISMISS
|
||||
= "com.example.android.synchronizednotifications.DISMISS";
|
||||
= "com.example.android.wearable.synchronizednotifications.DISMISS";
|
||||
}
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.example.android.synchronizednotifications">
|
||||
package="com.example.android.wearable.synchronizednotifications">
|
||||
|
||||
<uses-sdk android:minSdkVersion="20"
|
||||
android:targetSdkVersion="20" />
|
||||
@@ -46,7 +46,7 @@
|
||||
</intent-filter>
|
||||
<intent-filter>
|
||||
<action
|
||||
android:name="com.example.android.synchronizednotifications.DISMISS" />
|
||||
android:name="com.example.android.wearable.synchronizednotifications.DISMISS" />
|
||||
</intent-filter>
|
||||
</service>
|
||||
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<string name="app_name">Sample Wearable app</string>
|
||||
<string name="app_name">Synchronized Notifications</string>
|
||||
</resources>
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.example.android.synchronizednotifications;
|
||||
package com.example.android.wearable.synchronizednotifications;
|
||||
|
||||
import static com.google.android.gms.wearable.PutDataRequest.WEAR_URI_SCHEME;
|
||||
|
||||
@@ -26,7 +26,7 @@ import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.util.Log;
|
||||
|
||||
import com.example.android.synchronizednotifications.common.Constants;
|
||||
import com.example.android.wearable.synchronizednotifications.common.Constants;
|
||||
import com.google.android.gms.common.ConnectionResult;
|
||||
import com.google.android.gms.common.api.GoogleApiClient;
|
||||
import com.google.android.gms.common.api.ResultCallback;
|
||||
@@ -13,7 +13,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.example.android.synchronizednotifications;
|
||||
package com.example.android.wearable.synchronizednotifications;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
Reference in New Issue
Block a user