diff --git a/.gitignore b/.gitignore index ff4a396..18c743c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +.DS_Store # built application files *.apk *.ap_ @@ -19,3 +20,12 @@ local.properties .classpath .project *.~ +ant.properties +cinequest.keystore +abc.txt + +build/ +.gradle +.idea +gradle/ +gradlew* diff --git a/Android/Android.iml b/Android/Android.iml new file mode 100644 index 0000000..1dafa6e --- /dev/null +++ b/Android/Android.iml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Android/AndroidManifest.xml b/Android/AndroidManifest.xml index f26cc50..9a3eab0 100644 --- a/Android/AndroidManifest.xml +++ b/Android/AndroidManifest.xml @@ -1,61 +1,69 @@ - + package="edu.sjsu.cinequest" android:versionCode="1602081517" + android:versionName="16.0208.1517"> - - + - - + - - - + + + android:label="@string/app_name" + android:screenOrientation="portrait" > - - - + + + android:label="@string/app_name" + android:screenOrientation="portrait" > - + + + - \ No newline at end of file + diff --git a/Android/ant.properties b/Android/ant.properties deleted file mode 100644 index 77d40b1..0000000 --- a/Android/ant.properties +++ /dev/null @@ -1,2 +0,0 @@ -key.store=/home/cay/projects/cinequest/keys/cinequest.keystore -key.alias=cinequestkeystore diff --git a/Android/build.gradle b/Android/build.gradle new file mode 100644 index 0000000..2c6f4c0 --- /dev/null +++ b/Android/build.gradle @@ -0,0 +1,37 @@ +apply plugin: 'com.android.application' + +dependencies { + compile fileTree(dir: 'libs', include: '*.jar') + compile project(':JavaCommon') +} + +android { + compileSdkVersion 15 + buildToolsVersion '25.0.0' + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + resources.srcDirs = ['src'] + aidl.srcDirs = ['src'] + renderscript.srcDirs = ['src'] + res.srcDirs = ['res'] + assets.srcDirs = ['assets'] + } + + // Move the tests to tests/java, tests/res, etc... + instrumentTest.setRoot('tests') + + // Move the build types to build-types/ + // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ... + // This moves them out of them default location under src//... which would + // conflict with src/ being used by the main source set. + // Adding new build types or product flavors should be accompanied + // by a similar customization. + debug.setRoot('build-types/debug') + release.setRoot('build-types/release') + } + + android.enforceUniquePackageName = false +} diff --git a/Android/project.properties b/Android/project.properties index d6e65f7..4bf2be7 100644 --- a/Android/project.properties +++ b/Android/project.properties @@ -9,6 +9,6 @@ android.library=false # Project target. -target=android-18 +target=android-15 android.library.reference.1=../JavaCommon android.library.reference.2=../facebook diff --git a/Android/res/drawable-hdpi/events_icon_grey.png b/Android/res/drawable-hdpi/events_icon_grey.png new file mode 100644 index 0000000..958bab5 Binary files /dev/null and b/Android/res/drawable-hdpi/events_icon_grey.png differ diff --git a/Android/res/drawable-hdpi/events_icon_white_retina.png b/Android/res/drawable-hdpi/events_icon_white_retina.png new file mode 100644 index 0000000..f695a83 Binary files /dev/null and b/Android/res/drawable-hdpi/events_icon_white_retina.png differ diff --git a/Android/res/drawable-hdpi/film_icon2_grey.png b/Android/res/drawable-hdpi/film_icon2_grey.png new file mode 100644 index 0000000..afea34c Binary files /dev/null and b/Android/res/drawable-hdpi/film_icon2_grey.png differ diff --git a/Android/res/drawable-hdpi/film_icon2_white_retina.png b/Android/res/drawable-hdpi/film_icon2_white_retina.png new file mode 100644 index 0000000..bc5e0fe Binary files /dev/null and b/Android/res/drawable-hdpi/film_icon2_white_retina.png differ diff --git a/Android/res/drawable-hdpi/ic_action_remove.png b/Android/res/drawable-hdpi/ic_action_remove.png new file mode 100644 index 0000000..f889617 Binary files /dev/null and b/Android/res/drawable-hdpi/ic_action_remove.png differ diff --git a/Android/res/drawable-hdpi/news_2x_grey.png b/Android/res/drawable-hdpi/news_2x_grey.png new file mode 100644 index 0000000..9346739 Binary files /dev/null and b/Android/res/drawable-hdpi/news_2x_grey.png differ diff --git a/Android/res/drawable-hdpi/news_2x_white.png b/Android/res/drawable-hdpi/news_2x_white.png new file mode 100644 index 0000000..12dcf59 Binary files /dev/null and b/Android/res/drawable-hdpi/news_2x_white.png differ diff --git a/Android/res/drawable-hdpi/schedule_grey.png b/Android/res/drawable-hdpi/schedule_grey.png new file mode 100644 index 0000000..d71ea51 Binary files /dev/null and b/Android/res/drawable-hdpi/schedule_grey.png differ diff --git a/Android/res/drawable-hdpi/schedule_white_retina.png b/Android/res/drawable-hdpi/schedule_white_retina.png new file mode 100644 index 0000000..076417c Binary files /dev/null and b/Android/res/drawable-hdpi/schedule_white_retina.png differ diff --git a/Android/res/drawable-hdpi/twitter.png b/Android/res/drawable-hdpi/twitter.png new file mode 100644 index 0000000..732d233 Binary files /dev/null and b/Android/res/drawable-hdpi/twitter.png differ diff --git a/Android/res/drawable-hdpi/youtube.png b/Android/res/drawable-hdpi/youtube.png deleted file mode 100644 index ec44243..0000000 Binary files a/Android/res/drawable-hdpi/youtube.png and /dev/null differ diff --git a/Android/res/drawable-mdpi/forums_icon.png b/Android/res/drawable-mdpi/forums_icon.png deleted file mode 100644 index d58c77f..0000000 Binary files a/Android/res/drawable-mdpi/forums_icon.png and /dev/null differ diff --git a/Android/res/drawable/androidsplash.png b/Android/res/drawable/androidsplash.png new file mode 100644 index 0000000..58de079 Binary files /dev/null and b/Android/res/drawable/androidsplash.png differ diff --git a/Android/res/drawable/disabledeventsbutton.xml b/Android/res/drawable/disabledeventsbutton.xml new file mode 100644 index 0000000..a57da3a --- /dev/null +++ b/Android/res/drawable/disabledeventsbutton.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/Android/res/drawable/disabledfilmsbutton.xml b/Android/res/drawable/disabledfilmsbutton.xml new file mode 100644 index 0000000..cda2d36 --- /dev/null +++ b/Android/res/drawable/disabledfilmsbutton.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/Android/res/drawable/enabledeventsbutton.xml b/Android/res/drawable/enabledeventsbutton.xml new file mode 100644 index 0000000..769cec6 --- /dev/null +++ b/Android/res/drawable/enabledeventsbutton.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/Android/res/drawable/enabledfilmsbutton.xml b/Android/res/drawable/enabledfilmsbutton.xml new file mode 100644 index 0000000..8bd3f00 --- /dev/null +++ b/Android/res/drawable/enabledfilmsbutton.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/Android/res/drawable/filmreel.png b/Android/res/drawable/filmreel.png index 05bec5a..9a21c08 100644 Binary files a/Android/res/drawable/filmreel.png and b/Android/res/drawable/filmreel.png differ diff --git a/Android/res/drawable/ic_tab_event.xml b/Android/res/drawable/ic_tab_event.xml new file mode 100644 index 0000000..87e9b9e --- /dev/null +++ b/Android/res/drawable/ic_tab_event.xml @@ -0,0 +1,8 @@ + + + + + + + diff --git a/Android/res/drawable/ic_tab_film.xml b/Android/res/drawable/ic_tab_film.xml new file mode 100644 index 0000000..0c3c96b --- /dev/null +++ b/Android/res/drawable/ic_tab_film.xml @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/Android/res/drawable/ic_tab_news.xml b/Android/res/drawable/ic_tab_news.xml new file mode 100644 index 0000000..673df1a --- /dev/null +++ b/Android/res/drawable/ic_tab_news.xml @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/Android/res/drawable/ic_tab_schedule.xml b/Android/res/drawable/ic_tab_schedule.xml new file mode 100644 index 0000000..445692c --- /dev/null +++ b/Android/res/drawable/ic_tab_schedule.xml @@ -0,0 +1,8 @@ + + + + + + + diff --git a/Android/res/drawable/splash.png b/Android/res/drawable/splash.png deleted file mode 100644 index cfd19f9..0000000 Binary files a/Android/res/drawable/splash.png and /dev/null differ diff --git a/Android/res/layout/activity_splash_screen.xml b/Android/res/layout/activity_splash_screen.xml index 9b9dc87..9567cda 100644 --- a/Android/res/layout/activity_splash_screen.xml +++ b/Android/res/layout/activity_splash_screen.xml @@ -8,7 +8,7 @@ android:id="@+id/login_status" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:background="@drawable/splash" > + android:background="@drawable/androidsplash" > + + - - - - diff --git a/Android/res/layout/facebookviewport.xml b/Android/res/layout/facebookviewport.xml new file mode 100644 index 0000000..47b3f38 --- /dev/null +++ b/Android/res/layout/facebookviewport.xml @@ -0,0 +1,6 @@ + + \ No newline at end of file diff --git a/Android/res/layout/filmdetail.xml b/Android/res/layout/filmdetail.xml index 9709d6f..6fd9530 100644 --- a/Android/res/layout/filmdetail.xml +++ b/Android/res/layout/filmdetail.xml @@ -6,6 +6,5 @@ android:layout_height="fill_parent" android:id="@+id/ScheduleList" android:clickable="true" - + android:listSelector="#FF0000" /> - \ No newline at end of file diff --git a/Android/res/layout/home_layout.xml b/Android/res/layout/home_layout.xml index 51eb752..6e7f89a 100644 --- a/Android/res/layout/home_layout.xml +++ b/Android/res/layout/home_layout.xml @@ -14,7 +14,7 @@ android:layout_height="wrap_content" android:background="#6D7B8D" android:visibility="visible" - > + >