GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - nisrulz/android-examples: :shipit: [Examples] Simple basic isolated apps, for budding android devs.

BranchesTags
Open more actions menu

Latest commit

 

History

856 Commits
856 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
AccessingGoogleDrive
AccessingGoogleDrive
 
 
ActivityLifecycle
ActivityLifecycle
 
 
AnimatedGradientBackground
AnimatedGradientBackground
 
 
AppShortcuts
AppShortcuts
 
 
AudioRecording
AudioRecording
 
 
AutoCompleteTextview
AutoCompleteTextview
 
 
AutoInitLibrary
AutoInitLibrary
 
 
BasicMVP
BasicMVP
 
 
BottomNavigationView
BottomNavigationView
 
 
BottomSheet
BottomSheet
 
 
BoundServices
BoundServices
 
 
BroadcastReceiver
BroadcastReceiver
 
 
BuildVariants
BuildVariants
 
 
BuilderPattern
BuilderPattern
 
 
CallsAndSMS
CallsAndSMS
 
 
CameraX
CameraX
 
 
ChangeThemeDuringRuntime
ChangeThemeDuringRuntime
 
 
CheckIfPhoneOrTablet
CheckIfPhoneOrTablet
 
 
CheckIfScreenLocked
CheckIfScreenLocked
 
 
ChromeCustomTabs
ChromeCustomTabs
 
 
CircularImage
CircularImage
 
 
CleanProject
CleanProject
 
 
CollapsibleToolbar
CollapsibleToolbar
 
 
ColoredConsoleLogs
ColoredConsoleLogs
 
 
CommonConfigForModules
CommonConfigForModules
 
 
CompileOnly
CompileOnly
 
 
ComposeTheme
ComposeTheme
 
 
CustomBroadcastPermissions
CustomBroadcastPermissions
 
 
CustomOnboardingIntro
CustomOnboardingIntro
 
 
CustomView
CustomView
 
 
DataBinding
DataBinding
 
 
DebuggingWebViews
DebuggingWebViews
 
 
DepsManagementViaBuildSrc
DepsManagementViaBuildSrc
 
 
Encryption
Encryption
 
 
ExtractingColorFromBitmap
ExtractingColorFromBitmap
 
 
FingerprintAPI
FingerprintAPI
 
 
Firebase
Firebase
 
 
FirebaseCloudMessaging
FirebaseCloudMessaging
 
 
GCMNetworkManager
GCMNetworkManager
 
 
GPSLocation
GPSLocation
 
 
GestureDetection
GestureDetection
 
 
GitVersioning
GitVersioning
 
 
GridView
GridView
 
 
HandlingBluetooth
HandlingBluetooth
 
 
HeadlessFragment
HeadlessFragment
 
 
ImplementingEmoticons
ImplementingEmoticons
 
 
IntentService
IntentService
 
 
Intents
Intents
 
 
InterProcessService
InterProcessService
 
 
JNI
JNI
 
 
JUnitTests
JUnitTests
 
 
LifeCycleCompForLib
LifeCycleCompForLib
 
 
ListView
ListView
 
 
ListViewWithCustomAdapter
ListViewWithCustomAdapter
 
 
LoadHtmlIntoWebview
LoadHtmlIntoWebview
 
 
LocalBroadcastManager
LocalBroadcastManager
 
 
MobileVisionAPI2ReadBarCodes
MobileVisionAPI2ReadBarCodes
 
 
ModulesUnderSubdirectory
ModulesUnderSubdirectory
 
 
NavigationDrawer
NavigationDrawer
 
 
NestingModules
NestingModules
 
 
Notification
Notification
 
 
OSSLicenseActivity
OSSLicenseActivity
 
 
ParallaxHeaderListview
ParallaxHeaderListview
 
 
PopupMenu
PopupMenu
 
 
ProductFlavors
ProductFlavors
 
 
QuickSettingsTile
QuickSettingsTile
 
 
RadioButton
RadioButton
 
 
RatingBar
RatingBar
 
 
ReadJSONFile
ReadJSONFile
 
 
RecyclerView
RecyclerView
 
 
RuntimePermissions
RuntimePermissions
 
 
SQLite
SQLite
 
 
SearchView
SearchView
 
 
SearchViewInToolbar
SearchViewInToolbar
 
 
Service
Service
 
 
SharedElementTransitions
SharedElementTransitions
 
 
SimulateClick
SimulateClick
 
 
SnackBar
SnackBar
 
 
SnapHelper
SnapHelper
 
 
SpeechRecognition
SpeechRecognition
 
 
SplashScreen
SplashScreen
 
 
SplitSigninConfig
SplitSigninConfig
 
 
TabLayout
TabLayout
 
 
TextToSpeech
TextToSpeech
 
 
TranslucentStatusBar
TranslucentStatusBar
 
 
UnitTestingWithRoboelectric
UnitTestingWithRoboelectric
 
 
UsingAltBeaconLib
UsingAltBeaconLib
 
 
UsingAndroidArchComponents
UsingAndroidArchComponents
 
 
UsingAppintro
UsingAppintro
 
 
UsingArcMenu
UsingArcMenu
 
 
UsingAsan
UsingAsan
 
 
UsingBottomNavigationBar
UsingBottomNavigationBar
 
 
UsingDBFlow
UsingDBFlow
 
 
UsingDagger2
UsingDagger2
 
 
UsingFirebaseJobDispatcher
UsingFirebaseJobDispatcher
 
 
UsingFontAwesomeLib
UsingFontAwesomeLib
 
 
UsingFragmentsForResponsiveLayout
UsingFragmentsForResponsiveLayout
 
 
UsingKotlin
UsingKotlin
 
 
UsingLitho
UsingLitho
 
 

