Introduction to SaaS Development Software as a Service, commonly known as SaaS, has revolutionized how businesses utilize software. This business…
Privacy Week for Android Developers
Android is secure by default and private by design. The platform is focused on bringing the best experiences and latest…
How to Launch an Activity in Android
For launching an activity, we need to create an explicit intent that defines the activity that we wish to start.…
How to add zoom controls to Android MapView
The following code snippet shows how to add zoom controls to Android MapView. We can achieve this by calling setBuiltInZoomControls(boolean) method. MapView…
How to access accelerometer in Android
The following code snippet will help you with the basic understanding of how to set up the Android accelerometer and…
How to create a background service in Android
To create a background service, first you need to add the service into your manifest file. Then, create a class…
How to Get Device Information in Android
The following code snippet will get the device detailed information in Android. public class DashboardActivity extends Activity { @Override protected…
Linear / Sequential Search Example in Java
Quick Java code snippet to show Linear / Sequential Search. import java.util.Scanner; public class LinearSearchExample { public static void main(String…
How to change upper case string to lower case in Java
Quick Java code snippet to change case of a String in Java. It uses toUpperCase() and toLowerCase() methods present in java.lang.String class to convert…