:shipit: [Examples] Simple basic isolated apps, for budding android devs.
Java
1,739
855 commits
updated Oct 12, 2023

Main repository containing all the example apps demonstrating features/functionality/integrations in android application development
NOTE: If you are going to download just a single example app (using the download link), make sure you follow the below procedure
- Create a folder
android-examples- Next download and add the
dependencies.gradleto thisandroid-examplesfolder- Now move the example app folder inside the
android-examplesfolderThe reason this is required because each single app uses
extvariables defined and referenced fromdependencies.gradlefile from the parent folder namelyandroid-examples.
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
Match coding style (braces, spacing, etc.) This is best achieved using Reformat Code feature of Android Studio CMD+Option+L on Mac and CTRL + ALT + L on Linux + Windows .
If its a feature, bugfix, or anything please only change code to what you specify.
Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.
Check for existing issues first, before filing an issue.
Make sure you follow the set standard as all other projects in this repo do
Upgrade your gradle wrapper to the one all other apps are using. Use the below command at root of your project
./gradlew wrapper --gradle-version <version_name>
i.e ./gradlew wrapper --gradle-version 6.0.1
Use ext variables as defined in dependencies.gradle, in your build.gradle files to make sure all apps are in sync with configurations and dependencies. Take a look here and here
Use the package name of the format github.nisrulz.* where * is the example you are adding to the repo. I am trying to follow a set standard in the repo, please adhere to that.
Have fun!
NOTE: There is a quick bootstrapping cookiecutter template to create an Android example project that adheres to all wiring up and standards for this repo. Read how to use use it from links below:
Since the repo is pretty large now , I am sure many folks would like to download only some of the projects. To tackle that follow the steps below:
Install svn using homebrew (mac/linux)
brew install svn
Copy the name of the example folder in this repo i.e AccessingGoogleDrive
Next replace example_folder in the below command:
svn checkout https://github.com/nisrulz/android-examples/trunk/example_folder
i.e Consider AccessingGoogleDrive is the name of the example's folder, the command becomes:
svn checkout https://github.com/nisrulz/android-examples/trunk/AccessingGoogleDrive
Done! You should have the specific example all checked out!
This project was created by Nishant Srivastava but hopefully developed and maintained by many others. See the the list of contributors here.
If you appreciate my work, consider buying me a cup of ☕ to keep me recharged 🤘 [PayPal]
89 followers · starred Nov 2019
747 followers · starred Nov 2016
41 followers · starred Feb 2022
74 followers · starred Feb 2018
:shipit: [Examples] Simple basic isolated apps, for budding android devs.
Java
1,739
855 commits
updated Oct 12, 2023

Main repository containing all the example apps demonstrating features/functionality/integrations in android application development
NOTE: If you are going to download just a single example app (using the download link), make sure you follow the below procedure
- Create a folder
android-examples- Next download and add the
dependencies.gradleto thisandroid-examplesfolder- Now move the example app folder inside the
android-examplesfolderThe reason this is required because each single app uses
extvariables defined and referenced fromdependencies.gradlefile from the parent folder namelyandroid-examples.
I welcome and encourage all pull requests. It usually will take me within 24-48 hours to respond to any issue or request. Here are some basic rules to follow to ensure timely addition of your request:
Match coding style (braces, spacing, etc.) This is best achieved using Reformat Code feature of Android Studio CMD+Option+L on Mac and CTRL + ALT + L on Linux + Windows .
If its a feature, bugfix, or anything please only change code to what you specify.
Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)
Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.
Check for existing issues first, before filing an issue.
Make sure you follow the set standard as all other projects in this repo do
Upgrade your gradle wrapper to the one all other apps are using. Use the below command at root of your project
./gradlew wrapper --gradle-version <version_name>
i.e ./gradlew wrapper --gradle-version 6.0.1
Use ext variables as defined in dependencies.gradle, in your build.gradle files to make sure all apps are in sync with configurations and dependencies. Take a look here and here
Use the package name of the format github.nisrulz.* where * is the example you are adding to the repo. I am trying to follow a set standard in the repo, please adhere to that.
Have fun!
NOTE: There is a quick bootstrapping cookiecutter template to create an Android example project that adheres to all wiring up and standards for this repo. Read how to use use it from links below:
Since the repo is pretty large now , I am sure many folks would like to download only some of the projects. To tackle that follow the steps below:
Install svn using homebrew (mac/linux)
brew install svn
Copy the name of the example folder in this repo i.e AccessingGoogleDrive
Next replace example_folder in the below command:
svn checkout https://github.com/nisrulz/android-examples/trunk/example_folder
i.e Consider AccessingGoogleDrive is the name of the example's folder, the command becomes:
svn checkout https://github.com/nisrulz/android-examples/trunk/AccessingGoogleDrive
Done! You should have the specific example all checked out!
This project was created by Nishant Srivastava but hopefully developed and maintained by many others. See the the list of contributors here.
If you appreciate my work, consider buying me a cup of ☕ to keep me recharged 🤘 [PayPal]
89 followers · starred Nov 2019
747 followers · starred Nov 2016
41 followers · starred Feb 2022
74 followers · starred Feb 2018