Repository files navigation

Android Examples

Image

Featured in

AndroidDev Digest

Show some ❤️ and star the repo to support the project

GitHub stars GitHub forks GitHub watchers GitHub followers
Twitter Follow

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

  1. Create a folder android-examples
  2. Next download and add the dependencies.gradle to this android-examples folder
  3. Now move the example app folder inside the android-examples folder

The reason this is required because each single app uses ext variables defined and referenced from dependencies.gradle file from the parent folder namely android-examples.

Example apps

  1. Custom Drawer
  2. DropDown Button
  3. Enable Splash Screen
  4. Firebase Analytics Integration
  5. Firebase Crashlytics Integration
  6. Google Signin
  7. Grid Layout
  8. Image Editor
  9. Image from Network
  10. Infinite List
  11. Load local image
  12. Load local json
  13. Navigation Drawer
  14. Persist Key Value
  15. Push Notifications
  16. Simple Material App
  17. Sliver App Bar
  18. Stateful Widget
  19. Stateless counter app
  20. Stateless Widgets
  21. Todo list using Provider
  22. Unit Testing
  23. Using Alert Dialog
  24. Using Bottom Navigation Bar
  25. Using Bottom Sheet
  26. Using Custom Fonts
  27. Using EditText
  28. Using Gradient
  29. Using HTTP GET
  30. Using InteractiveViewer
  31. Using Listview
  32. Using ListwheelScrollView
  33. Using SnackBar
  34. Using Stepper
  35. Using Tabs
  36. Using Theme
  37. View PDF File

Example apps from my android libraries

  1. UsingAndroidUtils
  2. UsingEasyDeviceInfo
  3. UsingOptimusHTTP
  4. UsingPackageHunter
  5. UsingQREader
  6. UsingRecyclerViewHelper
  7. UsingScreenshott
  8. UsingSensey
  9. UsingShoutout
  10. UsingStackedHorizontalProgressbar
  11. UsingZentone

Pull Requests

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:

  1. 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 .

  2. If its a feature, bugfix, or anything please only change code to what you specify.

  3. Please keep PR titles easy to read and descriptive of changes, this will make them easier to merge :)

  4. Pull requests must be made against develop branch. Any other branch (unless specified by the maintainers) will get rejected.

  5. Check for existing issues first, before filing an issue.

  6. 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.

  7. 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:

  • Standard Example
  • Compose Example

Extra

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!

Author & support

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]

License

Apache Version 2.0 | Copyright 2016 Nishant Srivastava

About

:shipit: [Examples] Simple basic isolated apps, for budding android devs.

Topics

androidandroid-studioappsbasicexamples

Resources

Readme
License
Activity

Stars

1.7k stars

Watchers

91 watching

Forks

644 forks
Report repository

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.