├── filters ├── .gitignore └── dev.properties ├── .gitignore ├── res ├── drawable-hdpi │ └── icon.png ├── drawable-ldpi │ └── icon.png ├── drawable-mdpi │ └── icon.png ├── drawable │ ├── twitter_logo.png │ ├── gh_header_logo.png │ ├── spring09_logo.png │ ├── ic_tab_info_selected.png │ ├── ic_tab_events_selected.png │ ├── ic_tab_info_unselected.png │ ├── ic_tab_events_unselected.png │ ├── ic_tab_profile_selected.png │ ├── ic_tab_profile_unselected.png │ ├── ic_menu_close_clear_cancel.png │ ├── ic_tab_events.xml │ ├── ic_tab_info.xml │ └── ic_tab_profile.xml ├── menu │ ├── events_menu.xml │ ├── tweets_menu.xml │ └── profile_menu.xml ├── layout │ ├── menu_list_item.xml │ ├── web_oauth_activity_layout.xml │ ├── event_description.xml │ ├── event_session_description.xml │ ├── tweet_list_item.xml │ ├── events_list_item.xml │ ├── event_sessions_list_item.xml │ ├── profile.xml │ ├── main.xml │ ├── post_tweet.xml │ ├── tweet_details.xml │ ├── event_details.xml │ ├── event_session_rating.xml │ ├── authorize.xml │ ├── info.xml │ ├── event_session_details.xml │ └── sign_in.xml └── values │ ├── env_settings.xml │ ├── styles.xml │ └── strings.xml ├── project.properties ├── NOTICE ├── src ├── org │ └── springframework │ │ └── social │ │ └── greenhouse │ │ ├── api │ │ ├── TweetFeed.java │ │ ├── impl │ │ │ ├── GreenhouseErrorHandler.java │ │ │ ├── GroupMixin.java │ │ │ ├── TimeZoneMixin.java │ │ │ ├── RoomMixin.java │ │ │ ├── LeaderMixin.java │ │ │ ├── GreenhouseProfileMixin.java │ │ │ ├── VenueMixin.java │ │ │ ├── TweetFeedMixin.java │ │ │ ├── TweetMixin.java │ │ │ ├── EventSessionMixin.java │ │ │ ├── EventTemplate.java │ │ │ ├── EventMixin.java │ │ │ ├── UserTemplate.java │ │ │ ├── AbstractGreenhouseOperations.java │ │ │ ├── GreenhouseModule.java │ │ │ ├── SessionTemplate.java │ │ │ ├── GreenhouseTemplate.java │ │ │ └── TweetTemplate.java │ │ ├── TimeZone.java │ │ ├── Group.java │ │ ├── Room.java │ │ ├── Leader.java │ │ ├── EventOperations.java │ │ ├── Venue.java │ │ ├── UserOperations.java │ │ ├── Greenhouse.java │ │ ├── Tweet.java │ │ ├── GreenhouseProfile.java │ │ ├── SessionOperations.java │ │ ├── TweetOperations.java │ │ ├── EventSession.java │ │ └── Event.java │ │ └── connect │ │ ├── GreenhouseOAuth2Template.java │ │ ├── GreenhouseConnectionFactory.java │ │ ├── GreenhouseAdapter.java │ │ └── GreenhouseServiceProvider.java └── com │ └── springsource │ └── greenhouse │ ├── GreenhouseActivity.java │ ├── events │ ├── EventsListAdapter.java │ ├── EventTweetsActivity.java │ ├── EventDescriptionActivity.java │ ├── sessions │ │ ├── EventSessionsListAdapter.java │ │ ├── EventSessionDescriptionActivity.java │ │ ├── EventSessionsMyFavoritesActivity.java │ │ ├── EventSessionsConferenceFavoritesActivity.java │ │ ├── EventSessionsFilteredActivity.java │ │ ├── EventSessionTweetsActivity.java │ │ ├── EventSessionsCurrentActivity.java │ │ ├── EventSessionsByDayActivity.java │ │ ├── EventSessionsListActivity.java │ │ ├── EventSessionsUpcomingActivity.java │ │ ├── EventSessionsScheduleActivity.java │ │ └── EventSessionDetailsActivity.java │ ├── EventsActivityGroup.java │ ├── EventDetailsActivity.java │ └── EventsActivity.java │ ├── authorization │ └── AuthorizeActivity.java │ ├── InfoActivity.java │ ├── MainActivity.java │ ├── twitter │ ├── TweetsListAdapter.java │ └── TweetsListActivity.java │ ├── MainTabWidget.java │ ├── ProgressAsyncTask.java │ ├── AbstractGreenhouseActivity.java │ ├── AbstractGreenhouseListActivity.java │ ├── MainApplication.java │ └── profile │ └── ProfileActivity.java ├── AndroidManifest.xml ├── README └── pom.xml /filters/.gitignore: -------------------------------------------------------------------------------- 1 | prod.properties -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.DS_Store 2 | bin 3 | gen 4 | target 5 | .project 6 | .classpath 7 | .settings 8 | -------------------------------------------------------------------------------- /res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /res/drawable/twitter_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/twitter_logo.png -------------------------------------------------------------------------------- /res/drawable/gh_header_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/gh_header_logo.png -------------------------------------------------------------------------------- /res/drawable/spring09_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/spring09_logo.png -------------------------------------------------------------------------------- /res/drawable/ic_tab_info_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/ic_tab_info_selected.png -------------------------------------------------------------------------------- /res/drawable/ic_tab_events_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/ic_tab_events_selected.png -------------------------------------------------------------------------------- /res/drawable/ic_tab_info_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/ic_tab_info_unselected.png -------------------------------------------------------------------------------- /res/drawable/ic_tab_events_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/ic_tab_events_unselected.png -------------------------------------------------------------------------------- /res/drawable/ic_tab_profile_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/ic_tab_profile_selected.png -------------------------------------------------------------------------------- /res/drawable/ic_tab_profile_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/ic_tab_profile_unselected.png -------------------------------------------------------------------------------- /res/drawable/ic_menu_close_clear_cancel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/spring-attic/greenhouse-android/master/res/drawable/ic_menu_close_clear_cancel.png -------------------------------------------------------------------------------- /res/menu/events_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /res/menu/tweets_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /filters/dev.properties: -------------------------------------------------------------------------------- 1 | client.id=e9fbccdae98d5696 2 | client.secret=9fa283e1eca2d4e8 3 | connection.repository.encryption.password=password 4 | connection.repository.encryption.salt=5c0744940b5c369b 5 | base.url=https://10.0.2.2:8080/greenhouse/ -------------------------------------------------------------------------------- /res/layout/menu_list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /res/drawable/ic_tab_events.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /res/drawable/ic_tab_info.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /res/drawable/ic_tab_profile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /res/menu/profile_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 12 | 13 | -------------------------------------------------------------------------------- /res/layout/web_oauth_activity_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /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 | # Project target. 11 | target=android-16 12 | -------------------------------------------------------------------------------- /res/values/env_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | ${client.id} 3 | ${client.secret} 4 | ${connection.repository.encryption.password} 5 | ${connection.repository.encryption.salt} 6 | ${base.url} 7 | -------------------------------------------------------------------------------- /res/layout/event_description.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 9 | 10 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /res/layout/event_session_description.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 9 | 10 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /res/layout/tweet_list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 13 | 14 | 17 | 18 | -------------------------------------------------------------------------------- /res/layout/events_list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 11 | 12 | 14 | 15 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /res/layout/event_sessions_list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 11 | 12 | 14 | 15 | 17 | 18 | -------------------------------------------------------------------------------- /res/layout/profile.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 13 | 14 | 20 | 21 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | Greenhouse for Android 1.0.0.BUILD-SNAPSHOT 2 | Copyright (c) 2010-2012 VMware, Inc. All Rights Reserved. 3 | 4 | This product is licensed to you under the Apache License, Version 2.0 (the "License"). 5 | You may not use this product except in compliance with the License. 6 | 7 | This product may include a number of subcomponents with separate copyright notices 8 | and license terms. Your use of these subcomponents is subject to the terms and 9 | conditions of the subcomponent's license, as noted in the LICENSE file. 10 | 11 | This software downloads additional open source software components upon install 12 | that are distributed under separate terms and conditions. Please see the license 13 | information provided in the individual software components for more information. 14 | 15 | -------------------------------------------------------------------------------- /src/org/springframework/social/greenhouse/api/TweetFeed.java: -------------------------------------------------------------------------------- 1 | package org.springframework.social.greenhouse.api; 2 | 3 | import java.util.List; 4 | 5 | public class TweetFeed { 6 | 7 | private boolean lastPage; 8 | 9 | private long maxId; 10 | 11 | private long sinceId; 12 | 13 | private List tweets; 14 | 15 | public TweetFeed(boolean lastPage, long maxId, long sinceId, List tweets) { 16 | this.lastPage = lastPage; 17 | this.maxId = maxId; 18 | this.sinceId = sinceId; 19 | this.tweets = tweets; 20 | } 21 | 22 | public boolean getLastPage() { 23 | return lastPage; 24 | } 25 | 26 | public long getMaxId() { 27 | return maxId; 28 | } 29 | 30 | public long getSinceId() { 31 | return sinceId; 32 | } 33 | 34 | public List getTweets() { 35 | return tweets; 36 | } 37 | 38 | } 39 | -------------------------------------------------------------------------------- /res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 12 | 13 | 14 | 18 | 19 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/org/springframework/social/greenhouse/api/impl/GreenhouseErrorHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 the original author or authors. 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 | * https://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 | package org.springframework.social.greenhouse.api.impl; 17 | 18 | import org.springframework.web.client.DefaultResponseErrorHandler; 19 | 20 | /** 21 | * @author Roy Clarkson 22 | */ 23 | public class GreenhouseErrorHandler extends DefaultResponseErrorHandler { 24 | 25 | } 26 | -------------------------------------------------------------------------------- /src/com/springsource/greenhouse/GreenhouseActivity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2011 the original author or authors. 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 | * https://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 | package com.springsource.greenhouse; 17 | 18 | /** 19 | * @author Roy Clarkson 20 | */ 21 | public interface GreenhouseActivity { 22 | 23 | MainApplication getApplicationContext(); 24 | 25 | void showProgressDialog(); 26 | 27 | void showProgressDialog(String message); 28 | 29 | void dismissProgressDialog(); 30 | } 31 | -------------------------------------------------------------------------------- /res/layout/post_tweet.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 17 | 18 | 25 | 26 |