Skip to content

Commit

Permalink
Publishing the I/O 2014 source.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Oliveira committed Jul 30, 2014
1 parent 4ef25b4 commit 36d8898
Show file tree
Hide file tree
Showing 1,302 changed files with 82,368 additions and 35,549 deletions.
40 changes: 0 additions & 40 deletions BUILDING.txt

This file was deleted.

14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ and sizes. It also contains an Android Wear integration.

![Screenshot](art/hero.png)

We're updating the I/O app with [material design](http://www.google.com/design/spec) and the [Android L Developer Preview](http://developer.android.com/preview/index.html)! Source code for the updated I/O app is coming soon but you can get a sneak peek of the new tactile surfaces, animated touch feedback, bold use of color, and refreshed iconography by checking out this [teaser video](https://www.youtube.com/watch?v=mCgteBXYxQc) or downloading the preview APK below.
We have updated the I/O app with [material design](http://www.google.com/design/spec) and the [Android L Developer Preview](http://developer.android.com/preview/index.html)! For a quick preview of the new tactile surfaces, animated touch feedback, bold use of color, and refreshed iconography by checking out this [teaser video](https://www.youtube.com/watch?v=mCgteBXYxQc) or download the preview APK below.

<a href="../../raw/master/binaries/iosched-lpreview.apk"><b>Download the I/O app APK for Android L Preview</b></a>

Expand All @@ -22,7 +22,7 @@ more information, please refer to the [Android L Developer Preview page](http://

<h2>Source</h2>

**Note:** The source code in this repository still reflects the app as of I/O 2013. We will updated it to the I/O 2014 code shortly.
The source code in this repository reflects the app as of I/O 2014.

<h2>Features</h2>

Expand All @@ -44,7 +44,15 @@ With the app, you can:
- See a list of people whose badges you have scanned, and take notes about your meeting with them
- Send feedback on sessions, from your phone/tablet, or from your Android Wear device

Please refer to BUILDING.TXT for details about how to build and run the source.
<h2>How to Work with the Source</h2>

We hope the source code for this app is useful for you as a reference or starting point for creating your own apps. Here is some additional reading to help you better understand and reuse this code.

* [Build instructions](doc/BUILDING.md): instructions on how to build and run the code.
* [Sync protocol and data format](doc/SYNC.md)
* [Image loading](doc/IMAGES.md)
* [Use of GCM](doc/GCM.md)
* [Customization guide](doc/CUSTOM.md)

<h2>Copyright</h2>

Expand Down
15 changes: 15 additions & 0 deletions Wearable/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright 2014 Google Inc. All rights reserved.
#
# 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.

/build
72 changes: 72 additions & 0 deletions Wearable/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
/*
* Copyright 2014 Google Inc. All rights reserved.
*
* 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.
*/

apply plugin: 'android'

repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}

android {
compileSdkVersion 20
buildToolsVersion "19.1.0"

defaultConfig {
applicationId "com.google.samples.apps.iosched"
minSdkVersion 20
targetSdkVersion 20
versionCode 1
versionName "1.0"
}
signingConfigs {
debug {
storeFile file("../android/debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
release {
storeFile file("../android/debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}

buildTypes {
debug {
debuggable true
signingConfig signingConfigs.debug
}
release {
signingConfig signingConfigs.release
}
}

lintOptions {
abortOnError false
}
}

dependencies {
compile 'com.android.support:support-v13:+'
compile 'com.google.android.support:wearable:+'
compile 'com.google.android.gms:play-services-wearable:+'
}

32 changes: 32 additions & 0 deletions Wearable/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2014 Google Inc. All rights reserved.
#
# 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.


# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /usr/local/android-sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
73 changes: 73 additions & 0 deletions Wearable/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<!--
Copyright 2014 Google Inc. All rights reserved.
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.
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.samples.apps.iosched">

<application
android:name=".iowear.WearableApplication"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@android:style/Theme.DeviceDefault.Light">

<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />

<activity
android:name=".iowear.PagerActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
<intent-filter>
<action android:name="com.test.myapp" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<activity
android:name=".iowear.FinishActivity"
android:label="@string/thanks">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>

<activity
android:name=".iowear.NotificationActivity"
android:taskAffinity=""
android:allowEmbedded="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>

<service android:name=".iowear.HomeListenerService">
<intent-filter>
<action android:name="com.google.android.gms.wearable.BIND_LISTENER" />
</intent-filter>
<intent-filter>
<action android:name="com.google.devrel.io.android.iowear.ACTION_DISMISS" />
</intent-filter>
<intent-filter>
<action android:name="com.google.devrel.io.android.iowear.ACTION_FEEDBACK" />
</intent-filter>
</service>
</application>

</manifest>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
* Copyright 2014 Google Inc. All rights reserved.
*
* 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.
*/

package com.google.samples.apps.iosched.iowear;

import android.app.Activity;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.google.samples.apps.iosched.R;

/**
* A simple activity to show that the process of collection and submission of a session feedback has
* finished. Note that there would be no indication of success or failure of the process.
*/
public class FinishActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_finish);
findViewById(R.id.ok).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
finish();
}
});
Typeface typeFace = Typeface.createFromAsset(getAssets(), "RobotoCondensed-Light.ttf");
TextView thanksText = (TextView) findViewById(R.id.thanks_text);
thanksText.setTypeface(typeFace);
}
}
Loading

0 comments on commit 36d8898

Please sign in to comment.