AndroidDemo
Demo app to show how to start an Android App
Install / Use
/learn @nicolasjafelle/AndroidDemoREADME
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 - nicolasjafelle@gmail.com
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.
Related Skills
node-connect
347.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
