From b348c0126e2f7021fa361fd5cdc097c47b3088e1 Mon Sep 17 00:00:00 2001 From: Bart Lantz Date: Thu, 10 Jun 2010 14:36:58 -0600 Subject: [PATCH] added steps in README for customizing app for different conferences. --- AndroidManifest.xml | 4 ++-- README | 20 +++++++++++++++++++ default.properties | 2 +- local.properties | 2 +- .../iosched/io/RemoteSessionsHandler.java | 2 +- .../iosched/provider/ScheduleProvider.java | 1 + .../apps/iosched/service/SyncService.java | 9 ++++++--- 7 files changed, 32 insertions(+), 8 deletions(-) mode change 100644 => 100755 AndroidManifest.xml diff --git a/AndroidManifest.xml b/AndroidManifest.xml old mode 100644 new mode 100755 index e421bee..f120b93 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -21,8 +21,8 @@ android:versionName="0.12"> + android:minSdkVersion="6" + android:targetSdkVersion="6" /> Publish as a web page->Sheets to publish "all sheets". + b. grab the atom URL. +3. edit src/com/google/android/app/iosched/service/SyncService.java + change WORKSHEET_URL to be the atom URL from 2.b. up above. +4.a. add the following columns to sessions worksheet: sessiondate, sessiontime, room, product, track, sessiontype, sessiontitle, tags, sessionspeakers, speakers, sessionabstract, sessionrequirements, sessionlink, sessionhashtag, fulllink, youtubelink, pdflink, moderatorlink, waveid, wavelink +(sessionlink MUST be filled in and unique!) +4.b. add the following columns to the speakers worksheet: speakertitle, speakercompany, speakerabstract, speakerldap +4.c. add the following columns to the sandbox worksheet: companyname, companylocation, companydesc, companyurl, productdesc, companylogo, companypod, companytags +5. replace images in res/drawables, etc with your conventions logos. +6. + + + +About the Original App +========================= Google I/O is a developer conference held each year with two days of deep technical content featuring over 90 sessions, more than 5,000 developers, and over 180 demonstrations from developers showcasing their technologies. This project is the Android app for the conference, including these features and more: diff --git a/default.properties b/default.properties index d84434c..c2606fa 100644 --- a/default.properties +++ b/default.properties @@ -11,4 +11,4 @@ split.density=false # Project target. -target=android-5 +target=android-6 diff --git a/local.properties b/local.properties index 8c4030b..eb72ab0 100644 --- a/local.properties +++ b/local.properties @@ -1,2 +1,2 @@ -sdk.dir=/home/jsharkey/android-sdk-linux +sdk.dir=/home/bart/android-sdk-linux_86 diff --git a/src/com/google/android/apps/iosched/io/RemoteSessionsHandler.java b/src/com/google/android/apps/iosched/io/RemoteSessionsHandler.java index 9a71908..683a927 100644 --- a/src/com/google/android/apps/iosched/io/RemoteSessionsHandler.java +++ b/src/com/google/android/apps/iosched/io/RemoteSessionsHandler.java @@ -78,7 +78,7 @@ public ArrayList parse(XmlPullParser parser, ContentRe if (type == START_TAG && ENTRY.equals(parser.getName())) { // Process single spreadsheet row at a time final SpreadsheetEntry entry = SpreadsheetEntry.fromParser(parser); - + Log.v(TAG, "found session " + entry.toString()); final String sessionId = sanitizeId(entry.get(Columns.SESSION_LINK)); final Uri sessionUri = Sessions.buildSessionUri(sessionId); diff --git a/src/com/google/android/apps/iosched/provider/ScheduleProvider.java b/src/com/google/android/apps/iosched/provider/ScheduleProvider.java index d0d9585..89aac5a 100644 --- a/src/com/google/android/apps/iosched/provider/ScheduleProvider.java +++ b/src/com/google/android/apps/iosched/provider/ScheduleProvider.java @@ -279,6 +279,7 @@ public Cursor query(Uri uri, String[] projection, String selection, String[] sel @Override public Uri insert(Uri uri, ContentValues values) { if (LOGV) Log.v(TAG, "insert(uri=" + uri + ", values=" + values.toString() + ")"); + Log.v(TAG, "insert(uri=" + uri + ", values=" + values.toString() + ")"); final SQLiteDatabase db = mOpenHelper.getWritableDatabase(); final int match = sUriMatcher.match(uri); switch (match) { diff --git a/src/com/google/android/apps/iosched/service/SyncService.java b/src/com/google/android/apps/iosched/service/SyncService.java index 76685a5..c98aaaa 100644 --- a/src/com/google/android/apps/iosched/service/SyncService.java +++ b/src/com/google/android/apps/iosched/service/SyncService.java @@ -83,9 +83,12 @@ public class SyncService extends IntentService { private static final int SECOND_IN_MILLIS = (int) DateUtils.SECOND_IN_MILLIS; /** Root worksheet feed for online data source */ - private static final String WORKSHEETS_URL = "http://spreadsheets.google.com" - + "/feeds/worksheets/t0bDxnEqbFO4XuYpkA070Nw/public/basic"; - + //private static final String WORKSHEETS_URL = "http://spreadsheets.google.com" + // + "/feeds/worksheets/t0bDxnEqbFO4XuYpkA070Nw/public/basic"; + //private static final String WORKSHEETS_URL = "http://spreadsheets.google.com/" + // + "feeds/worksheets/0An7RnSwRegJfdHdkNnN5TTQ5M29GcUlGV2VJbThxR3c/public/basic"; + private static final String WORKSHEETS_URL = "http://spreadsheets.google.com/" + + "feeds/worksheets/twd6syM493oFqIFWeIm8qGw/public/basic"; private static final String HEADER_ACCEPT_ENCODING = "Accept-Encoding"; private static final String ENCODING_GZIP = "gzip";