android-basic-samples alternatives and similar packages
Based on the "Demo" category.
Alternatively, view android-basic-samples alternatives based on common mentions on social networks and blogs.
-
android-best-practices
Do's and Don'ts for Android development, by Futurice developers -
Android-RxJava
Learning RxJava for Android by example -
u2020
A sample Android app which showcases advanced usage of Dagger among other open source libraries. -
android-proguard-snippets
Proguard configurations for common Android libraries -
Android-Material-Examples
[Deprecated] Little bites of Material Design -
MovieGuide
Movie discovery app showcasing MVP, RxJava, Dagger 2 and Clean Architecture -
Android-ItemTouchHelper-Demo
Basic example of using ItemTouchHelper to add drag & drop and swipe-to-dismiss to RecyclerView. -
Android-Cheat-sheet
Cheat Sheet for Android Interviews -
CardSlidePanel
enable users to slide card to the left or right smoothly and continuously -
socket.io-android-chat
A simple chat demo for socket.io and Android -
BlurEffectForAndroidDesign
Sample to show how to implement blur graphical tricks -
kotlin-sample-app
๐ Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack. -
android-demo
Android common lib demo, include ImageCache, HttpCache, DropDownListView, DownloadManager, install apk silent and so on, you can find description -
Android-LollipopShowcase
A simple app to showcase some of the cool new cool stuff in Android L. RecyclerView, CardView, ActionBarDrawerToggle, DrawerLayout, Animations, Android Compat Design, Toolbar -
rx-android-architecture
RxJava architecture library for Android -
AndroidPushNotificationsDemo
A example of an android app that receives push notifications using MQTT. -
Android-WizardPager
Android pager-style wizard flow sample code -
Quality-Tools-for-Android
This is an Android sample app + tests that will be used to work on various project to increase the quality of the Android platform. -
AndroidDemoProjects
Collection of Small Android Projects -
MaterialTransitions
Sample material transition animations for Android -
android-layout-samples
Explorations around Android custom layouts -
android-support-23.2-sample
Sample Project for Android Support Library 23.2 -
Watch
A project which demonstrate how to develop a custom client on android for dribbble.com -
GraphView-Demos
Examples for my Android GraphView library -
Android-AOPExample
This is a simple example of Aspect Oriented Programming in Android -
hellomap-android
Quick start with the Google Maps Android API -
android-movies-demo
Sample application demonstrating Android design and animation -
ProgrammingAndroidExamples
This repo contains example code for O'Reilly's "Programming Android" by Zigured Mednieks, Laird Dornin, Blake Meike and Masumi Nakamura -
ProgrammingAndroid2Examples
This repo contains example code for O'Reilly's "Programming Android" by Zigured Mednieks, Laird Dornin, Blake Meike and Masumi Nakamura -
LearningAndroidYamba
This is the code that goes along with Learning Android book. -
u2020-mvp
[DEPRECATED] Port of Jake Wharton's U2020 sample app with use of MVP and Dagger 2 -
ViewPagerHeaderScrollDemo
ViewPagerHeaderScrollDemo -
maven-android-plugin-samples
DEPRECATED! Usage examples for Android Maven Plugin -
googletv-android-samples
Source for many GoogleTV Example applications. -
Material-Animation-Samples
Samples in Material Animation (Deprecated) -
RoboDemo
RoboDemo is a ShowCase library for Android to demonstrate to users how a given Activity works. -
Android-Notification-Example
A simple sample showing the different types of notifications on Andoid -
android_L_preview_example
This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shadows etc... -
ToolbarMenudrawer
TOOLBARMENUDRAWER 2.0: http://goo.gl/J77i3z -
RoomDb-Sample
A simple notes app to demo Room + LiveData implementation in Android -
AndroidTVExplorer
A sample project which can be used as a base in order to develop Media Library applications for Android TV. Follow the series of blogs starting at http://www.malmstein.com/blog/2014/10/21/building-applications-for-android-tv/ in order to keep up to date with the process -
PlayPauseDrawable
This is a sample Play & Pause Drawable with morphing animation for Android -
Curve Bottom Bar
Create curve bottom navigation using this library -
Inshorts
A demo app news app for a hackathon - includes MVP architecture example -
CustomFontView
Custom View classes for TextView, EditText & Buttons - to set custom fonts -
GameOfThronesTrivia
An open source app that is refactored to demo ViewModel and LiveData -
Trailers
An open source app that is refactored to demo MVVM architecture
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of android-basic-samples or a related project?
README
Google Play game services - Android Samples
Copyright (C) 2014 Google Inc.
Contents
These are the Android samples for Google Play game services.
CollectAllTheStars2. Demonstrates how to use the Snapshots feature to save game data. The sample signs the user in, synchronizes their data from a named Snapshot, then updates the UI to reflect the game state saved in the Snapshot.
TypeANumber. Demonstrates how to use leaderboards, achievements, events, and friends. In this exciting game, you type the score you think you deserve. But wait! There is a twist. If you are playing in easy mode, you get the score you requested. However, if you are playing in hard mode, you only get half! (tough game, we know). You can also check how your friends perform in this game by checking out social leaderboards.
How to run a sample
Set up the project in the Developer Console by following these instructions. Note your package name and the application ID of the project!
For the Type a Number sample, you need to create leaderboards/achievements. (You can see the ones that the sample needs in its [res/values/ids.xml](TypeANumber/src/main/res/values/ids.xml) file.) You can create them two ways:
- Add them via the Developer console.
- Use this utility, which will automatically create them for you.
Building using Android Studio...
- Open Android Studio and launch the Android SDK manager from it (Tools | Android | SDK Manager)
- Ensure the following components are installed and updated to the latest version.
- Android SDK Platform-Tools
- Android Support Repository
- Google Repository
- Return to Android Studio and select Open an existing Android Studio project
- Select the android-basic-samples directory.
Modify IDs, compile and run
To set up a sample:
- Change the applicationId in the build.gradle file to your own package name (ie - com.example.package.name) (the same one you registered in Developer Console!). You will have to update the build.gradle file for each sample you want to run. There is no need to edit the AndroidManifest.xml file.
- In the Developer console, select a resource type
(Achievements, Events, Leaderboards) and click "Get Resources". Copy the
contents from the console and replace the contents of res/values/ids.xml.
- If you are running Android Studio, check the TODO window to see if there are any remaining tasks.
- Compile and run.
IMPORTANT: make sure to sign your apk with the same certificate as the one whose fingerprint you configured on Developer Console, otherwise you will see errors.
IMPORTANT: if you are testing an unpublished game, make sure that the account you intend to sign in with (the account on the test device) is listed as a tester in the project on your Developer Console setup (check the list in the "Testing" section), otherwise the server will act as though your project did not exist and return errors like 'Failed to sign in. Please check your network connection and try again.'
Building To build the samples after you have applied the changes above, you can use the build/run option in Android Studio, or build directly from the command line if you prefer.
IMPORTANT Ensure you have set the ANDROID_HOME environment variable.
cd /path/to/android-basic-samples
export ANDROID_HOME = /path/to/android/sdk
./gradlew build
Support
First of all, take a look at our troubleshooting guide. Most setup issues can be solved by following this guide.
If your question is not answered by the troubleshooting guide, we encourage you to post your question to stackoverflow.com. Our team answers questions there regularly.
Samples written by Bruno Oliveira with contributions from Wolff.* Feel free to add us to your circles on Google Plus and pester us to fix stuff that's broken or answer a question on stackoverflow :-)
Special Thanks
- To ligi for contributing the initial Gradle build files
- To bechhansen for fixing a bug in GameHelper where the turn-based match was being lost when a non-Games client connected.