Skip to content
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.

Commit

Permalink
added steps in README for customizing app for different conferences.
Browse files Browse the repository at this point in the history
  • Loading branch information
underhilllabs committed Jun 10, 2010
1 parent 838fca1 commit b348c01
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 8 deletions.
4 changes: 2 additions & 2 deletions AndroidManifest.xml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
android:versionName="0.12">

<uses-sdk
android:minSdkVersion="5"
android:targetSdkVersion="5" />
android:minSdkVersion="6"
android:targetSdkVersion="6" />

<permission
android:name="com.google.android.apps.iosched.permission.WRITE_SCHEDULE"
Expand Down
20 changes: 20 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
How to Update the App code for your Convention
===============================================

1. Create a google spreadsheet with 3 worksheets, title them: sessions, speakers, sandbox.
2. Pusblish the worksheet as an atom stream:
a. Share->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:
Expand Down
2 changes: 1 addition & 1 deletion default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
split.density=false

# Project target.
target=android-5
target=android-6
2 changes: 1 addition & 1 deletion local.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sdk.dir=/home/jsharkey/android-sdk-linux
sdk.dir=/home/bart/android-sdk-linux_86

Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public ArrayList<ContentProviderOperation> 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);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
9 changes: 6 additions & 3 deletions src/com/google/android/apps/iosched/service/SyncService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down

0 comments on commit b348c01

Please sign in to comment.