Hi Friends, In this article I will be talking about how you can implement GCM in Android using FirebaseMessaging Service. Below are the steps you need to follow… Create Project in Android Studio Create a new project in Android Studio. The package name we use here will be used in the Firebase Console. Create Project in Firebase Console… Read More »
Permissions Add these two permissions in the Android Manifest Read SMS from Inbox Reading SMS from inbox is not a big task, but your user needs to allow it if you app is running on Marhmallow or more. if you app is below marshmallow, then you wont need it. But here we will write one code for both… Read More »
What is ButterKnife? Its a kind of view injection in Activities or Fragments using Annotations. Butterknife can be used to 1. Bind Views 2. Bind Clicks 3. Can be used with resources like strings, colors, Dimens, Drawables etc. Below are the annotations available AnnotationDescription @BindView Binds view object. TextView, Button, Spinner or any view object @BindView(R.id.logo) ImageView imgLogo;… Read More »
The click on a button or View is usually called when the user clicks on it. But how can we call it programatically. Here is a simple example yes “performClick()”, this is how to call click programatically.
Here is a simple way to check if your app in running in Foreground or Background
Here are some git commands that you will normally use in a git version controlled project repository. Commit For Commiting all modified files use git commit -am”Message” Status For checking the status of the git repository use git status Log For getting the information about the Git checkins use… git log To Print in a convenient one line… Read More »