├── .gitignore
├── Lecture01
├── JAVA_and_OOPS.pdf
├── Java
│ ├── Java.iml
│ └── src
│ │ ├── Currency.java
│ │ ├── GroceryStore.java
│ │ └── Main.java
└── MyFirstApp
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── myfirstapp
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── myfirstapp
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-w820dp
│ │ │ └── dimens.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── myfirstapp
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture02
└── Activities
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── org
│ │ │ └── fossasia
│ │ │ └── activities
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── fossasia
│ │ │ │ └── activities
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-w820dp
│ │ │ └── dimens.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── fossasia
│ │ └── activities
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture03
├── Layouts
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── layouts
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── codingblocks
│ │ │ │ │ └── layouts
│ │ │ │ │ └── MainActivity.java
│ │ │ └── res
│ │ │ │ ├── layout-hi-rIN-w720dp-port-v21
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── layout-land
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── layout
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── values-hi-rIN
│ │ │ │ └── values.xml
│ │ │ │ ├── values-w1080dp
│ │ │ │ └── dimens.xml
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── layouts
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── ListViews
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── listviews
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── listviews
│ │ │ │ ├── Course.java
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ └── list_item_course.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── listviews
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture04
└── Lists
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── lists
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── lists
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── RecyclerAdapter.java
│ │ │ │ ├── Student.java
│ │ │ │ └── StudentAdapter.java
│ │ └── res
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── tupple_layout.xml
│ │ │ └── tupple_right.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-w820dp
│ │ │ └── dimens.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── lists
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture05
└── RecyclerView
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── recyclerview
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── recyclerview
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── RecyclerAdd.java
│ │ │ │ ├── Student.java
│ │ │ │ └── StudentRecyclerAdapter.java
│ │ └── res
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── activity_recycler_add.xml
│ │ │ ├── add_layout_student.xml
│ │ │ ├── student_layout.xml
│ │ │ └── student_layout_right.xml
│ │ │ ├── mipmap-hdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-mdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ └── ic_launcher.png
│ │ │ ├── values-w820dp
│ │ │ └── dimens.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── recyclerview
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture06
├── Fragments
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── fragments
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── codingblocks
│ │ │ │ │ └── fragments
│ │ │ │ │ ├── BlankFragment.java
│ │ │ │ │ ├── BlueFragment.java
│ │ │ │ │ ├── DynamicFragmentActivity.java
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── RedFragment.java
│ │ │ └── res
│ │ │ │ ├── layout
│ │ │ │ ├── activity_dynamic_fragment.xml
│ │ │ │ ├── activity_main.xml
│ │ │ │ ├── fragment_blank.xml
│ │ │ │ ├── fragment_blue.xml
│ │ │ │ └── fragment_red.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── fragments
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── Intents
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── intents
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── intents
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── NewIntentExampleActivity.java
│ │ │ │ └── OtherActivity.java
│ │ └── res
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── activity_new_intent_example.xml
│ │ │ └── activity_other.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── intents
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture07
└── Fragments
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── fragments
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── fragments
│ │ │ │ ├── Course.kt
│ │ │ │ ├── Course2Fragment.java
│ │ │ │ ├── CourseFragment.java
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ └── fragment_course.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── fragments
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture08
├── MoreFragments
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── morefragments
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── codingblocks
│ │ │ │ │ └── morefragments
│ │ │ │ │ ├── BlankFragment.java
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ ├── MyFragmentPagerAdapter.java
│ │ │ │ │ └── TabbedActivity.java
│ │ │ └── res
│ │ │ │ ├── layout
│ │ │ │ ├── activity_main.xml
│ │ │ │ ├── activity_tabbed.xml
│ │ │ │ ├── fragment_blank.xml
│ │ │ │ └── fragment_tabbed.xml
│ │ │ │ ├── menu
│ │ │ │ └── menu_tabbed.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── values-w820dp
│ │ │ │ └── dimens.xml
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── morefragments
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── Services
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── services
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── services
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── MyIntentService.java
│ │ │ │ └── MyService.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── services
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture09
├── AsyncTask
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── asynctask
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── codingblocks
│ │ │ │ │ └── asynctask
│ │ │ │ │ ├── MainActivity.kt
│ │ │ │ │ └── NSecWaitTask.java
│ │ │ └── res
│ │ │ │ ├── layout
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── asynctask
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── NetworkOperations
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── networkoperations
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── networkoperations
│ │ │ │ ├── DownloadTask.java
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── networkoperations
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture10
└── RestAPI
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── restapi
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── restapi
│ │ │ │ ├── DownloadTask.java
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── Post.kt
│ │ │ │ ├── PostAPI.java
│ │ │ │ ├── PostComment.kt
│ │ │ │ ├── PostCommentActivity.java
│ │ │ │ ├── PostsAdapter.java
│ │ │ │ └── User.kt
│ │ └── res
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── activity_post_comment.xml
│ │ │ └── list_item_post.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── restapi
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture11
└── RestAPIRetrofitJSON
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── restapiretrofitjson
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── restapiretrofitjson
│ │ │ │ ├── MainActivity.java
│ │ │ │ ├── PostsActivity.java
│ │ │ │ ├── RestAPI.java
│ │ │ │ ├── adapters
│ │ │ │ ├── CommentAdapter.java
│ │ │ │ ├── PostAdapter.java
│ │ │ │ └── UserAdapter.java
│ │ │ │ ├── api
│ │ │ │ ├── CommentsAPI.java
│ │ │ │ ├── PostsAPI.java
│ │ │ │ └── UsersAPI.java
│ │ │ │ ├── interfaces
│ │ │ │ └── OnItemClickListener.java
│ │ │ │ └── models
│ │ │ │ ├── Comment.kt
│ │ │ │ ├── Post.kt
│ │ │ │ └── User.kt
│ │ └── res
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── activity_posts.xml
│ │ │ ├── list_item_comment.xml
│ │ │ ├── list_item_post.xml
│ │ │ └── list_item_user.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── restapiretrofitjson
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture12
├── BroadcastReceivers
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── broadcastreceivers
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── codingblocks
│ │ │ │ │ └── broadcastreceivers
│ │ │ │ │ ├── MainActivity.java
│ │ │ │ │ └── PowerConnectedReceiver.java
│ │ │ └── res
│ │ │ │ ├── layout
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── broadcastreceivers
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── HardwareSensors
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── hardwaresensors
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── hardwaresensors
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── hardwaresensors
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture13
└── Permissions
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── permissions
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── permissions
│ │ │ │ ├── MainActivity.java
│ │ │ │ └── PermissionManager.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── permissions
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture14
├── AlarmManager
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── alarmmanager
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── codingblocks
│ │ │ │ │ └── alarmmanager
│ │ │ │ │ └── MainActivity.java
│ │ │ └── res
│ │ │ │ ├── layout
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── alarmmanager
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Database
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── database
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── codingblocks
│ │ │ │ │ └── database
│ │ │ │ │ ├── MainActivity.kt
│ │ │ │ │ ├── Todo.kt
│ │ │ │ │ └── db
│ │ │ │ │ ├── DbUtils.java
│ │ │ │ │ ├── TodoDatabaseHelper.java
│ │ │ │ │ └── tables
│ │ │ │ │ └── TodoTable.java
│ │ │ └── res
│ │ │ │ ├── layout
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── database
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── SharedPrefs
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── sharedprefs
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── sharedprefs
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── sharedprefs
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── Lecture15
├── GoogleMaps
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── googlemaps
│ │ │ │ └── ExampleInstrumentedTest.java
│ │ │ ├── debug
│ │ │ └── res
│ │ │ │ └── values
│ │ │ │ └── google_maps_api.xml
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── codingblocks
│ │ │ │ │ └── googlemaps
│ │ │ │ │ └── MapsActivity.java
│ │ │ └── res
│ │ │ │ ├── layout
│ │ │ │ └── activity_maps.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ ├── release
│ │ │ └── res
│ │ │ │ └── values
│ │ │ │ └── google_maps_api.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── googlemaps
│ │ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── Locations
│ ├── .gitignore
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── locations
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── locations
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── locations
│ │ └── ExampleUnitTest.java
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── Lecture16
├── CommonLayouts
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── codingblocks
│ │ │ └── commonlayouts
│ │ │ └── ExampleInstrumentedTest.java
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── codingblocks
│ │ │ │ └── commonlayouts
│ │ │ │ ├── BlankFragment.java
│ │ │ │ └── MainActivity.java
│ │ └── res
│ │ │ ├── drawable-v21
│ │ │ ├── ic_menu_add.xml
│ │ │ └── ic_menu_settings.xml
│ │ │ ├── drawable
│ │ │ ├── ic_menu_add.xml
│ │ │ └── ic_menu_settings.xml
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ └── fragment_blank.xml
│ │ │ ├── menu
│ │ │ └── main_menu.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── commonlayouts
│ │ └── ExampleUnitTest.java
├── build.gradle
├── gradle.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
└── FirebaseExample
├── .gitignore
├── app
├── .gitignore
├── build.gradle
├── google-services.json
├── proguard-rules.pro
└── src
│ ├── androidTest
│ └── java
│ │ └── com
│ │ └── codingblocks
│ │ └── firebaseexample
│ │ └── ExampleInstrumentedTest.java
│ ├── main
│ ├── AndroidManifest.xml
│ ├── java
│ │ └── com
│ │ │ └── codingblocks
│ │ │ └── firebaseexample
│ │ │ ├── MainActivity.java
│ │ │ ├── MyInstanceIdService.java
│ │ │ └── MyMessagingService.java
│ └── res
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ └── values
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── styles.xml
│ └── test
│ └── java
│ └── com
│ └── codingblocks
│ └── firebaseexample
│ └── ExampleUnitTest.java
├── build.gradle
├── gradle.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
/.gitignore:
--------------------------------------------------------------------------------
1 | build/
2 | .idea/
3 | .gradle/
4 | gradle/
5 | *.class
6 | out/
7 |
--------------------------------------------------------------------------------
/Lecture01/JAVA_and_OOPS.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture01/JAVA_and_OOPS.pdf
--------------------------------------------------------------------------------
/Lecture01/Java/Java.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Lecture01/Java/src/Currency.java:
--------------------------------------------------------------------------------
1 | import java.util.HashMap;
2 |
3 | /**
4 | * Created by championswimmer on 10/12/16.
5 | */
6 | public class Currency {
7 | // Static vars
8 | private static HashMap currencyTable;
9 |
10 |
11 | // Object vars
12 | private String currencyName;
13 |
14 | private Currency(String currencyName) {
15 | this.currencyName = currencyName;
16 | }
17 |
18 | public static Currency newInstance (String currencyName) {
19 | if (!currencyTable.containsKey(currencyName)) {
20 | currencyTable.put(currencyName, new Currency(currencyName));
21 | }
22 |
23 | return currencyTable.get(currencyName);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Lecture01/Java/src/GroceryStore.java:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by championswimmer on 10/12/16.
3 | */
4 |
5 | public class GroceryStore {
6 |
7 | private static GroceryStore groceryStore;
8 |
9 |
10 | private GroceryStore() {
11 |
12 | }
13 |
14 | public static GroceryStore getInstance () {
15 | if (groceryStore == null) {
16 | groceryStore = new GroceryStore();
17 | }
18 |
19 | return groceryStore;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/championswimmer/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/java/com/codingblocks/myfirstapp/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.myfirstapp;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 |
6 | public class MainActivity extends AppCompatActivity {
7 |
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | setContentView(R.layout.activity_main);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture01/MyFirstApp/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture01/MyFirstApp/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture01/MyFirstApp/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture01/MyFirstApp/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture01/MyFirstApp/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | MyFirstApp
3 |
4 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/app/src/test/java/com/codingblocks/myfirstapp/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.myfirstapp;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture01/MyFirstApp/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture02/Activities/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture02/Activities/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture02/Activities/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/rishabhkhanna/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture02/Activities/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture02/Activities/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture02/Activities/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture02/Activities/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture02/Activities/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Activities
3 |
4 |
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture02/Activities/app/src/test/java/org/fossasia/activities/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package org.fossasia.activities;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture02/Activities/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture02/Activities/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/java/com/codingblocks/layouts/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.layouts;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 |
6 | public class MainActivity extends AppCompatActivity {
7 |
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | setContentView(R.layout.activity_main);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/layout-hi-rIN-w720dp-port-v21/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/Layouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/values-hi-rIN/values.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | some hindi stuff here
4 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/values-w1080dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 20dp
4 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 10dp
4 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Layouts
3 | Hello World!
4 |
5 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/app/src/test/java/com/codingblocks/layouts/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.layouts;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture03/Layouts/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/Lecture03/Layouts/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture03/ListViews/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture03/ListViews/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | ListViews
3 |
4 |
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture03/ListViews/app/src/test/java/com/codingblocks/listviews/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.listviews;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture03/ListViews/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture03/ListViews/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/Lecture03/ListViews/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture04/Lists/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/rishabhkhanna/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/java/com/codingblocks/lists/Student.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.lists;
2 |
3 | /**
4 | * Created by rishabhkhanna on 13/06/17.
5 | */
6 |
7 | public class Student {
8 | String name;
9 | String course;
10 |
11 | public String getName() {
12 | return name;
13 | }
14 |
15 | public void setName(String name) {
16 | this.name = name;
17 | }
18 |
19 | public String getCourse() {
20 | return course;
21 | }
22 |
23 | public void setCourse(String course) {
24 | this.course = course;
25 | }
26 |
27 | public Student(String name, String course) {
28 |
29 | this.name = name;
30 | this.course = course;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/layout/tupple_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
13 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture04/Lists/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture04/Lists/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture04/Lists/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture04/Lists/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture04/Lists/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Lists
3 | 1
4 |
5 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture04/Lists/app/src/test/java/com/codingblocks/lists/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.lists;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture04/Lists/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture04/Lists/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/Lecture04/Lists/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/rishabhkhanna/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/java/com/codingblocks/recyclerview/RecyclerAdd.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.recyclerview;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 |
6 | public class RecyclerAdd extends AppCompatActivity {
7 |
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | setContentView(R.layout.activity_recycler_add);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/java/com/codingblocks/recyclerview/Student.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.recyclerview;
2 |
3 | /**
4 | * Created by rishabhkhanna on 15/06/17.
5 | */
6 |
7 | public class Student {
8 | String name;
9 | String Course;
10 |
11 | public Student(String name, String course) {
12 | this.name = name;
13 | Course = course;
14 | }
15 |
16 | public String getName() {
17 | return name;
18 | }
19 |
20 | public void setName(String name) {
21 | this.name = name;
22 | }
23 |
24 | public String getCourse() {
25 | return Course;
26 | }
27 |
28 | public void setCourse(String course) {
29 | Course = course;
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/layout/activity_recycler_add.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/layout/student_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
12 |
18 |
19 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture05/RecyclerView/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture05/RecyclerView/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture05/RecyclerView/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture05/RecyclerView/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture05/RecyclerView/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | RecyclerView
3 |
4 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/app/src/test/java/com/codingblocks/recyclerview/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.recyclerview;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.2.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture05/RecyclerView/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/java/com/codingblocks/fragments/MainActivity.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.fragments;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 |
6 | public class MainActivity extends AppCompatActivity {
7 |
8 | @Override
9 | protected void onCreate(Bundle savedInstanceState) {
10 | super.onCreate(savedInstanceState);
11 | setContentView(R.layout.activity_main);
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/layout/fragment_blank.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/layout/fragment_blue.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
12 |
13 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/layout/fragment_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Fragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Fragments
3 |
4 |
5 | Hello blank fragment
6 |
7 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/app/src/test/java/com/codingblocks/fragments/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.fragments;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture06/Fragments/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/Lecture06/Fragments/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture06/Intents/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture06/Intents/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/java/com/codingblocks/intents/OtherActivity.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.intents;
2 |
3 | import android.support.v7.app.AppCompatActivity;
4 | import android.os.Bundle;
5 | import android.widget.TextView;
6 |
7 | public class OtherActivity extends AppCompatActivity {
8 |
9 | @Override
10 | protected void onCreate(Bundle savedInstanceState) {
11 | super.onCreate(savedInstanceState);
12 | setContentView(R.layout.activity_other);
13 |
14 | String dataReceived = getIntent().getStringExtra("data");
15 | int result = getIntent().getIntExtra("result", 0);
16 | ((TextView) findViewById(R.id.tv_other)).setText(dataReceived);
17 |
18 |
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture06/Intents/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Intents
3 |
4 |
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture06/Intents/app/src/test/java/com/codingblocks/intents/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.intents;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture06/Intents/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture06/Intents/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/Lecture06/Intents/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture07/Fragments/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/java/com/codingblocks/fragments/Course.kt:
--------------------------------------------------------------------------------
1 | package com.codingblocks.fragments
2 |
3 | /**
4 | * Created by championswimmer on 20/06/17.
5 | */
6 |
7 | data class Course (
8 | val name: String,
9 | val teacher: String,
10 | val language: String)
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture07/Fragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Fragments
3 |
4 |
5 | Hello blank fragment
6 |
7 |
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture07/Fragments/app/src/test/java/com/codingblocks/fragments/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.fragments;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture07/Fragments/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext.kotlin_version = '1.1.2-5'
5 | repositories {
6 | jcenter()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:2.3.3'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 |
12 | // NOTE: Do not place your application dependencies here; they belong
13 | // in the individual module build.gradle files
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | jcenter()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/Lecture07/Fragments/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/layout/fragment_tabbed.xml:
--------------------------------------------------------------------------------
1 |
10 |
11 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/menu/menu_tabbed.xml:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/MoreFragments/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 | 16dp
6 | 8dp
7 |
8 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | MoreFragments
3 | TabbedActivity
4 | Settings
5 | Hello World from section: %1$d
6 |
7 |
8 | Hello blank fragment
9 |
10 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/app/src/test/java/com/codingblocks/morefragments/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.morefragments;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture08/MoreFragments/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture08/Services/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture08/Services/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture08/Services/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Services
3 |
4 |
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture08/Services/app/src/test/java/com/codingblocks/services/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.services;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture08/Services/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture08/Services/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/AsyncTask/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | AsyncTask
3 |
4 |
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/app/src/test/java/com/codingblocks/asynctask/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.asynctask;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext.kotlin_version = '1.1.3'
5 | repositories {
6 | jcenter()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:2.3.3'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 |
12 | // NOTE: Do not place your application dependencies here; they belong
13 | // in the individual module build.gradle files
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | jcenter()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/Lecture09/AsyncTask/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture09/NetworkOperations/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | NetworkOperations
3 |
4 |
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/app/src/test/java/com/codingblocks/networkoperations/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.networkoperations;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture09/NetworkOperations/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture10/RestAPI/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/java/com/codingblocks/restapi/Post.kt:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapi
2 |
3 | /**
4 | * Created by championswimmer on 27/06/17.
5 | */
6 |
7 | data class Post (
8 | val userId: kotlin.Int,
9 | val id: kotlin.Int,
10 | val title: String,
11 | val body: String
12 | )
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/java/com/codingblocks/restapi/PostComment.kt:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapi
2 |
3 | /**
4 | * Created by championswimmer on 27/06/17.
5 | */
6 |
7 | data class PostComment (
8 | val postId: kotlin.Int,
9 | val id: kotlin.Int,
10 | val name: String,
11 | val email: String,
12 | val body: String
13 | )
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/java/com/codingblocks/restapi/User.kt:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapi
2 |
3 | /**
4 | * Created by championswimmer on 27/06/17.
5 | */
6 |
7 | data class User (
8 | val name: String,
9 | val address: Address
10 | ) {
11 | data class Address (
12 | val street: String,
13 | val suite: String,
14 | val city: String
15 | )
16 |
17 |
18 | }
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/layout/activity_post_comment.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/layout/list_item_post.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
20 |
21 |
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture10/RestAPI/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | RestAPI
3 |
4 |
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture10/RestAPI/app/src/test/java/com/codingblocks/restapi/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapi;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture10/RestAPI/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext.kotlin_version = '1.1.3'
5 | repositories {
6 | jcenter()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:2.3.3'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 |
12 | // NOTE: Do not place your application dependencies here; they belong
13 | // in the individual module build.gradle files
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | jcenter()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/Lecture10/RestAPI/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/java/com/codingblocks/restapiretrofitjson/api/CommentsAPI.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapiretrofitjson.api;
2 |
3 | import com.codingblocks.restapiretrofitjson.models.Comment;
4 |
5 | import java.util.ArrayList;
6 |
7 | import retrofit2.Call;
8 | import retrofit2.http.GET;
9 | import retrofit2.http.Query;
10 |
11 | /**
12 | * Created by championswimmer on 29/06/17.
13 | */
14 |
15 | public interface CommentsAPI {
16 |
17 | @GET("/comments")
18 | Call> getComments ();
19 |
20 | @GET("/comments")
21 | Call> getCommentsByPostId (
22 | @Query("postId") int postId
23 | );
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/java/com/codingblocks/restapiretrofitjson/api/UsersAPI.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapiretrofitjson.api;
2 |
3 | import com.codingblocks.restapiretrofitjson.models.User;
4 |
5 | import java.util.ArrayList;
6 |
7 | import retrofit2.Call;
8 | import retrofit2.http.GET;
9 |
10 | /**
11 | * Created by championswimmer on 29/06/17.
12 | */
13 |
14 | public interface UsersAPI {
15 |
16 | @GET("/users")
17 | Call> getUsers ();
18 | }
19 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/java/com/codingblocks/restapiretrofitjson/interfaces/OnItemClickListener.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapiretrofitjson.interfaces;
2 |
3 | /**
4 | * Created by championswimmer on 29/06/17.
5 | */
6 |
7 | public interface OnItemClickListener {
8 | void onItemClick (int itemId);
9 | }
10 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/java/com/codingblocks/restapiretrofitjson/models/Comment.kt:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapiretrofitjson.models
2 |
3 | /**
4 | * Created by championswimmer on 29/06/17.
5 | */
6 | data class Comment (
7 | val postId: Int,
8 | val id: Int,
9 | val name: String,
10 | val email: String,
11 | val body: String
12 | )
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/java/com/codingblocks/restapiretrofitjson/models/Post.kt:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapiretrofitjson.models
2 |
3 | /**
4 | * Created by championswimmer on 29/06/17.
5 | */
6 |
7 | data class Post (
8 | val userId: Int,
9 | val id: Int,
10 | val title: String,
11 | val body: String
12 | )
13 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/java/com/codingblocks/restapiretrofitjson/models/User.kt:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapiretrofitjson.models
2 |
3 | /**
4 | * Created by championswimmer on 29/06/17.
5 | */
6 | data class User (
7 | val id: Int,
8 | val username: String,
9 | val name: String,
10 | val email: String,
11 | val phone: String
12 | )
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/layout/activity_posts.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture11/RestAPIRetrofitJSON/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | RestAPIRetrofitJSON
3 |
4 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/app/src/test/java/com/codingblocks/restapiretrofitjson/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.restapiretrofitjson;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext.kotlin_version = '1.1.3'
5 | repositories {
6 | jcenter()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:2.3.3'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 |
12 | // NOTE: Do not place your application dependencies here; they belong
13 | // in the individual module build.gradle files
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | jcenter()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/Lecture11/RestAPIRetrofitJSON/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/BroadcastReceivers/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | BroadcastReceivers
3 |
4 |
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/app/src/test/java/com/codingblocks/broadcastreceivers/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.broadcastreceivers;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture12/BroadcastReceivers/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture12/HardwareSensors/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | HardwareSensors
3 |
4 |
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/app/src/test/java/com/codingblocks/hardwaresensors/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.hardwaresensors;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture12/HardwareSensors/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture13/Permissions/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture13/Permissions/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Permissions
3 |
4 |
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture13/Permissions/app/src/test/java/com/codingblocks/permissions/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.permissions;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture13/Permissions/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture13/Permissions/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/AlarmManager/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | AlarmManager
3 |
4 |
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/app/src/test/java/com/codingblocks/alarmmanager/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.alarmmanager;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture14/AlarmManager/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture14/Database/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture14/Database/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/java/com/codingblocks/database/Todo.kt:
--------------------------------------------------------------------------------
1 | package com.codingblocks.database
2 |
3 | /**
4 | * Created by championswimmer on 09/07/17.
5 | */
6 | data class Todo (
7 | val task: String
8 | )
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/java/com/codingblocks/database/db/DbUtils.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.database.db;
2 |
3 | /**
4 | * Created by championswimmer on 09/07/17.
5 | */
6 |
7 | public class DbUtils {
8 |
9 | public static final String CREATE_TABLE = "CREATE TABLE ";
10 | public static final String LBR = " ( ";
11 | public static final String RBR = " ) ";
12 | public static final String COMMA = " , ";
13 | public static final String SEMI = " ; ";
14 |
15 | public static final String TYPE_INTEGER = " INTEGER ";
16 | public static final String TYPE_TEXT = " TEXT ";
17 | public static final String TYPE_INTEGER_PK_AI = " INTEGER PRIMARY KEY AUTOINCREMENT ";
18 |
19 |
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/Database/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Database
3 |
4 |
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture14/Database/app/src/test/java/com/codingblocks/database/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.database;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture14/Database/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | ext.kotlin_version = '1.1.3-2'
5 | repositories {
6 | jcenter()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:2.3.3'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 |
12 | // NOTE: Do not place your application dependencies here; they belong
13 | // in the individual module build.gradle files
14 | }
15 | }
16 |
17 | allprojects {
18 | repositories {
19 | jcenter()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/Lecture14/Database/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture14/SharedPrefs/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | SharedPrefs
3 |
4 |
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/app/src/test/java/com/codingblocks/sharedprefs/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.sharedprefs;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture14/SharedPrefs/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/layout/activity_maps.xml:
--------------------------------------------------------------------------------
1 |
9 |
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/GoogleMaps/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | GoogleMaps
3 | Map
4 |
5 |
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/app/src/test/java/com/codingblocks/googlemaps/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.googlemaps;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture15/GoogleMaps/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture15/Locations/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture15/Locations/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture15/Locations/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Locations
3 |
4 |
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture15/Locations/app/src/test/java/com/codingblocks/locations/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.locations;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture15/Locations/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture15/Locations/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/drawable-v21/ic_menu_add.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/drawable/ic_menu_add.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/layout/fragment_blank.xml:
--------------------------------------------------------------------------------
1 |
6 |
7 |
8 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/menu/main_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/CommonLayouts/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | CommonLayouts
3 |
4 |
5 | Hello blank fragment
6 |
7 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/app/src/test/java/com/codingblocks/commonlayouts/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.commonlayouts;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
21 | task clean(type: Delete) {
22 | delete rootProject.buildDir
23 | }
24 |
--------------------------------------------------------------------------------
/Lecture16/CommonLayouts/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/java/com/codingblocks/firebaseexample/MyInstanceIdService.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.firebaseexample;
2 |
3 | import android.util.Log;
4 |
5 | import com.google.firebase.iid.FirebaseInstanceId;
6 | import com.google.firebase.iid.FirebaseInstanceIdService;
7 |
8 | /**
9 | * Created by championswimmer on 16/07/17.
10 | */
11 |
12 | public class MyInstanceIdService extends FirebaseInstanceIdService {
13 | @Override
14 | public void onTokenRefresh() {
15 | super.onTokenRefresh();
16 |
17 | String token = FirebaseInstanceId.getInstance().getToken();
18 | Log.d("TOKEN", "onTokenRefresh: " + token);
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/coding-blocks-archives/Android_2017_Summer_Pitampura/f9b930fc0d77c5a039a7a69503c0beedb753403e/Lecture16/FirebaseExample/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #3F51B5
4 | #303F9F
5 | #FF4081
6 |
7 |
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | FirebaseExample
3 |
4 |
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/app/src/test/java/com/codingblocks/firebaseexample/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.codingblocks.firebaseexample;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:2.3.3'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | classpath 'com.google.gms:google-services:3.0.0'
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | jcenter()
19 | }
20 | }
21 |
22 | task clean(type: Delete) {
23 | delete rootProject.buildDir
24 | }
25 |
--------------------------------------------------------------------------------
/Lecture16/FirebaseExample/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------