├── 1024x500.png
├── 512x512.png
├── AndroidManifest.xml
├── Catch_Android_Conference_Guide.pdf
├── Example CSV files
├── EventSessions.csv
├── Events.csv
└── Speakers.csv
├── License
├── README
├── assets
├── about
│ └── index.html
├── javascript
│ ├── .svn
│ │ └── entries
│ ├── jquery.json.js
│ ├── jquery.min.js
│ └── json2.js
└── speaker
│ └── index.html
├── bin
├── TEDApp.apk
├── classes.dex
├── classes
│ ├── .DS_Store
│ └── com
│ │ ├── catchnotes
│ │ └── tedapp
│ │ │ ├── AboutActivity$1.class
│ │ │ ├── AboutActivity.class
│ │ │ ├── ArchiveActivity$1.class
│ │ │ ├── ArchiveActivity.class
│ │ │ ├── EventMapActivity$HelloItemizedOverlay$1.class
│ │ │ ├── EventMapActivity$HelloItemizedOverlay$2.class
│ │ │ ├── EventMapActivity$HelloItemizedOverlay.class
│ │ │ ├── EventMapActivity.class
│ │ │ ├── Main$1.class
│ │ │ ├── Main$2.class
│ │ │ ├── Main.class
│ │ │ ├── R$array.class
│ │ │ ├── R$attr.class
│ │ │ ├── R$color.class
│ │ │ ├── R$dimen.class
│ │ │ ├── R$drawable.class
│ │ │ ├── R$id.class
│ │ │ ├── R$layout.class
│ │ │ ├── R$string.class
│ │ │ ├── R$style.class
│ │ │ ├── R$xml.class
│ │ │ ├── R.class
│ │ │ ├── SessionResultActivity$LoadSearchResultTask.class
│ │ │ ├── SessionResultActivity.class
│ │ │ ├── SpeakerActivity$1.class
│ │ │ ├── SpeakerActivity.class
│ │ │ ├── SpeakerResultActivity$LoadSearchResultTask.class
│ │ │ ├── SpeakerResultActivity.class
│ │ │ ├── SpeakerResultTabActivity.class
│ │ │ ├── SubEventSessionResultActivity$LoadSearchResultTask.class
│ │ │ ├── SubEventSessionResultActivity.class
│ │ │ ├── SubEventSpeakerResultActivity$LoadSearchResultTask.class
│ │ │ ├── SubEventSpeakerResultActivity.class
│ │ │ └── SubEventSpeakerResultTabActivity.class
│ │ └── tedx
│ │ ├── activities
│ │ ├── GroupLazyActivity$1.class
│ │ ├── GroupLazyActivity$LoadImageTask.class
│ │ ├── GroupLazyActivity$LoadQueue.class
│ │ ├── GroupLazyActivity$LoadTask.class
│ │ ├── GroupLazyActivity.class
│ │ ├── LazyActivity$1.class
│ │ ├── LazyActivity$LoadImageTask.class
│ │ ├── LazyActivity$LoadQueue.class
│ │ ├── LazyActivity$LoadTask.class
│ │ └── LazyActivity.class
│ │ ├── adapters
│ │ ├── GroupLazyAdapter.class
│ │ └── LazyAdapter.class
│ │ ├── helpers
│ │ └── Common.class
│ │ ├── logics
│ │ ├── ArchiveLogic.class
│ │ ├── AttendeeLogic.class
│ │ └── SearchResultLogic.class
│ │ ├── objects
│ │ ├── CatchIntent.class
│ │ ├── SearchResult.class
│ │ └── SessionResult.class
│ │ └── utility
│ │ ├── FusionTableReader.class
│ │ ├── HTTPQueue$1.class
│ │ ├── HTTPQueue.class
│ │ ├── HTTPThread.class
│ │ ├── IntentIntegrator$1.class
│ │ ├── IntentIntegrator$2.class
│ │ ├── IntentIntegrator.class
│ │ ├── RemoteImageView$1.class
│ │ └── RemoteImageView.class
├── res
│ ├── drawable-hdpi
│ │ ├── about.png
│ │ ├── about_focused.png
│ │ ├── about_pressed.png
│ │ ├── addcontact.png
│ │ ├── addcontact_blackwhite.png
│ │ ├── addcontact_focused.png
│ │ ├── addcontact_pressed.png
│ │ ├── barcode.png
│ │ ├── barcode_focused.png
│ │ ├── barcode_pressed.png
│ │ ├── contact.png
│ │ ├── contact_focused.png
│ │ ├── contact_pressed.png
│ │ ├── events.png
│ │ ├── events_focused.png
│ │ ├── events_pressed.png
│ │ ├── facebook.png
│ │ ├── facebook_focused.png
│ │ ├── facebook_pressed.png
│ │ ├── ic_launcher.png
│ │ ├── map.png
│ │ ├── map_focused.png
│ │ ├── map_pressed.png
│ │ ├── missingphoto.png
│ │ ├── note.png
│ │ ├── note_focused.png
│ │ ├── note_pressed.png
│ │ ├── schedule.png
│ │ ├── schedule_focused.png
│ │ ├── schedule_pressed.png
│ │ ├── session.png
│ │ ├── session_off.png
│ │ ├── speaker.png
│ │ ├── speaker_focused.png
│ │ ├── speaker_pressed.png
│ │ ├── speakers.png
│ │ ├── speakers_off.png
│ │ ├── ted2011.png
│ │ ├── ted2012.png
│ │ ├── tedglobal2011.png
│ │ ├── twitter.png
│ │ ├── twitter_focused.png
│ │ ├── twitter_pressed.png
│ │ ├── university.png
│ │ ├── university_focused.png
│ │ └── university_pressed.png
│ ├── drawable-ldpi
│ │ └── ic_launcher.png
│ ├── drawable-mdpi
│ │ ├── about.png
│ │ ├── about_focused.png
│ │ ├── about_pressed.png
│ │ ├── addcontact.png
│ │ ├── addcontact_blackwhite.png
│ │ ├── addcontact_focused.png
│ │ ├── addcontact_pressed.png
│ │ ├── background.png
│ │ ├── barcode.png
│ │ ├── barcode_focused.png
│ │ ├── barcode_pressed.png
│ │ ├── contact.png
│ │ ├── contact_focused.png
│ │ ├── contact_pressed.png
│ │ ├── events.png
│ │ ├── events_focused.png
│ │ ├── events_pressed.png
│ │ ├── facebook.png
│ │ ├── facebook_focused.png
│ │ ├── facebook_menu.png
│ │ ├── facebook_pressed.png
│ │ ├── ic_launcher.png
│ │ ├── icon.png
│ │ ├── mail_menu.png
│ │ ├── map.png
│ │ ├── map_focused.png
│ │ ├── map_pressed.png
│ │ ├── note.png
│ │ ├── note_focused.png
│ │ ├── note_pressed.png
│ │ ├── pin.png
│ │ ├── schedule.png
│ │ ├── schedule_focused.png
│ │ ├── schedule_pressed.png
│ │ ├── speaker.png
│ │ ├── speaker_focused.png
│ │ ├── speaker_pressed.png
│ │ ├── twitter.png
│ │ ├── twitter_focused.png
│ │ ├── twitter_menu.png
│ │ ├── twitter_pressed.png
│ │ └── university.png
│ ├── drawable-xhdpi
│ │ └── ic_launcher.png
│ └── drawable
│ │ └── market_icon.png
└── resources.ap_
├── gen
└── com
│ └── catchnotes
│ └── tedapp
│ └── R.java
├── project.properties
├── promo.png
├── res
├── .DS_Store
├── drawable-hdpi
│ ├── about.png
│ ├── about_focused.png
│ ├── about_pressed.png
│ ├── addcontact.png
│ ├── addcontact_blackwhite.png
│ ├── addcontact_focused.png
│ ├── addcontact_pressed.png
│ ├── barcode.png
│ ├── barcode_focused.png
│ ├── barcode_pressed.png
│ ├── bottom.jpg
│ ├── contact.png
│ ├── contact_focused.png
│ ├── contact_pressed.png
│ ├── events.png
│ ├── events_focused.png
│ ├── events_pressed.png
│ ├── facebook.png
│ ├── facebook_focused.png
│ ├── facebook_pressed.png
│ ├── ic_launcher.png
│ ├── map.png
│ ├── map_focused.png
│ ├── map_pressed.png
│ ├── missingphoto.png
│ ├── note.png
│ ├── note_focused.png
│ ├── note_pressed.png
│ ├── schedule.png
│ ├── schedule_focused.png
│ ├── schedule_pressed.png
│ ├── session.png
│ ├── session_off.png
│ ├── speaker.png
│ ├── speaker_focused.png
│ ├── speaker_pressed.png
│ ├── speakers.png
│ ├── speakers_off.png
│ ├── ted2011.png
│ ├── ted2012.png
│ ├── tedglobal2011.png
│ ├── twitter.png
│ ├── twitter_focused.png
│ ├── twitter_pressed.png
│ ├── university.png
│ ├── university_focused.png
│ └── university_pressed.png
├── drawable-ldpi
│ └── ic_launcher.png
├── drawable-mdpi
│ ├── about.png
│ ├── about_focused.png
│ ├── about_pressed.png
│ ├── addcontact.png
│ ├── addcontact_blackwhite.png
│ ├── addcontact_focused.png
│ ├── addcontact_pressed.png
│ ├── background.png
│ ├── barcode.png
│ ├── barcode_focused.png
│ ├── barcode_pressed.png
│ ├── contact.png
│ ├── contact_focused.png
│ ├── contact_pressed.png
│ ├── events.png
│ ├── events_focused.png
│ ├── events_pressed.png
│ ├── facebook.png
│ ├── facebook_focused.png
│ ├── facebook_menu.png
│ ├── facebook_pressed.png
│ ├── ic_launcher.png
│ ├── icon.png
│ ├── mail_menu.png
│ ├── map.png
│ ├── map_focused.png
│ ├── map_pressed.png
│ ├── note.png
│ ├── note_focused.png
│ ├── note_pressed.png
│ ├── pin.png
│ ├── schedule.png
│ ├── schedule_focused.png
│ ├── schedule_pressed.png
│ ├── speaker.png
│ ├── speaker_focused.png
│ ├── speaker_pressed.png
│ ├── twitter.png
│ ├── twitter_focused.png
│ ├── twitter_menu.png
│ ├── twitter_pressed.png
│ └── university.png
├── drawable-xhdpi
│ ├── .DS_Store
│ └── ic_launcher.png
├── drawable
│ ├── about_button.xml
│ ├── addcontact_button.xml
│ ├── contact_button.xml
│ ├── events_button.xml
│ ├── facebook_button.xml
│ ├── ic_tab_sessions.xml
│ ├── ic_tab_speakers.xml
│ ├── list_divider.xml
│ ├── map_button.xml
│ ├── market_icon.png
│ ├── note_button.xml
│ ├── scan_button.xml
│ ├── schedule_button.xml
│ ├── speaker_button.xml
│ ├── twitter_button.xml
│ └── university_button.xml
├── layout-land
│ └── main.xml
├── layout-small
│ └── searchresultrow.xml
├── layout
│ ├── account_entry.xml
│ ├── archive.xml
│ ├── attendee.xml
│ ├── main.xml
│ ├── map.xml
│ ├── searchresultrow.xml
│ ├── searchresults.xml
│ ├── sessiongroup.xml
│ ├── sessions.xml
│ ├── speakerview.xml
│ └── webview.xml
├── values
│ ├── SnapticNotesIntent.xml
│ ├── arrays.xml
│ ├── colors.xml
│ ├── dimens.xml
│ ├── ids.xml
│ ├── strings.xml
│ └── styles.xml
└── xml
│ └── conferences.xml
├── sn1.png
├── sn2.png
├── sn3.png
├── sn4.png
├── sn5.png
└── src
├── .DS_Store
└── com
├── catchnotes
└── tedapp
│ ├── AboutActivity.java
│ ├── ArchiveActivity.java
│ ├── EventMapActivity.java
│ ├── Main.java
│ ├── SessionResultActivity.java
│ ├── SpeakerActivity.java
│ ├── SpeakerResultActivity.java
│ ├── SpeakerResultTabActivity.java
│ ├── SubEventSessionResultActivity.java
│ ├── SubEventSpeakerResultActivity.java
│ └── SubEventSpeakerResultTabActivity.java
└── tedx
├── activities
├── GroupLazyActivity.java
└── LazyActivity.java
├── adapters
├── GroupLazyAdapter.java
└── LazyAdapter.java
├── helpers
└── Common.java
├── logics
├── ArchiveLogic.java
├── AttendeeLogic.java
└── SearchResultLogic.java
├── objects
├── CatchIntent.java
├── SearchResult.java
└── SessionResult.java
└── utility
├── FusionTableReader.java
├── HTTPQueue.java
├── HTTPThread.java
├── IntentIntegrator.java
└── RemoteImageView.java
/1024x500.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/1024x500.png
--------------------------------------------------------------------------------
/512x512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/512x512.png
--------------------------------------------------------------------------------
/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
31 |
35 |
38 |
39 |
40 |
41 |
42 |
43 |
45 |
46 |
47 |
49 |
50 |
51 |
53 |
54 |
55 |
57 |
58 |
60 |
61 |
63 |
64 |
65 |
67 |
68 |
69 |
71 |
72 |
73 |
75 |
76 |
77 |
79 |
80 |
81 |
84 |
85 |
86 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
--------------------------------------------------------------------------------
/Catch_Android_Conference_Guide.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/Catch_Android_Conference_Guide.pdf
--------------------------------------------------------------------------------
/Example CSV files/EventSessions.csv:
--------------------------------------------------------------------------------
1 | SessionId,EventId,SessionTime,SessionName,CreateDate
2 | 1,1,,Corporate ,7/7/11
3 | 4,1,,Technology,7/7/11
4 | 2,1,,Internet ,7/7/11
5 | 5,1,,Print Media,7/7/11
6 | 3,1,,Pay-Television,7/7/11
7 | 8,2,,7:30-8:15 PM July 11 Dinner speaker – Developments/opportunities/challenges ,7/8/11
8 | 10,2,,10:30-11:15 AM July 12,7/8/11
9 | 12,2,,12:00-12:30 July 12 Briefing - Twitter ,7/8/11
10 | 6,2,,2:00-2:30 PM July 11 Presentation - Comcast ,7/8/11
11 | 5,2,,1:30-2:00 PM July 11 Presentation - Lionsgate,7/8/11
12 | 9,2,,8:30-9:15 PM July 11:Fireside session ,7/8/11
13 | 13,2,,2:00-2:45 PM July 12,7/8/11
14 | 16,2,,4:45-5:30 PM July 12 Presentation - Intuit,7/8/11
15 | 18,2,,6:15-6:45 PM July 12 Presentation - Kleiner Perkins,7/8/11
16 | 7,2,,2:45-3:30 PM July 11:Groundsourcing versus UGC,7/8/11
17 | 1,2,,9:45-10:30 AM July 11 Presentation - Netflix ,7/8/11
18 | 2,2,,11:00-11:30 AM July 11 Presentation – ESPN ,7/8/11
19 | 4,2,,12:00-12:30 AM July 11 Presentation – BlipTV ,7/8/11
20 | 14,2,,2:45-3:30 PM July 12,7/8/11
21 | 15,2,,3:45-4:45 PM July 12: Fireside chat,7/8/11
22 | 3,2,,11:30-12:00 AM July 11 Presentation - GoogleTV ,7/8/11
23 | 11,2,,11:15-12:00 AM July 12,7/8/11
24 | 17,2,,5:30-6:15 PM July 12 Presentation - FoundersFund,7/8/11
25 | 6,1,,,7/10/11
26 |
--------------------------------------------------------------------------------
/Example CSV files/Events.csv:
--------------------------------------------------------------------------------
1 | EventId,EventName,EventVersion,EventThemeId,EventDate,Description,Address,Website,Facebook,Twitter,ContactEmail,About,Schedule,CreateDate,CreateBy
2 | 1,Naspers,18,1,7/10/11,Naspers University,"Rosewood Sand Hill
3 | 2825 Sand Hill Road
4 | Menlo Park, CA 94025-7022",http://naspers.com/,,,peter@catch.com,"Naspers is a leading multinational media group, incorporated in 1915 as a public limited liability company and listed on the Johannesburg Stock Exchange (JSE) in September 1994. The company also has an ADR listing on the London Stock Exchange (LSE).
5 |
Over the past two decades the group has evolved from a traditional print media business in one country, to a broad-based e-media company in multiple markets.
6 |
The group’s principal operations are in internet platforms (focussing on commerce, communities, content, communication and games), pay-television and the provision of related technologies and print media (including publishing, distribution and printing of magazines, newspapers and books). Most of Naspers’s businesses hold leading market positions.
7 |
The group’s most significant operations are located in emerging markets. This includes South Africa and the rest of Sub-Saharan Africa, China, Latin America, Central and Eastern Europe, Russia and India.
8 |
The 2011 Naspers Strategy Conference will be held in Menlo Park from
9 | July 10th to 13th 2011 at:
10 | Rosewood Sand Hill
11 | 2825 Sand Hill Road
12 | Menlo Park, CA 94025-7022
13 | (650) 561-1500
",,7/7/11,Brook
14 | 2,Naspers,18,1,7/10/11,Naspers ,"Rosewood Sand Hill
15 | 2825 Sand Hill Road
16 | Menlo Park, CA 94025-7022",http://naspers.com/,,,peter@catch.com,"Naspers is a leading multinational media group, incorporated in 1915 as a public limited liability company and listed on the Johannesburg Stock Exchange (JSE) in September 1994. The company also has an ADR listing on the London Stock Exchange (LSE).
17 |
Over the past two decades the group has evolved from a traditional print media business in one country, to a broad-based e-media company in multiple markets.
18 |
The group’s principal operations are in internet platforms (focussing on commerce, communities, content, communication and games), pay-television and the provision of related technologies and print media (including publishing, distribution and printing of magazines, newspapers and books). Most of Naspers’s businesses hold leading market positions.
19 |
The group’s most significant operations are located in emerging markets. This includes South Africa and the rest of Sub-Saharan Africa, China, Latin America, Central and Eastern Europe, Russia and India.
20 |
The 2011 Naspers Strategy Conference will be held in Menlo Park from
21 | July 10th to 13th 2011 at:
22 | Rosewood Sand Hill
23 | 2825 Sand Hill Road
24 | Menlo Park, CA 94025-7022
25 | (650) 561-1500
",,7/7/11,Brook
26 |
--------------------------------------------------------------------------------
/License:
--------------------------------------------------------------------------------
1 | Copyright 2011 Catch.com, Inc.
2 |
3 | Licensed under the Apache License, Version 2.0 (the "License");
4 | you may not use this file except in compliance with the License.
5 | You may obtain a copy of the License at
6 |
7 | http://www.apache.org/licenses/LICENSE-2.0
8 |
9 | Unless required by applicable law or agreed to in writing, software
10 | distributed under the License is distributed on an "AS IS" BASIS,
11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | See the License for the specific language governing permissions and
13 | limitations under the License
14 |
15 |
16 | Includes Original TEDxApps Project
17 | Copyright (c) 2010 Peter Ma
18 | Released under the MIT
19 |
20 | Date: Sat June 24 12:03:48 2010 -0500
--------------------------------------------------------------------------------
/README:
--------------------------------------------------------------------------------
1 | Android Conference App Guide
By Peter Ma, Catch.com
Introduction
Catch.com makes it easy to capture your ideas and experiences into activity streams in those areas where you want to learn and grow. Capturing notes during a conference is an ideal use case for Catch.
After the release of several successful apps for TED and TEDx conferences that integrated the Catch functionality, it was decided to open source the app and make it available to any conference organizer for free. The functionality was further improved and syncing now uses Google Fusion Table to avoid relying on private databases. Any event organizer who wants to have an iphone app for their conference can simply follow this guide. The app is open sourced under the terms of the MIT license and Apache License and can be found at https://github.com/catch/TED-Android-App. Contributions are welcome.
The conference app currently supports single-track conferences. Conferences with multiple tracks are supported by having several single-track buttons on the dashboard. This portion will be improved in the future.
2 |
3 | please read Catch_Android_Conference_Guide.pdf to see further instructions
--------------------------------------------------------------------------------
/assets/about/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Info Page
7 |
8 |
9 |
10 |
11 |
108 |
109 |
110 |
111 |
112 |
113 |
114 |
119 |
120 |
121 |
122 |
123 |
124 |
--------------------------------------------------------------------------------
/assets/javascript/.svn/entries:
--------------------------------------------------------------------------------
1 | 10
2 |
3 | dir
4 | 7499
5 | svn+ssh://peter@svn.snaptic.com/assets/svn/api-apps/trunk/Catch%20Health/assets/javascript
6 | svn+ssh://peter@svn.snaptic.com/assets/svn
7 |
8 |
9 |
10 | 2010-11-24T03:31:31.091627Z
11 | 7215
12 | peter
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | 47c71b91-0550-41b2-9d14-58eae63b76b1
28 |
29 | flot
30 | dir
31 |
32 |
--------------------------------------------------------------------------------
/assets/javascript/jquery.json.js:
--------------------------------------------------------------------------------
1 |
2 | (function($){$.toJSON=function(o)
3 | {if(typeof(JSON)=='object'&&JSON.stringify)
4 | return JSON.stringify(o);var type=typeof(o);if(o===null)
5 | return"null";if(type=="undefined")
6 | return undefined;if(type=="number"||type=="boolean")
7 | return o+"";if(type=="string")
8 | return $.quoteString(o);if(type=='object')
9 | {if(typeof o.toJSON=="function")
10 | return $.toJSON(o.toJSON());if(o.constructor===Date)
11 | {var month=o.getUTCMonth()+1;if(month<10)month='0'+month;var day=o.getUTCDate();if(day<10)day='0'+day;var year=o.getUTCFullYear();var hours=o.getUTCHours();if(hours<10)hours='0'+hours;var minutes=o.getUTCMinutes();if(minutes<10)minutes='0'+minutes;var seconds=o.getUTCSeconds();if(seconds<10)seconds='0'+seconds;var milli=o.getUTCMilliseconds();if(milli<100)milli='0'+milli;if(milli<10)milli='0'+milli;return'"'+year+'-'+month+'-'+day+'T'+
12 | hours+':'+minutes+':'+seconds+'.'+milli+'Z"';}
13 | if(o.constructor===Array)
14 | {var ret=[];for(var i=0;i
2 |
3 |
4 |
5 | Speaker Detail
6 |
7 |
8 |
9 |
105 |
106 |
107 |
108 |
109 |
110 |
128 |
129 |
130 |
131 |
![]()
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
--------------------------------------------------------------------------------
/bin/TEDApp.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/TEDApp.apk
--------------------------------------------------------------------------------
/bin/classes.dex:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes.dex
--------------------------------------------------------------------------------
/bin/classes/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/.DS_Store
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/AboutActivity$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/AboutActivity$1.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/AboutActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/AboutActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/ArchiveActivity$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/ArchiveActivity$1.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/ArchiveActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/ArchiveActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/EventMapActivity$HelloItemizedOverlay$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/EventMapActivity$HelloItemizedOverlay$1.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/EventMapActivity$HelloItemizedOverlay$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/EventMapActivity$HelloItemizedOverlay$2.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/EventMapActivity$HelloItemizedOverlay.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/EventMapActivity$HelloItemizedOverlay.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/EventMapActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/EventMapActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/Main$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/Main$1.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/Main$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/Main$2.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/Main.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$array.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$array.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$attr.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$attr.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$color.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$color.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$dimen.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$dimen.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$drawable.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$drawable.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$id.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$id.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$layout.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$layout.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$string.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$string.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$style.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$style.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R$xml.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R$xml.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/R.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/R.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SessionResultActivity$LoadSearchResultTask.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SessionResultActivity$LoadSearchResultTask.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SessionResultActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SessionResultActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SpeakerActivity$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SpeakerActivity$1.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SpeakerActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SpeakerActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SpeakerResultActivity$LoadSearchResultTask.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SpeakerResultActivity$LoadSearchResultTask.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SpeakerResultActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SpeakerResultActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SpeakerResultTabActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SpeakerResultTabActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SubEventSessionResultActivity$LoadSearchResultTask.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SubEventSessionResultActivity$LoadSearchResultTask.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SubEventSessionResultActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SubEventSessionResultActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SubEventSpeakerResultActivity$LoadSearchResultTask.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SubEventSpeakerResultActivity$LoadSearchResultTask.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SubEventSpeakerResultActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SubEventSpeakerResultActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/catchnotes/tedapp/SubEventSpeakerResultTabActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/catchnotes/tedapp/SubEventSpeakerResultTabActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/GroupLazyActivity$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/GroupLazyActivity$1.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/GroupLazyActivity$LoadImageTask.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/GroupLazyActivity$LoadImageTask.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/GroupLazyActivity$LoadQueue.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/GroupLazyActivity$LoadQueue.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/GroupLazyActivity$LoadTask.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/GroupLazyActivity$LoadTask.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/GroupLazyActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/GroupLazyActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/LazyActivity$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/LazyActivity$1.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/LazyActivity$LoadImageTask.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/LazyActivity$LoadImageTask.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/LazyActivity$LoadQueue.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/LazyActivity$LoadQueue.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/LazyActivity$LoadTask.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/LazyActivity$LoadTask.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/activities/LazyActivity.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/activities/LazyActivity.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/adapters/GroupLazyAdapter.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/adapters/GroupLazyAdapter.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/adapters/LazyAdapter.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/adapters/LazyAdapter.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/helpers/Common.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/helpers/Common.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/logics/ArchiveLogic.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/logics/ArchiveLogic.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/logics/AttendeeLogic.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/logics/AttendeeLogic.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/logics/SearchResultLogic.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/logics/SearchResultLogic.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/objects/CatchIntent.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/objects/CatchIntent.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/objects/SearchResult.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/objects/SearchResult.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/objects/SessionResult.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/objects/SessionResult.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/utility/FusionTableReader.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/utility/FusionTableReader.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/utility/HTTPQueue$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/utility/HTTPQueue$1.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/utility/HTTPQueue.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/utility/HTTPQueue.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/utility/HTTPThread.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/utility/HTTPThread.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/utility/IntentIntegrator$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/utility/IntentIntegrator$1.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/utility/IntentIntegrator$2.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/utility/IntentIntegrator$2.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/utility/IntentIntegrator.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/utility/IntentIntegrator.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/utility/RemoteImageView$1.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/utility/RemoteImageView$1.class
--------------------------------------------------------------------------------
/bin/classes/com/tedx/utility/RemoteImageView.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/classes/com/tedx/utility/RemoteImageView.class
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/about.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/about_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/about_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/about_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/about_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/addcontact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/addcontact.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/addcontact_blackwhite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/addcontact_blackwhite.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/addcontact_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/addcontact_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/addcontact_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/addcontact_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/barcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/barcode.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/barcode_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/barcode_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/barcode_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/barcode_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/contact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/contact.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/contact_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/contact_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/contact_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/contact_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/events.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/events.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/events_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/events_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/events_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/events_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/facebook.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/facebook_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/facebook_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/facebook_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/facebook_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/map.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/map_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/map_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/map_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/map_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/missingphoto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/missingphoto.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/note.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/note.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/note_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/note_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/note_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/note_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/schedule.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/schedule.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/schedule_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/schedule_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/schedule_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/schedule_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/session.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/session.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/session_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/session_off.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/speaker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/speaker.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/speaker_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/speaker_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/speaker_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/speaker_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/speakers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/speakers.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/speakers_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/speakers_off.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/ted2011.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/ted2011.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/ted2012.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/ted2012.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/tedglobal2011.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/tedglobal2011.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/twitter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/twitter.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/twitter_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/twitter_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/twitter_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/twitter_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/university.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/university.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/university_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/university_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-hdpi/university_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-hdpi/university_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/about.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/about_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/about_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/about_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/about_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/addcontact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/addcontact.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/addcontact_blackwhite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/addcontact_blackwhite.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/addcontact_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/addcontact_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/addcontact_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/addcontact_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/background.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/barcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/barcode.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/barcode_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/barcode_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/barcode_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/barcode_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/contact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/contact.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/contact_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/contact_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/contact_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/contact_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/events.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/events.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/events_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/events_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/events_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/events_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/facebook.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/facebook_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/facebook_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/facebook_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/facebook_menu.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/facebook_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/facebook_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/icon.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/mail_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/mail_menu.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/map.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/map_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/map_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/map_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/map_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/note.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/note.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/note_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/note_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/note_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/note_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/pin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/pin.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/schedule.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/schedule.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/schedule_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/schedule_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/schedule_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/schedule_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/speaker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/speaker.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/speaker_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/speaker_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/speaker_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/speaker_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/twitter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/twitter.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/twitter_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/twitter_focused.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/twitter_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/twitter_menu.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/twitter_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/twitter_pressed.png
--------------------------------------------------------------------------------
/bin/res/drawable-mdpi/university.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-mdpi/university.png
--------------------------------------------------------------------------------
/bin/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/bin/res/drawable/market_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/res/drawable/market_icon.png
--------------------------------------------------------------------------------
/bin/resources.ap_:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/bin/resources.ap_
--------------------------------------------------------------------------------
/project.properties:
--------------------------------------------------------------------------------
1 | # This file is automatically generated by Android Tools.
2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED!
3 | #
4 | # This file must be checked in Version Control Systems.
5 | #
6 | # To customize properties used by the Ant build system use,
7 | # "ant.properties", and override values to adapt the script to your
8 | # project structure.
9 |
10 | # Indicates whether an apk should be generated for each density.
11 | split.density=false
12 | # Project target.
13 | target=Google Inc.:Google APIs:11
14 |
--------------------------------------------------------------------------------
/promo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/promo.png
--------------------------------------------------------------------------------
/res/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/.DS_Store
--------------------------------------------------------------------------------
/res/drawable-hdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/about.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/about_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/about_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/about_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/about_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/addcontact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/addcontact.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/addcontact_blackwhite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/addcontact_blackwhite.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/addcontact_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/addcontact_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/addcontact_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/addcontact_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/barcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/barcode.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/barcode_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/barcode_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/barcode_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/barcode_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/bottom.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/bottom.jpg
--------------------------------------------------------------------------------
/res/drawable-hdpi/contact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/contact.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/contact_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/contact_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/contact_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/contact_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/events.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/events.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/events_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/events_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/events_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/events_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/facebook.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/facebook_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/facebook_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/facebook_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/facebook_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/map.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/map_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/map_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/map_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/map_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/missingphoto.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/missingphoto.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/note.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/note.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/note_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/note_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/note_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/note_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/schedule.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/schedule.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/schedule_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/schedule_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/schedule_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/schedule_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/session.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/session.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/session_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/session_off.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/speaker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/speaker.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/speaker_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/speaker_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/speaker_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/speaker_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/speakers.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/speakers.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/speakers_off.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/speakers_off.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/ted2011.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/ted2011.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/ted2012.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/ted2012.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/tedglobal2011.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/tedglobal2011.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/twitter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/twitter.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/twitter_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/twitter_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/twitter_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/twitter_pressed.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/university.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/university.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/university_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/university_focused.png
--------------------------------------------------------------------------------
/res/drawable-hdpi/university_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-hdpi/university_pressed.png
--------------------------------------------------------------------------------
/res/drawable-ldpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-ldpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/about.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/about.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/about_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/about_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/about_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/about_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/addcontact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/addcontact.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/addcontact_blackwhite.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/addcontact_blackwhite.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/addcontact_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/addcontact_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/addcontact_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/addcontact_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/background.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/background.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/barcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/barcode.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/barcode_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/barcode_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/barcode_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/barcode_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/contact.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/contact.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/contact_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/contact_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/contact_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/contact_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/events.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/events.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/events_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/events_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/events_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/events_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/facebook.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/facebook_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/facebook_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/facebook_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/facebook_menu.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/facebook_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/facebook_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/icon.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/mail_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/mail_menu.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/map.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/map.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/map_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/map_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/map_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/map_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/note.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/note.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/note_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/note_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/note_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/note_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/pin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/pin.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/schedule.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/schedule.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/schedule_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/schedule_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/schedule_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/schedule_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/speaker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/speaker.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/speaker_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/speaker_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/speaker_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/speaker_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/twitter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/twitter.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/twitter_focused.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/twitter_focused.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/twitter_menu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/twitter_menu.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/twitter_pressed.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/twitter_pressed.png
--------------------------------------------------------------------------------
/res/drawable-mdpi/university.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-mdpi/university.png
--------------------------------------------------------------------------------
/res/drawable-xhdpi/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-xhdpi/.DS_Store
--------------------------------------------------------------------------------
/res/drawable-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/res/drawable/about_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/addcontact_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/contact_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/events_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/facebook_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/ic_tab_sessions.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/res/drawable/ic_tab_speakers.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/res/drawable/list_divider.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | -
5 |
6 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/res/drawable/map_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/market_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/res/drawable/market_icon.png
--------------------------------------------------------------------------------
/res/drawable/note_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/scan_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/schedule_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/speaker_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/twitter_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/drawable/university_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/res/layout-land/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
28 |
29 |
34 |
35 |
36 |
42 |
43 |
48 |
53 |
58 |
59 |
64 |
65 |
66 |
71 |
76 |
81 |
82 |
87 |
88 |
89 |
95 |
102 |
103 |
104 |
--------------------------------------------------------------------------------
/res/layout-small/searchresultrow.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
32 |
42 |
43 |
51 |
52 |
53 |
54 |
63 |
64 |
65 |
66 |
77 |
78 |
79 |
80 |
88 |
89 |
--------------------------------------------------------------------------------
/res/layout/account_entry.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 |
30 |
37 |
47 |
58 |
59 |
--------------------------------------------------------------------------------
/res/layout/archive.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
15 |
16 |
--------------------------------------------------------------------------------
/res/layout/attendee.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
28 |
31 |
32 |
35 |
39 |
40 |
42 |
44 |
49 |
54 |
60 |
61 |
62 |
63 |
65 |
67 |
73 |
79 |
80 |
81 |
82 |
85 |
86 |
87 |
--------------------------------------------------------------------------------
/res/layout/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
28 |
29 |
34 |
35 |
36 |
42 |
43 |
48 |
53 |
58 |
59 |
60 |
65 |
70 |
75 |
76 |
77 |
82 |
87 |
92 |
93 |
94 |
100 |
107 |
108 |
109 |
--------------------------------------------------------------------------------
/res/layout/map.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
30 |
31 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/res/layout/searchresultrow.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
32 |
43 |
44 |
52 |
53 |
54 |
55 |
64 |
65 |
66 |
67 |
78 |
79 |
80 |
81 |
88 |
89 |
--------------------------------------------------------------------------------
/res/layout/searchresults.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
45 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/res/layout/sessiongroup.xml:
--------------------------------------------------------------------------------
1 |
5 |
7 |
12 |
--------------------------------------------------------------------------------
/res/layout/sessions.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
7 |
--------------------------------------------------------------------------------
/res/layout/speakerview.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
29 |
30 |
37 |
38 |
39 |
40 |
41 |
44 |
50 |
56 |
57 |
--------------------------------------------------------------------------------
/res/layout/webview.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
29 |
30 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/res/values/SnapticNotesIntent.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 | Cancel
27 | Upgrade
28 | OK
29 | Error!
30 | Install
31 | Install Catch Notes?
32 | This feature requires Catch Notes by Catch.com, the easiest way to take notes on the go!\n\n\"Top 10 Apps All Android Users Should Try\" - TechCrunch\n\nWould you like to install Catch Notes?
33 | Failed to launch the Catch Notes intent.
34 | Upgrade Catch Notes?
35 | This feature requires a newer version of Catch Notes by Catch.com, the easiest way to take notes on the go!\n\n\"Top 10 Apps All Android Users Should Try\" - TechCrunch\n\nWould you like to upgrade Catch Notes?
36 | An error occurred while attempting to display the Android Market.
37 |
38 |
--------------------------------------------------------------------------------
/res/values/arrays.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 |
27 | - TED2012
28 | - TEDGlobal2011
29 | - TED2011
30 |
31 |
32 |
--------------------------------------------------------------------------------
/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 |
27 | #f00
28 | #80ff0000
29 | #000
30 | #333
31 | #CCC
32 | #FFF
33 |
34 | #000
35 | #ffffffff
36 | #ff000000
37 | #333333
38 | #494949
39 | #fff
40 | #ffd5ddeb
41 | #ffe3e8f1
42 | #40ffffff
43 |
44 | #ff999999
45 |
46 | #ff202020
47 |
--------------------------------------------------------------------------------
/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 | 6dip
27 | 60dip
28 | 90dip
29 | 14sp
30 | 18sp
31 | 22sp
32 |
--------------------------------------------------------------------------------
/res/values/ids.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
26 | TED2012
27 | http://touch.facebook.com/#/ted
28 | http://www.twitter.com/tedtalks
29 | Question about TEDConference App
30 | peter@catch.com
31 |
32 | Network issue
33 | There was an issue contacting the server. Please try again later.
34 |
35 |
36 | https://www.google.com/fusiontables/api/query?sql=SELECT+SpeakerId%2C+EventId%2C+SpeakerOrder%2C+FirstName%2C+LastName%2C+Title%2C+Topic%2C+Facebook%2C+Email%2C+Website%2C+Twitter%2C+Description%2C+PhotoUrl%2C+ScheduleDate%2C+Session+FROM+561408+WHERE+EventId%3D{eventid}+ORDER%20BY+FirstName&jsonCallback=
37 | speakers
38 | https://www.google.com/fusiontables/api/query?sql=SELECT+SessionId%2C+SessionTime%2C+SessionName+FROM+560983+WHERE+EventId%3D{eventid}&jsonCallback=
39 | sessions
40 | https://www.google.com/fusiontables/api/query?sql=SELECT+EventVersion+FROM+561503+WHERE+EventId%3D{eventid}&jsonCallback=
41 | version
42 | https://www.google.com/fusiontables/api/query?sql=SELECT+About+FROM+561503+WHERE+EventId%3D{eventid}&jsonCallback=
43 | about
44 |
45 |
46 | EventVersionPreference
47 | EventVersionPreference_EventVersion
48 | EventAboutPreference
49 | EventVersionPreference_EventAbout
50 | EventVersionPreference_Speakers
51 | EventVersionPreference_Sessions
52 |
53 | EventSelectorPreference
54 |
55 |
56 |
57 |
58 | http://touch.facebook.com/
59 | http://www.twitter.com/
60 |
61 | Powered By Catch.com
62 | Create a Simple Note
63 | Create a Note with Image
64 | Add a Quick Note
65 | Create a Location Tagged Note
66 | View Notes
67 | Cursor Positioning Example
68 | Quick note added.
69 |
--------------------------------------------------------------------------------
/res/xml/conferences.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
28 |
29 |
39 |
40 |
50 |
51 |
--------------------------------------------------------------------------------
/sn1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/sn1.png
--------------------------------------------------------------------------------
/sn2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/sn2.png
--------------------------------------------------------------------------------
/sn3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/sn3.png
--------------------------------------------------------------------------------
/sn4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/sn4.png
--------------------------------------------------------------------------------
/sn5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/sn5.png
--------------------------------------------------------------------------------
/src/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/catch/TED-Android-App/1bfd1ad71c5611ea8a86c66215c83f1d85293888/src/.DS_Store
--------------------------------------------------------------------------------
/src/com/catchnotes/tedapp/AboutActivity.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma Modified Catch.com on 5/5/2011
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.catchnotes.tedapp;
26 |
27 | import com.catchnotes.tedapp.R;
28 | import com.tedx.logics.ArchiveLogic;
29 | import com.tedx.logics.SearchResultLogic;
30 |
31 | import android.app.Activity;
32 | import android.os.Bundle;
33 | import android.view.KeyEvent;
34 | import android.view.View;
35 | import android.view.Window;
36 | import android.webkit.WebSettings;
37 | import android.webkit.WebView;
38 | import android.webkit.WebViewClient;
39 |
40 | public class AboutActivity extends Activity{
41 | public WebView mWebView;
42 | private int mEventId;
43 | public String mContent = "";
44 |
45 | protected void onCreate(Bundle savedInstanceState) {
46 | requestWindowFeature(Window.FEATURE_NO_TITLE);
47 | super.onCreate(savedInstanceState);
48 | mEventId = ArchiveLogic.GetEventId(getApplicationContext());
49 |
50 | setContentView(R.layout.webview);
51 |
52 | mWebView = (WebView) findViewById(R.id.webview);
53 | String url = "file:///android_asset/about/index.html";
54 |
55 | int ServerEventVersion = SearchResultLogic.getSearchResultVersionByEventId(this.getResources(), mEventId);
56 |
57 | //check point to load from cache or web
58 | if((ServerEventVersion != 0 &&
59 | SearchResultLogic.getCurrentVersionByEventIdFromCache(this, mEventId) != ServerEventVersion) ||
60 | SearchResultLogic.getEventAboutByEventIdFromCache(this, mEventId).equalsIgnoreCase(""))
61 | {
62 | mContent = SearchResultLogic.getEventAboutByEventId(this, mEventId);
63 | }
64 | else
65 | {
66 | mContent = SearchResultLogic.getEventAboutByEventIdFromCache(this, mEventId);
67 | }
68 |
69 |
70 | // Get the settings
71 | WebSettings webSettings = mWebView.getSettings();
72 | // Enable Javascript for interaction
73 | webSettings.setJavaScriptEnabled(true);
74 | mWebView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
75 |
76 | mWebView.setWebViewClient(new WebViewClient(){
77 | public void onPageFinished (WebView view, String url)
78 | {
79 | mWebView.loadUrl("javascript:setContent('" + mContent.replace("'", "").replace(System.getProperty("line.separator"), "").replace("\r", "
")+ "')");
80 | }
81 | });
82 |
83 | mWebView.loadUrl(url);
84 |
85 | }
86 |
87 | //Back Button
88 | @Override
89 | public boolean onKeyDown(int keyCode, KeyEvent event) {
90 | if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.ECLAIR
91 | && keyCode == KeyEvent.KEYCODE_BACK
92 | && event.getRepeatCount() == 0) {
93 | // Take care of calling this method on earlier versions of
94 | // the platform where it doesn't exist.
95 | onBackPressed();
96 | }
97 |
98 | return super.onKeyDown(keyCode, event);
99 | }
100 |
101 |
102 | @Override
103 | public void onBackPressed() {
104 | // This will be called either automatically for you on 2.0
105 | // or later, or by the code above on earlier versions of the
106 | // platform.
107 | finish();
108 | return;
109 | }
110 | }
111 |
--------------------------------------------------------------------------------
/src/com/catchnotes/tedapp/ArchiveActivity.java:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright 2011 Catch.com, Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License
15 | */
16 |
17 | package com.catchnotes.tedapp;
18 |
19 | import com.tedx.logics.ArchiveLogic;
20 |
21 | import android.app.Activity;
22 | import android.os.Bundle;
23 | import android.view.View;
24 | import android.widget.AdapterView;
25 | import android.widget.ArrayAdapter;
26 | import android.widget.ListView;
27 |
28 | public class ArchiveActivity extends Activity{
29 |
30 | private ListView mListArchive;
31 |
32 | @Override
33 | public void onCreate(Bundle savedInstanceState) {
34 | super.onCreate(savedInstanceState);
35 | setContentView(R.layout.archive);
36 |
37 | mListArchive = (ListView) findViewById(R.id.lstArchive);
38 | mListArchive.setAdapter(new ArrayAdapter(this,
39 | android.R.layout.simple_list_item_1, this.getResources().getStringArray(R.array.TEDConferences)));
40 |
41 | mListArchive.setOnItemClickListener(new ListView.OnItemClickListener() {
42 | @Override
43 | public void onItemClick(AdapterView> list, View row, int position, long id) {
44 | ArchiveLogic.SetConference(ArchiveActivity.this, position);
45 | finish();
46 | }
47 | });
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/src/com/catchnotes/tedapp/SpeakerActivity.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.catchnotes.tedapp;
26 |
27 | import com.catchnotes.tedapp.R;
28 | import com.tedx.utility.IntentIntegrator;
29 | import com.tedx.logics.ArchiveLogic;
30 | import com.tedx.objects.SearchResult;
31 |
32 | import android.app.Activity;
33 | import android.os.Bundle;
34 | import android.view.KeyEvent;
35 | import android.view.View;
36 | import android.view.Window;
37 | import android.webkit.WebView;
38 | import android.webkit.WebViewClient;
39 |
40 | public class SpeakerActivity extends Activity{
41 | public WebView mWebView;
42 | private IntentIntegrator _notesIntent;
43 | private Bundle mSpeaker;
44 |
45 | protected void onCreate(Bundle savedInstanceState) {
46 | requestWindowFeature(Window.FEATURE_NO_TITLE);
47 | super.onCreate(savedInstanceState);
48 | setContentView(R.layout.speakerview);
49 | _notesIntent = new IntentIntegrator(this);
50 |
51 | mSpeaker = getIntent().getExtras();
52 |
53 | mWebView = (WebView) findViewById(R.id.webview);
54 | //mWebView.setInitialScale(120);
55 | mWebView.getSettings().setJavaScriptEnabled(true);
56 |
57 | mWebView.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
58 |
59 | mWebView.setWebViewClient(new WebViewClient(){
60 | public void onPageFinished (WebView view, String url)
61 | {
62 | mWebView.loadUrl("javascript:setSpeakerDescription('" + mSpeaker.get("Description").toString().replace("'", "").replace(System.getProperty("line.separator"), "").replace("\r", "
") + "')");
63 | mWebView.loadUrl("javascript:setSpeakerName('" + mSpeaker.get("ProfileName").toString().replace("'", "").replace(System.getProperty("line.separator"), "").replace("\r", "
") + "')");
64 | mWebView.loadUrl("javascript:setSpeakerPhoto('" + mSpeaker.get("PhotoUrl").toString().replace("'", "").replace(System.getProperty("line.separator"), "").replace("\r", "
") + "')");
65 | mWebView.loadUrl("javascript:setSpeakerTitle('" + mSpeaker.get("Title").toString().replace("'", "").replace(System.getProperty("line.separator"), "").replace("\r", "
") + "')");
66 | }
67 | });
68 |
69 | String url = "file:///android_asset/speaker/index.html";
70 |
71 | mWebView.loadUrl(url);
72 |
73 | }
74 |
75 | //Writing Notes with this specific speaker
76 | public void btnWrite_Click(View target)
77 | {
78 | String speakerNote = "Speaker: " + mSpeaker.getString(SearchResult.NAME) + "\n" +
79 | "Title: " + mSpeaker.getString(SearchResult.TITLE) + "\n" +
80 | "Bio: " + mSpeaker.getString(SearchResult.DESCRIPTION) + "\n" +
81 | "\nWebsite: " + mSpeaker.getString(SearchResult.WEBSITE) + "\n" +
82 | "\nTwitter: " + mSpeaker.getString(SearchResult.TWITTER) + "\n" +
83 | "\nMy Notes: " + "\n\n" +
84 | "\n________________________________\nTags:" +
85 | ArchiveLogic.GetEventtag(this);
86 | _notesIntent.createNote(speakerNote);
87 | }
88 |
89 | //Reading the Notes
90 | public void btnRead_Click(View target)
91 | {
92 | _notesIntent.viewNotes(ArchiveLogic.GetEventtag(this).replace("#", ""));
93 | }
94 |
95 | //Back Button
96 | @Override
97 | public boolean onKeyDown(int keyCode, KeyEvent event) {
98 | if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.ECLAIR
99 | && keyCode == KeyEvent.KEYCODE_BACK
100 | && event.getRepeatCount() == 0) {
101 | // Take care of calling this method on earlier versions of
102 | // the platform where it doesn't exist.
103 | onBackPressed();
104 | }
105 |
106 | return super.onKeyDown(keyCode, event);
107 | }
108 |
109 |
110 | @Override
111 | public void onBackPressed() {
112 | // This will be called either automatically for you on 2.0
113 | // or later, or by the code above on earlier versions of the
114 | // platform.
115 | finish();
116 | return;
117 | }
118 | }
119 |
--------------------------------------------------------------------------------
/src/com/catchnotes/tedapp/SpeakerResultActivity.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.catchnotes.tedapp;
26 |
27 | import java.io.IOException;
28 | import java.util.HashMap;
29 |
30 | import org.json.JSONArray;
31 | import org.json.JSONException;
32 | import org.json.JSONObject;
33 |
34 | import android.os.Bundle;
35 | import android.view.KeyEvent;
36 | import android.view.View;
37 | import android.view.Window;
38 | import android.widget.AdapterView;
39 |
40 | import com.catchnotes.tedapp.R;
41 | import com.tedx.logics.ArchiveLogic;
42 | import com.tedx.logics.SearchResultLogic;
43 | import com.tedx.objects.SearchResult;
44 | import com.tedx.activities.LazyActivity;
45 |
46 | public class SpeakerResultActivity extends LazyActivity{
47 | private int mEventId;
48 |
49 | @Override
50 | protected void onCreate(Bundle savedInstanceState) {
51 | requestWindowFeature(Window.FEATURE_NO_TITLE);
52 | mEventId = ArchiveLogic.GetEventId(getApplicationContext());
53 |
54 | mFrom = new String[] {
55 | SearchResult.NAME,
56 | SearchResult.TITLE,
57 | SearchResult.PHOTOURL
58 | };
59 |
60 | mTo = new int[] {
61 | android.R.id.text1,
62 | android.R.id.text2,
63 | android.R.id.icon
64 | };
65 |
66 | super.onCreate(savedInstanceState, R.layout.searchresults, R.layout.searchresultrow);
67 | }
68 |
69 |
70 | public void onItemClick(AdapterView> list, View row, int position, long id) {
71 | startActivityForPosition(SpeakerActivity.class, position);
72 | }
73 |
74 | @Override
75 | protected LoadTask newLoadTask() {
76 | return new LoadSearchResultTask();
77 | }
78 |
79 | @Override
80 | protected void setTaskActivity() {
81 | mLoadTask.activity = this;
82 | }
83 |
84 | protected static class LoadSearchResultTask extends LoadTask {
85 | @Override
86 | protected Boolean doInBackground(String... params) {
87 | SpeakerResultActivity activity = (SpeakerResultActivity) super.activity;
88 |
89 | int ServerEventVersion = SearchResultLogic.getSearchResultVersionByEventId(activity.getResources(), activity.mEventId);
90 | JSONArray speakers = null;
91 |
92 | //check point to load from cache or web
93 | if( ServerEventVersion != 0 &&
94 | SearchResultLogic.getCurrentVersionByEventIdFromCache(activity, activity.mEventId) != ServerEventVersion)
95 | {
96 | //Set the version
97 | SearchResultLogic.setCurrentVersionByEventId(activity, activity.mEventId, ServerEventVersion);
98 |
99 | try {
100 | speakers = SearchResultLogic.loadSpeakerSearchResultsFromWeb(activity, activity.mEventId);
101 | } catch (IOException e) {
102 | // TODO Auto-generated catch block
103 | speakers = null;
104 | } catch (JSONException e) {
105 | // TODO Auto-generated catch block
106 | e.printStackTrace();
107 | }
108 | }
109 | else
110 | {
111 | try {
112 | speakers = SearchResultLogic.loadSpeakerSearchResultsFromCache(activity, activity.mEventId);
113 | } catch (IOException e) {
114 | // TODO Auto-generated catch block
115 | speakers = null;
116 | } catch (JSONException e) {
117 | // TODO Auto-generated catch block
118 | speakers = null;
119 | }
120 | }
121 | return loadSpeakerResultsByCollection(speakers);
122 |
123 | }
124 |
125 | @Override
126 | protected void onPostExecute(Boolean result) {
127 | super.onPostExecute(result);
128 | if (!result) {
129 | activity.showDialog(DIALOG_ERROR_LOADING);
130 | }
131 | }
132 | }
133 |
134 | @Override
135 | protected HashMap loadJSON(JSONObject data) throws JSONException {
136 | HashMap SearchResults = new HashMap();
137 |
138 | SearchResults.put(SearchResult.NAME, data.getString("FirstName") + " " + data.getString("LastName") );
139 | SearchResults.put(SearchResult.TITLE, data.getString("Title"));
140 | SearchResults.put(SearchResult.EMAIL, data.getString("Email"));
141 | SearchResults.put(SearchResult.FACEBOOK, data.getString("Facebook"));
142 | SearchResults.put(SearchResult.PHOTOURL, data.getString("PhotoUrl"));
143 | SearchResults.put(SearchResult.SPEAKERID, data.getString("SpeakerId"));
144 | SearchResults.put(SearchResult.TWITTER, String.valueOf(data.getString("Twitter")));
145 | SearchResults.put(SearchResult.EMAIL, String.valueOf(data.getString("Email")));
146 | SearchResults.put(SearchResult.TOPIC, String.valueOf(data.getString("Topic")));
147 | SearchResults.put(SearchResult.DESCRIPTION, String.valueOf(data.getString("Description")));
148 | SearchResults.put(SearchResult.WEBSITE, String.valueOf(data.getString("Website")));
149 | SearchResults.put(SearchResult.SESSION, String.valueOf(data.getInt("Session")));
150 |
151 | return SearchResults;
152 | }
153 |
154 | //Back Button
155 | @Override
156 | public boolean onKeyDown(int keyCode, KeyEvent event) {
157 | if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.ECLAIR
158 | && keyCode == KeyEvent.KEYCODE_BACK
159 | && event.getRepeatCount() == 0) {
160 | // Take care of calling this method on earlier versions of
161 | // the platform where it doesn't exist.
162 | onBackPressed();
163 | }
164 |
165 | return super.onKeyDown(keyCode, event);
166 | }
167 |
168 |
169 | @Override
170 | public void onBackPressed() {
171 | // This will be called either automatically for you on 2.0
172 | // or later, or by the code above on earlier versions of the
173 | // platform.
174 | finish();
175 | return;
176 | }
177 | }
178 |
--------------------------------------------------------------------------------
/src/com/catchnotes/tedapp/SpeakerResultTabActivity.java:
--------------------------------------------------------------------------------
1 | package com.catchnotes.tedapp;
2 |
3 | import com.catchnotes.tedapp.R;
4 |
5 | import android.app.TabActivity;
6 | import android.content.Intent;
7 | import android.os.Bundle;
8 | import android.view.Window;
9 | import android.widget.TabHost;
10 |
11 | public class SpeakerResultTabActivity extends TabActivity{
12 | @Override
13 | protected void onCreate(Bundle savedInstanceState) {
14 | requestWindowFeature(Window.FEATURE_NO_TITLE);
15 |
16 | super.onCreate(savedInstanceState);
17 |
18 | final TabHost tabHost = getTabHost();
19 |
20 |
21 | tabHost.addTab(tabHost.newTabSpec("Speakers")
22 | .setIndicator("Speakers", getResources().getDrawable(R.drawable.ic_tab_speakers))
23 | .setContent(new Intent(this, SpeakerResultActivity.class)));
24 |
25 | tabHost.addTab(tabHost.newTabSpec("Sessions")
26 | .setIndicator("Sessions", getResources().getDrawable(R.drawable.ic_tab_sessions))
27 | .setContent(new Intent(this, SessionResultActivity.class)));
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/com/catchnotes/tedapp/SubEventSpeakerResultActivity.java:
--------------------------------------------------------------------------------
1 | package com.catchnotes.tedapp;
2 |
3 | import java.io.IOException;
4 | import java.util.HashMap;
5 |
6 | import org.json.JSONArray;
7 | import org.json.JSONException;
8 | import org.json.JSONObject;
9 |
10 | import android.os.Bundle;
11 | import android.view.KeyEvent;
12 | import android.view.View;
13 | import android.view.Window;
14 | import android.widget.AdapterView;
15 |
16 | import com.catchnotes.tedapp.R;
17 | import com.tedx.logics.ArchiveLogic;
18 | import com.tedx.logics.SearchResultLogic;
19 | import com.tedx.objects.SearchResult;
20 | import com.tedx.activities.LazyActivity;
21 |
22 | public class SubEventSpeakerResultActivity extends LazyActivity{
23 | private int mEventId;
24 |
25 | @Override
26 | protected void onCreate(Bundle savedInstanceState) {
27 | requestWindowFeature(Window.FEATURE_NO_TITLE);
28 | mEventId = ArchiveLogic.GetSubEventId(getApplicationContext());
29 |
30 | mFrom = new String[] {
31 | SearchResult.NAME,
32 | SearchResult.TITLE,
33 | SearchResult.PHOTOURL
34 | };
35 |
36 | mTo = new int[] {
37 | android.R.id.text1,
38 | android.R.id.text2,
39 | android.R.id.icon
40 | };
41 |
42 | super.onCreate(savedInstanceState, R.layout.searchresults, R.layout.searchresultrow);
43 | }
44 |
45 |
46 | public void onItemClick(AdapterView> list, View row, int position, long id) {
47 | startActivityForPosition(SpeakerActivity.class, position);
48 | }
49 |
50 | @Override
51 | protected LoadTask newLoadTask() {
52 | return new LoadSearchResultTask();
53 | }
54 |
55 | @Override
56 | protected void setTaskActivity() {
57 | mLoadTask.activity = this;
58 | }
59 |
60 | protected static class LoadSearchResultTask extends LoadTask {
61 | @Override
62 | protected Boolean doInBackground(String... params) {
63 | SubEventSpeakerResultActivity activity = (SubEventSpeakerResultActivity) super.activity;
64 |
65 | int ServerEventVersion = SearchResultLogic.getSearchResultVersionByEventId(activity.getResources(), activity.mEventId);
66 | JSONArray speakers;
67 |
68 | //check point to load from cache or web
69 | if( ServerEventVersion != 0 &&
70 | SearchResultLogic.getCurrentVersionByEventIdFromCache(activity, activity.mEventId) != ServerEventVersion)
71 | {
72 | //Set the version
73 | SearchResultLogic.setCurrentVersionByEventId(activity, activity.mEventId, ServerEventVersion);
74 |
75 | try {
76 | speakers = SearchResultLogic.loadSpeakerSearchResultsFromWeb(activity, activity.mEventId);
77 | } catch (IOException e) {
78 | // TODO Auto-generated catch block
79 | speakers = null;
80 | } catch (JSONException e) {
81 | // TODO Auto-generated catch block
82 | speakers = null;
83 | }
84 | }
85 | else
86 | {
87 | try {
88 | speakers = SearchResultLogic.loadSpeakerSearchResultsFromCache(activity, activity.mEventId);
89 | } catch (IOException e) {
90 | // TODO Auto-generated catch block
91 | speakers = null;
92 | } catch (JSONException e) {
93 | // TODO Auto-generated catch block
94 | speakers = null;
95 | }
96 | }
97 | return loadSpeakerResultsByCollection(speakers);
98 |
99 | }
100 |
101 | @Override
102 | protected void onPostExecute(Boolean result) {
103 | super.onPostExecute(result);
104 | if (!result) {
105 | activity.showDialog(DIALOG_ERROR_LOADING);
106 | }
107 | }
108 | }
109 |
110 | @Override
111 | protected HashMap loadJSON(JSONObject data) throws JSONException {
112 | HashMap SearchResults = new HashMap();
113 |
114 | SearchResults.put(SearchResult.NAME, data.getString("FirstName") + " " + data.getString("LastName") );
115 | SearchResults.put(SearchResult.TITLE, data.getString("Title"));
116 | SearchResults.put(SearchResult.EMAIL, data.getString("Email"));
117 | SearchResults.put(SearchResult.FACEBOOK, data.getString("Facebook"));
118 | SearchResults.put(SearchResult.PHOTOURL, data.getString("PhotoUrl"));
119 | SearchResults.put(SearchResult.SPEAKERID, data.getString("SpeakerId"));
120 | SearchResults.put(SearchResult.TWITTER, String.valueOf(data.getString("Twitter")));
121 | SearchResults.put(SearchResult.EMAIL, String.valueOf(data.getString("Email")));
122 | SearchResults.put(SearchResult.TOPIC, String.valueOf(data.getString("Topic")));
123 | SearchResults.put(SearchResult.DESCRIPTION, String.valueOf(data.getString("Description")));
124 | SearchResults.put(SearchResult.WEBSITE, String.valueOf(data.getString("Website")));
125 | SearchResults.put(SearchResult.SESSION, String.valueOf(data.getInt("Session")));
126 |
127 | return SearchResults;
128 | }
129 |
130 | //Back Button
131 | @Override
132 | public boolean onKeyDown(int keyCode, KeyEvent event) {
133 | if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.ECLAIR
134 | && keyCode == KeyEvent.KEYCODE_BACK
135 | && event.getRepeatCount() == 0) {
136 | // Take care of calling this method on earlier versions of
137 | // the platform where it doesn't exist.
138 | onBackPressed();
139 | }
140 |
141 | return super.onKeyDown(keyCode, event);
142 | }
143 |
144 |
145 | @Override
146 | public void onBackPressed() {
147 | // This will be called either automatically for you on 2.0
148 | // or later, or by the code above on earlier versions of the
149 | // platform.
150 | finish();
151 | return;
152 | }
153 | }
154 |
--------------------------------------------------------------------------------
/src/com/catchnotes/tedapp/SubEventSpeakerResultTabActivity.java:
--------------------------------------------------------------------------------
1 | package com.catchnotes.tedapp;
2 |
3 | import com.catchnotes.tedapp.R;
4 |
5 | import android.app.TabActivity;
6 | import android.content.Intent;
7 | import android.os.Bundle;
8 | import android.view.Window;
9 | import android.widget.TabHost;
10 |
11 | public class SubEventSpeakerResultTabActivity extends TabActivity{
12 | @Override
13 | protected void onCreate(Bundle savedInstanceState) {
14 | requestWindowFeature(Window.FEATURE_NO_TITLE);
15 | super.onCreate(savedInstanceState);
16 |
17 | final TabHost tabHost = getTabHost();
18 |
19 | tabHost.addTab(tabHost.newTabSpec("Speakers")
20 | .setIndicator("Speakers", getResources().getDrawable(R.drawable.ic_tab_speakers))
21 | .setContent(new Intent(this, SubEventSpeakerResultActivity.class)));
22 |
23 | tabHost.addTab(tabHost.newTabSpec("Sessions")
24 | .setIndicator("Sessions", getResources().getDrawable(R.drawable.ic_tab_sessions))
25 | .setContent(new Intent(this, SubEventSessionResultActivity.class)));
26 | }
27 | }
--------------------------------------------------------------------------------
/src/com/tedx/adapters/GroupLazyAdapter.java:
--------------------------------------------------------------------------------
1 | package com.tedx.adapters;
2 |
3 | import java.util.HashMap;
4 | import java.util.List;
5 | import java.util.Map;
6 |
7 | import com.catchnotes.tedapp.R;
8 | import com.tedx.activities.GroupLazyActivity;
9 | import com.tedx.helpers.Common;
10 | import com.tedx.objects.SearchResult;
11 | import com.tedx.utility.RemoteImageView;
12 |
13 | import android.view.View;
14 | import android.view.ViewGroup;
15 | import android.widget.Filterable;
16 | import android.widget.ImageView;
17 | import android.widget.SimpleAdapter;
18 | import android.widget.TextView;
19 |
20 | public class GroupLazyAdapter extends SimpleAdapter implements Filterable{
21 | public static final String IMAGE = "LazyAdapter_image";
22 |
23 | private boolean mDone = false;
24 | private boolean mFlinging = false;
25 | private GroupLazyActivity mActivity;
26 | private List> mData;
27 |
28 | @SuppressWarnings("unchecked")
29 | public GroupLazyAdapter(GroupLazyActivity context, List extends Map> data, int resource, String[] from, int[] to) {
30 | super(context, data, resource, from, to);
31 | mActivity = context;
32 | mData = (List>) data;
33 | }
34 |
35 | @Override
36 | public View getView(int position, View convertView, ViewGroup parent) {
37 | // see if we need to load the next page
38 | if (!mDone && (getCount() - position) <= 1) {
39 | if (mActivity.isTaskFinished()) {
40 | mActivity.loadNextPage();
41 | }
42 | }
43 |
44 | View ret = super.getView(position, convertView, parent);
45 | if (ret != null) {
46 | RemoteImageView riv = (RemoteImageView) ret.findViewById(android.R.id.icon);
47 | if (riv != null && !mFlinging) {
48 | riv.loadImage();
49 | }
50 |
51 | int CurrentSession = Integer.valueOf(mData.get(position).get(SearchResult.SESSION));
52 | int PreviousSession = 0;
53 |
54 | if(position != 0)
55 | {
56 | PreviousSession = Integer.valueOf(mData.get(position - 1).get(SearchResult.SESSION));
57 | }
58 |
59 | TextView groupheader = (TextView) ret.findViewById(R.id.groupheader);
60 | if(position == 0 || CurrentSession != PreviousSession)
61 | {
62 | groupheader.setVisibility(TextView.VISIBLE);
63 | }
64 | else
65 | {
66 | groupheader.setVisibility(TextView.GONE);
67 |
68 | }
69 | }
70 |
71 | return ret;
72 | }
73 |
74 | public void setStopLoading(boolean done) {
75 | mDone = done;
76 | }
77 |
78 | public void setFlinging(boolean flinging) {
79 | mFlinging = flinging;
80 | }
81 |
82 | @Override
83 | public boolean areAllItemsEnabled() {
84 | return false;
85 | }
86 |
87 | @Override
88 | public void setViewImage(final ImageView image, final String value) {
89 | if (value != null && value.length() > 0 && image instanceof RemoteImageView) {
90 | RemoteImageView riv = (RemoteImageView) image;
91 | riv.setLocalURI(Common.getCacheFileName(value));
92 | riv.setRemoteURI(value);
93 | super.setViewImage(image, R.drawable.missingphoto);
94 | } else {
95 | image.setVisibility(View.GONE);
96 | }
97 | }
98 | }
--------------------------------------------------------------------------------
/src/com/tedx/adapters/LazyAdapter.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.tedx.adapters;
26 |
27 | import java.util.List;
28 | import java.util.Map;
29 |
30 |
31 | import com.catchnotes.tedapp.R;
32 | import com.tedx.activities.LazyActivity;
33 | import com.tedx.helpers.Common;
34 | import com.tedx.utility.RemoteImageView;
35 |
36 | import android.view.View;
37 | import android.view.ViewGroup;
38 | import android.widget.Filterable;
39 | import android.widget.ImageView;
40 | import android.widget.SimpleAdapter;
41 |
42 | public class LazyAdapter extends SimpleAdapter implements Filterable{
43 | public static final String IMAGE = "LazyAdapter_image";
44 |
45 | private boolean mDone = false;
46 | private boolean mFlinging = false;
47 | private LazyActivity mActivity;
48 |
49 | public LazyAdapter(LazyActivity context, List extends Map> data, int resource, String[] from, int[] to) {
50 | super(context, data, resource, from, to);
51 | mActivity = context;
52 | }
53 |
54 | @Override
55 | public View getView(int position, View convertView, ViewGroup parent) {
56 | // see if we need to load the next page
57 | if (!mDone && (getCount() - position) <= 1) {
58 | if (mActivity.isTaskFinished()) {
59 | mActivity.loadNextPage();
60 | }
61 | }
62 |
63 | View ret = super.getView(position, convertView, parent);
64 | if (ret != null) {
65 | RemoteImageView riv = (RemoteImageView) ret.findViewById(android.R.id.icon);
66 | if (riv != null && !mFlinging) {
67 | riv.loadImage();
68 | }
69 | }
70 |
71 | return ret;
72 | }
73 |
74 | public void setStopLoading(boolean done) {
75 | mDone = done;
76 | }
77 |
78 | public void setFlinging(boolean flinging) {
79 | mFlinging = flinging;
80 | }
81 |
82 | @Override
83 | public boolean areAllItemsEnabled() {
84 | return false;
85 | }
86 |
87 | @Override
88 | public void setViewImage(final ImageView image, final String value) {
89 | if (value != null && value.length() > 0 && image instanceof RemoteImageView) {
90 | RemoteImageView riv = (RemoteImageView) image;
91 | riv.setLocalURI(Common.getCacheFileName(value));
92 | riv.setRemoteURI(value);
93 | super.setViewImage(image, R.drawable.missingphoto);
94 | } else {
95 | image.setVisibility(View.GONE);
96 | }
97 | }
98 | }
--------------------------------------------------------------------------------
/src/com/tedx/helpers/Common.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.tedx.helpers;
26 |
27 | import java.io.BufferedReader;
28 | import java.io.IOException;
29 | import java.io.InputStream;
30 | import java.io.InputStreamReader;
31 |
32 | import android.os.Environment;
33 |
34 |
35 | public class Common {
36 | private final static String CACHE_DIRECTORY = Environment.getExternalStorageDirectory() + "/.tedx-cache/";
37 |
38 | public static String getCacheFileName(String url) {
39 | StringBuilder builder = new StringBuilder();
40 | builder.setLength(0);
41 | builder.append(CACHE_DIRECTORY);
42 | builder.append(url.hashCode()).append(".jpg");
43 | return builder.toString();
44 | }
45 |
46 | public static String getContent(InputStream is) throws IOException {
47 | StringBuilder builder = new StringBuilder();
48 | BufferedReader buffer = new BufferedReader(new InputStreamReader(is));
49 | String line = null;
50 | while ((line = buffer.readLine()) != null) {
51 | builder.append(line).append("\n");
52 | }
53 | buffer.close();
54 | return builder.toString().trim();
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/src/com/tedx/logics/AttendeeLogic.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.tedx.logics;
26 |
27 | import android.content.res.Resources;
28 | import android.os.Bundle;
29 |
30 | public class AttendeeLogic {
31 | /**
32 | * Deprecated
33 | * @param res
34 | * @param EventUniqueId
35 | * @return
36 | */
37 | public static Bundle GetCurrentDancers(Resources res, String EventUniqueId)
38 | {
39 | return null;
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/src/com/tedx/objects/CatchIntent.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.tedx.objects;
26 |
27 | public final class CatchIntent {
28 | // Intent actions
29 | public static final String ACTION_ADD = "com.snaptic.intent.action.ADD";
30 | public static final String ACTION_VIEW = "com.snaptic.intent.action.VIEW";
31 |
32 | // Intent extras for ACTION_ADD
33 | public static final String EXTRA_SOURCE = "com.snaptic.intent.extra.SOURCE";
34 | public static final String EXTRA_LOCATION = "com.snaptic.intent.extra.LOCATION";
35 | public static final String EXTRA_CURSOR_POSITION = "com.snaptic.intent.extra.CURSOR_POSITION";
36 | public static final String EXTRA_AUTOSAVE = "com.snaptic.intent.extra.AUTOSAVE";
37 |
38 | // Intent extras for ACTION_VIEW
39 | public static final String EXTRA_VIEW_FILTER = "com.snaptic.intent.extra.VIEW_FILTER";
40 | }
41 |
--------------------------------------------------------------------------------
/src/com/tedx/objects/SearchResult.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.tedx.objects;
26 |
27 | public class SearchResult {
28 | public static final String PHOTOURL = "PhotoUrl";
29 | public static final String SPEAKERID = "SpeakerId";
30 | public static final String NAME = "ProfileName";
31 | public static final String TITLE = "Title";
32 | public static final String FACEBOOK = "Facebook";
33 | public static final String TWITTER = "Twitter";
34 | public static final String EMAIL = "Email";
35 | public static final String TOPIC = "Topic";
36 | public static final String DESCRIPTION = "Description";
37 | public static final String WEBSITE = "Website";
38 | public static final String SESSION = "Session";
39 | public static final String EVENTID = "EventId";
40 |
41 | public static final String SESSIONNAME = "SessionName";
42 |
43 | }
44 |
--------------------------------------------------------------------------------
/src/com/tedx/objects/SessionResult.java:
--------------------------------------------------------------------------------
1 | package com.tedx.objects;
2 |
3 | public class SessionResult {
4 | public static final String SESSION = "Session";
5 | public static final String SESSIONNAME = "SessionName";
6 | }
7 |
--------------------------------------------------------------------------------
/src/com/tedx/utility/FusionTableReader.java:
--------------------------------------------------------------------------------
1 | /**
2 | Copyright 2011 Catch.com, Inc.
3 |
4 | Licensed under the Apache License, Version 2.0 (the "License");
5 | you may not use this file except in compliance with the License.
6 | You may obtain a copy of the License at
7 |
8 | http://www.apache.org/licenses/LICENSE-2.0
9 |
10 | Unless required by applicable law or agreed to in writing, software
11 | distributed under the License is distributed on an "AS IS" BASIS,
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | See the License for the specific language governing permissions and
14 | limitations under the License
15 | */
16 |
17 | package com.tedx.utility;
18 |
19 | import java.io.IOException;
20 | import java.io.InputStream;
21 | import java.net.URL;
22 |
23 | import org.json.JSONArray;
24 | import org.json.JSONException;
25 | import org.json.JSONObject;
26 |
27 | import android.util.Log;
28 |
29 | import com.tedx.helpers.Common;
30 |
31 | public class FusionTableReader {
32 | /**
33 | * This function is meant for Array of objects from the query
34 | * @param Url
35 | * @param type
36 | * @return
37 | * @throws IOException
38 | */
39 | public static JSONArray getSearchResultsByUrl(String Url, String type) throws IOException
40 | {
41 | URL request = new URL(Url);
42 | String retString = Common.getContent((InputStream) request.getContent());
43 |
44 | retString = retString.substring(type.length() + 1, retString.length() - 1);
45 |
46 | JSONObject jsontable = new JSONObject();
47 |
48 | try {
49 | jsontable = new JSONObject(retString).getJSONObject("table");
50 | } catch (JSONException e) {
51 | // TODO Auto-generated catch block
52 | e.printStackTrace();
53 | }
54 |
55 | JSONArray ret = new JSONArray();
56 |
57 | try {
58 | for(int i = 0; i < jsontable.getJSONArray("rows").length(); i++)
59 | {
60 | ret.put(AddJSONObject(jsontable.getJSONArray("cols"), jsontable.getJSONArray("rows").getJSONArray(i)));
61 | }
62 | } catch (JSONException e) {
63 | // TODO Auto-generated catch block
64 | e.printStackTrace();
65 | }
66 |
67 | return ret;
68 | }
69 |
70 | /**
71 | * This is simply adding JSON Object to Array
72 | * @param cols
73 | * @param row
74 | * @return
75 | */
76 | public static JSONObject AddJSONObject(JSONArray cols, JSONArray row)
77 | {
78 | JSONObject ret = new JSONObject();
79 | for(int i = 0; i < cols.length(); i ++)
80 | {
81 | try {
82 | ret.put((String) cols.get(i), row.get(i));
83 | } catch (JSONException e) {
84 | // TODO Auto-generated catch block
85 | e.printStackTrace();
86 | }
87 | }
88 | return ret;
89 | }
90 |
91 | }
92 |
--------------------------------------------------------------------------------
/src/com/tedx/utility/HTTPQueue.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.tedx.utility;
26 |
27 | import java.util.ArrayList;
28 | import java.util.HashMap;
29 |
30 | import android.os.Handler;
31 | import android.os.Message;
32 |
33 | public class HTTPQueue {
34 | public static final int PRIORITY_LOW = 0;
35 | public static final int PRIORITY_HIGH = 1;
36 |
37 | private volatile static HTTPQueue sInstance = null;
38 |
39 | private ArrayList mQueue = new ArrayList();
40 | private HashMap mThreads = new HashMap();
41 | private Handler mQueuedHandler = null;
42 |
43 | private HTTPQueue() {
44 | }
45 |
46 | public static HTTPQueue getInstance() {
47 | if (sInstance == null) {
48 | sInstance = new HTTPQueue();
49 | }
50 | return sInstance;
51 | }
52 |
53 | public void enqueue(HTTPThread task) {
54 | enqueue(task, PRIORITY_LOW);
55 | }
56 |
57 | public synchronized void enqueue(HTTPThread task, int priority) {
58 | Boolean exists = mThreads.get(task.getId());
59 | if (exists == null) {
60 | if (mQueue.size() == 0 || priority == PRIORITY_LOW) {
61 | mQueue.add(task);
62 | } else {
63 | mQueue.add(1, task);
64 | }
65 | mThreads.put(task.getId(), true);
66 | }
67 | runFirst();
68 | }
69 |
70 | public synchronized void dequeue(final HTTPThread task) {
71 | mThreads.remove(task.getId());
72 | mQueue.remove(task);
73 | }
74 |
75 | public synchronized void finished(int result) {
76 | if (mQueuedHandler != null) {
77 | mQueuedHandler.sendEmptyMessage(result);
78 | }
79 | runFirst();
80 | }
81 |
82 | private synchronized void runFirst() {
83 | if (mQueue.size() > 0) {
84 | HTTPThread task = mQueue.get(0);
85 | if (task.getStatus() == HTTPThread.STATUS_PENDING) {
86 | mQueuedHandler = task.getHandler();
87 | task.setHandler(mHandler);
88 | task.start();
89 | } else if (task.getStatus() == HTTPThread.STATUS_FINISHED) {
90 | HTTPThread thread = mQueue.remove(0);
91 | mThreads.remove(thread.getId());
92 | runFirst();
93 | }
94 | }
95 | }
96 |
97 | private Handler mHandler = new Handler() {
98 | @Override
99 | public void handleMessage(Message message) {
100 | finished(message.what);
101 | }
102 | };
103 | }
104 |
--------------------------------------------------------------------------------
/src/com/tedx/utility/HTTPThread.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.tedx.utility;
26 |
27 | import java.io.FileOutputStream;
28 | import java.io.IOException;
29 | import java.io.InputStream;
30 | import java.lang.ref.SoftReference;
31 | import java.net.MalformedURLException;
32 | import java.net.URL;
33 |
34 | import android.os.Handler;
35 |
36 | public class HTTPThread extends Thread {
37 | public static final int STATUS_PENDING = 0;
38 | public static final int STATUS_RUNNING = 1;
39 | public static final int STATUS_FINISHED = 2;
40 |
41 | private boolean mError = false;
42 | private Exception mException = null;
43 | private String mUrl;
44 | private String mLocal;
45 | private int mStatus = STATUS_PENDING;
46 | private SoftReference mHandler;
47 |
48 | public HTTPThread(String url, String local, Handler handler) {
49 | mUrl = url;
50 | mLocal = local;
51 | mHandler = new SoftReference(handler);
52 | }
53 |
54 | @Override
55 | public void start() {
56 | if (getStatus() == STATUS_PENDING) {
57 | synchronized (this) {
58 | mStatus = STATUS_RUNNING;
59 | }
60 | super.start();
61 | }
62 | }
63 |
64 | public void run() {
65 | try {
66 | URL request = new URL(mUrl);
67 | InputStream is = (InputStream) request.getContent();
68 | FileOutputStream fos = new FileOutputStream(mLocal);
69 | try {
70 | byte[] buffer = new byte[4096];
71 | int l;
72 | while ((l = is.read(buffer)) != -1) {
73 | fos.write(buffer, 0, l);
74 | }
75 | } catch (IOException e) {
76 | e.printStackTrace();
77 | } finally {
78 | is.close();
79 | fos.flush();
80 | fos.close();
81 | }
82 | } catch (MalformedURLException e) {
83 | e.printStackTrace();
84 | } catch (IOException e) {
85 | e.printStackTrace();
86 | }
87 |
88 | synchronized (this) {
89 | mStatus = STATUS_FINISHED;
90 | }
91 | Handler handler = getHandler();
92 | if (handler != null) {
93 | handler.sendEmptyMessage(STATUS_FINISHED);
94 | }
95 | }
96 |
97 | public int getStatus() {
98 | synchronized (this) {
99 | return mStatus;
100 | }
101 | }
102 |
103 | public boolean hasError() {
104 | return mError;
105 | }
106 |
107 | public Exception getException() {
108 | return mException;
109 | }
110 |
111 | public void setHandler(Handler handler) {
112 | mHandler = new SoftReference(handler);
113 | }
114 |
115 | public Handler getHandler() {
116 | if (mHandler != null) {
117 | return mHandler.get();
118 | }
119 | return null;
120 | }
121 |
122 | @Override
123 | public long getId() {
124 | return mUrl.hashCode();
125 | }
126 | }
127 |
--------------------------------------------------------------------------------
/src/com/tedx/utility/RemoteImageView.java:
--------------------------------------------------------------------------------
1 | /*
2 | * The MIT License
3 |
4 | * Copyright (c) 2010 Peter Ma
5 |
6 | * Permission is hereby granted, free of charge, to any person obtaining a copy
7 | * of this software and associated documentation files (the "Software"), to deal
8 | * in the Software without restriction, including without limitation the rights
9 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 | * copies of the Software, and to permit persons to whom the Software is
11 | * furnished to do so, subject to the following conditions:
12 |
13 | * The above copyright notice and this permission notice shall be included in
14 | * all copies or substantial portions of the Software.
15 |
16 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 | * THE SOFTWARE.
23 | */
24 |
25 | package com.tedx.utility;
26 |
27 | import java.io.File;
28 |
29 | import android.content.Context;
30 | import android.graphics.drawable.Drawable;
31 | import android.os.Environment;
32 | import android.os.Handler;
33 | import android.os.Message;
34 | import android.util.AttributeSet;
35 | import android.widget.ImageView;
36 |
37 | import com.catchnotes.tedapp.R;
38 |
39 | public class RemoteImageView extends ImageView{
40 | private String mLocal;
41 | private String mRemote;
42 | private HTTPThread mThread = null;
43 |
44 | public RemoteImageView(Context context, AttributeSet attrs) {
45 | this(context, attrs, 0);
46 | }
47 |
48 | public RemoteImageView(Context context, AttributeSet attrs, int defStyle) {
49 | super(context, attrs, defStyle);
50 | }
51 |
52 | public void setLocalURI(String local) {
53 | mLocal = local;
54 | }
55 |
56 | public void setRemoteURI(String uri) {
57 | if (uri.startsWith("http")) {
58 | mRemote = uri;
59 | }
60 | }
61 |
62 | public void loadImage() {
63 | if (mRemote != null) {
64 | if (mLocal == null) {
65 | mLocal = Environment.getExternalStorageDirectory() + "/.remote-image-view-cache/" + mRemote.hashCode() + ".jpg";
66 | }
67 | // check for the local file here instead of in the thread because
68 | // otherwise previously-cached files wouldn't be loaded until after
69 | // the remote ones have been downloaded.
70 | File local = new File(mLocal);
71 | if (local.exists()) {
72 | setFromLocal();
73 | } else {
74 | // we already have the local reference, so just make the parent
75 | // directories here instead of in the thread.
76 | local.getParentFile().mkdirs();
77 | queue();
78 | }
79 | }
80 | }
81 |
82 | @Override
83 | public void finalize() {
84 | if (mThread != null) {
85 | HTTPQueue queue = HTTPQueue.getInstance();
86 | queue.dequeue(mThread);
87 | }
88 | }
89 |
90 | private void queue() {
91 | if (mThread == null) {
92 | mThread = new HTTPThread(mRemote, mLocal, mHandler);
93 | HTTPQueue queue = HTTPQueue.getInstance();
94 | queue.enqueue(mThread, HTTPQueue.PRIORITY_HIGH);
95 | }
96 | setImageResource(R.drawable.missingphoto);
97 | }
98 |
99 | private void setFromLocal() {
100 | mThread = null;
101 | Drawable d = Drawable.createFromPath(mLocal);
102 | if (d != null) {
103 | setImageDrawable(d);
104 | }
105 | }
106 |
107 | private Handler mHandler = new Handler() {
108 | @Override
109 | public void handleMessage(Message msg) {
110 | setFromLocal();
111 | }
112 | };
113 | }
114 |
--------------------------------------------------------------------------------