• Stars
    star
    1,732
  • Rank 26,907 (Top 0.6 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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. ActivityLifecycle
  2. AnimatedGradientBackground
  3. AudioRecording
  4. AutoCompleteTextview
  5. AutoInitLibrary
  6. BasicMVP
  7. BoundServices
  8. BottomSheet
  9. BottomNavigationView
  10. BroadcastReceiver
  11. BuilderPattern
  12. BuildVariants
  13. CallsAndSMS
  14. CameraX
  15. ChangeThemeDuringRuntime
  16. CheckIfPhoneOrTablet
  17. CheckIfScreenLocked
  18. ChromeCustomTabs
  19. CircularImage
  20. CleanProject
  21. CollapsibleToolbar
  22. ColoredConsoleLogs
  23. CommonConfigForModules
  24. CompileOnly
  25. ComposeTheme
  26. CustomBroadcastPermissions
  27. CustomOnboardingIntro
  28. CustomView
  29. DataBinding
  30. DebuggingWebViews
  31. DepsManagementViaBuildSrc
  32. Encryption
  33. ExtractingColorFromBitmap
  34. FingerprintAPI
  35. Firebase
  36. FirebaseCloudMessaging
  37. GCMNetworkManager
  38. GPSLocation
  39. GestureDetection
  40. GitVersioning
  41. GridView
  42. HeadlessFragment
  43. ImplementingEmoticons
  44. IntentService
  45. Intents
  46. InterProcessService
  47. JNI
  48. JUnitTests
  49. LifeCycleCompForLib
  50. ListView
  51. ListViewWithCustomAdapter
  52. LoadHtmlIntoWebview
  53. LocalBroadcastManager
  54. MobileVisionAPI2ReadBarCodes
  55. ModulesUnderSubdirectory
  56. NavigationDrawer
  57. NestedModules
  58. Notification
  59. OSSLicenseActivity
  60. ParallaxHeaderListview
  61. PopupMenu
  62. ProductFlavors
  63. QuickSettingsTile
  64. RadioButton
  65. RatingBar
  66. ReadJSONFile
  67. RecyclerView
  68. RuntimePermissions
  69. SQLite
  70. SearchView
  71. SearchViewInToolbar
  72. Service
  73. SharedElementTransitions
  74. SimulateClick
  75. SnackBar
  76. SnapHelper
  77. SpeechRecognition
  78. SplashScreen
  79. SplitSigninConfig
  80. TabLayout
  81. TextToSpeech
  82. TranslucentStatusBar
  83. UnitTestingWithRoboelectric
  84. UsingAppintro
  85. UsingArcMenu
  86. UsingBottomNavigationBar
  87. UsingDBFlow
  88. UsingDagger2
  89. UsingFragmentsForResponsiveLayout
  90. UsingFirebaseJobDispatcher
  91. UsingFontAwesomeLib
  92. UsingKotlin
  93. UsingLitho
  94. UsingMPChartsLib
  95. UsingOpenNLP
  96. UsingParceler
  97. UsingParcelize
  98. UsingPocketSphinxForVoiceRecognition
  99. UsingRetrofit2
  100. UsingRobolectric
  101. UsingRoomORM
  102. UsingRxJava
  103. UsingRxJava2
  104. UsingStetho
  105. UsingTimberLogger
  106. UsingAltBeaconLib
  107. VectorDrawables
  108. ViewPager
  109. WebViewDialogueBox

Example apps from my android libraries

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

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:

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

More Repositories

1

flutter-examples

[Examples] Simple basic isolated apps, for budding flutter devs.
Dart
6,550
star
2

android-tips-tricks

☑️ [Cheatsheet] Tips and tricks for Android Development
Java
4,680
star
3

app-privacy-policy-generator

A simple web app to generate a generic privacy policy for your Android/iOS apps
Sass
3,415
star
4

sensey

⚡ [Android Library] Play with sensor events & detect gestures in a breeze.
Java
2,676
star
5

easydeviceinfo

📱 [Android Library] Get device information in a super easy way.
Java
1,736
star
6

recyclerviewhelper

📃 [Android Library] Giving powers to RecyclerView
Java
639
star
7

qreader

🔳 [Android Library] Read QR codes using google's mobile vision api, but without the hassle
Java
368
star
8

screenshott

[Android Library] Take a screenshot of your view layout , programmatically!
Java
325
star
9

android-utils

[Android Library] Facilitating some very common functionalities in the form of utility classes for Android
Java
142
star
10

packagehunter

📥 [Android Library] Hunt down all package information
Java
140
star
11

twitterbot-nodejs

[Bot] A twitter bot made using nodejs which can post tweets, retweet other tweets and possibly fav tweets
JavaScript
139
star
12

validatetor

Android library for fast and simple string validation
Java
139
star
13

zentone

🔉 [Android Library] Easily generate audio tone of a specific frequency and volume in Android.
Kotlin
109
star
14

javadoc-themer

[Javadoc Tool] Give your boooring javadocs a splash of colors!
HTML
83
star
15

lantern

[Android Library] Handling device flash as torch for Android.
Java
82
star
16

FirebaseExample

🔥 Simplistic example app demonstrating using latest Firebase features. Checkout branches for each feature.
Java
60
star
17

UploadToBintray

[Example] Awesome library built to demonstrate the process of publishing android libraries via JCenter/Bintray
Java
53
star
18

java-interview-questions

Byte sized java tech interview coding questions
Java
43
star
19

nisrulz.github.io

Everything about Nishant Srivastava/nisrulz (online alias)
CSS
43
star
20

UploadToJitpack

[Example] Base repository to demonstrate the process of uploading an aar/jar to JitPack
Kotlin
39
star
21

OptimusHTTP

📡 [Android Library] Simplified async networking in android
Java
35
star
22

terminal-utils

[Utils] A growing list of useful terminal utility/commands and bash scripts to automate your life!
Shell
33
star
23

twitterbot-java

[Bot] Twitter bot to automate few tasks on twitter.
Java
16
star
24

ShoutOut

[Android Library] Log information in android
Kotlin
15
star
25

SelfieApp

A simple app to demonstrate building applications in android. The app lets you take selfies and show it as list inside the app.
Java
14
star
26

EvTrack

[Android Library] Make event and exception tracking like a piece of cake
Java
13
star
27

LearnKotlin

[Example] Learning Kotlin programming in Android
Kotlin
12
star
28

AndroidAutomations

An android example app to demonstrate various automations possible.
Kotlin
10
star
29

convert-md-to-pdf

Convert Markdown to PDF
JavaScript
10
star
30

puppeteer-examples

[Examples] Simple basic isolated node scripts for doing stuff with puppeteer
JavaScript
8
star
31

android-lib-init-examples

[Examples] Simple basic isolated android examples to showcase various library initialization mechanisms
Kotlin
8
star
32

SupportCamera

[Android Library] Support library to handle camera api on all android versions
Java
7
star
33

UploadToMavenCentral

[Example] Base repository to demonstrate the process of uploading an aar/jar to maven central.
Kotlin
7
star
34

nisrulz

Github Frontpage
5
star
35

ortwin-slack-bot

🛎 Your point friend in the slack workspace
JavaScript
5
star
36

Parallax-One-Pager-Template

[Template] A simple one pager parallax scrolling template
HTML
5
star
37

angular-seed

[Template] A simple angular-based seed website
CSS
4
star
38

gradle-playground

Sample project for raywenderlich.com tutorial
Kotlin
4
star
39

JetSetCompose

Example app for Jet Set Compose talk
Kotlin
4
star
40

kmp-examples

Main repository containing all the example apps demonstrating features/functionality/integrations using Kotlin MultiPlatform development.
Kotlin
4
star
41

nisrulz-android-settings

[Config] Android Studio settings and code styles used by me
3
star
42

mavenrepo

[Example] Github-Based Maven Repository
3
star
43

LearnRetrofit

[Example] Learning how to use retrofit android library
Java
3
star
44

release-automation-playstore

An automated workflow to update Playstore metadata for an android application.
Ruby
3
star
45

CoroutineRecipes

Executable example code from my talk "Cooking with Coroutines Recipes"
Kotlin
3
star
46

bygone-projects

This repository contains projects that I had worked upon in my past, possibly when I was at school (pre-college).
C++
2
star
47

advent-of-code-2021

Repository with solutions for Advent Of Code 2021 puzzles.
2
star
48

android-dev-wrapped-generator

A simple web app to generate your own Android Dev Wrapped!
HTML
2
star
49

.github

Default community health files
1
star
50

gcm-nodejs-server

[NodeJS] NodeJS GCM Server
JavaScript
1
star
51

KotlinCompileFromCmdLine

This is a repository to compile a pure kotlin project without a build system such as Gradle.
Kotlin
1
star
52

release-automation-apple-connect

An automated workflow to update Apple Appstore metadata for an iOS application.
Ruby
1
star