Posts

Showing posts from November, 2017

Android Singleton class to make it use of globally in application

In every Android app it's very common to to use to common methods like to show toast, loading dialog, show alert, get date and time etc.. Here I mentioned some of the methods which are commonly used: Showing toast Showing loading dialog Hiding loading dialog  Showing Alert Dialog Showing Snackbar Listen network connectivity Save image in device Get current date time To check app having required permissions or not etc.. In your AppApplication class means which extends the class Application you can put the follwing code to make use it globally in application. Here every method has `public` and `static` access modifiers so we can use them directly with class name without creating instance for the class AppApplication by passing context and required parameters. Example to show toast message in your Activity like: AppApplication.showToast(this, "Welcome to Android Tips", 0); here 0 --> means Length short and 1 --> means Length long, also you ca

Required things to release android app in Google play store

These are the minimum required things to release the app in the play store. Following things, we can ask the client to release an app in the Google Play Store. Initially, we need Google Play account to release our app in the play store. For this, we need to pay 25$ (One-time purchase) to register to get the play store account. Once we register we are ready to release ‘n’ number of apps in the Google play store. Refer to this link  to how to register.   SN Title Is Required Length 1 Title Mandatory 50 characters 2 Short Description Mandatory 80 characters 3 Full Description Mandatory 4000 characters 4 App logo Mandatory 512 w x 512 h up to 1 MB 5 Feature Graphic image Mandatory 1024 w X 500 h up to 1 MB 6 Scre