AndroidDemo
Demo app to show how to start an Android App. This demo shows:
- How to create a Fragment and associate with Activity.
- Make Asynchronous call using SafeAsyncTask.
- Decouple SafeAsyncTask with Otto Bus.
- Replace Roboguice for Guice 3.0.
- Connect to Foursquare's API using Retrofit with OkHttp and parse Json with Gson.
- Material Design with latest AppCompat library (version 22.1) and animations like Google+ and Google Play. It also use latest AppCompat Widgets.
- Side Bar implementation.
- RecyclerView implementation with onClickListener, View Types and OnScrollListener.
- Use of GPS.
- Persists data with Qachee.
- Use of Square Otto to use an event bus.
- Use of Proguard to reduce apk size.
- Two ways to handle release keystore and it values to create a Release APK (ready for Google Play).
It also handle HTTP errors in a generic way (see FoursquareAsyncTask.java) and use GPSTracker to handle Geo locations.
UPDATED TO WORK WITH MATERIAL DESIGN
Instructions
- Just Clone the git repo
- Import the "AndroidDemoApp" project into your Android Studio IDE.
- DONE
System Requirements
- Android Studio 0.9.0
- Gradle 2.1+
- Android Gradle plugin version 0.14.0
- Minimun Android SDK 14
- Target Android SDK 21
Developed By
- Nicolas Jafelle - [email protected]
License
Copyright 2013 Nicolas Jafelle
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.