If you are looking for ways to market your business online, you will find various marketing tools and channels available. Out of the many that can enable your brand to reach a large target audience, email marketing has emerged as a powerful tool. Why is Email Marketing a Powerful Online Tool? It is not without reason that even in the current times' email marketing is considered effective by experts. Latest studies in the field reveal that as much as 40 % of the main B2B marketers opine that email newsletters are critical for content marketing success. It is also ... Read More
After the declaration of an array, the elements of the array until certain index are rotated such that the first elements until the desired index are placed in the last, next to the last element of the array. Let us discuss this with an Input output scenario. Input Output Scenario Consider an array arr = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ]. We can clearly say that the initial array consists of 10 elements and the index of the last element is 9. Let us assume that the array is rotated by two elements. ... Read More
Introduction Async Task is a class in android which is being used to perform some background long running tasks such as loading the images from the internet in background. If the image is huge in size then we can load that image from the internet as a background task using AsyncTask in Android. In this article we will take a look at How to return a boolean from an Async Task in Android. Implementation We will be creating a simple application in which we will be displaying a text view for heading of the application. Then we are creating one ... Read More
The collection of homogenous elements within a single variable and in the contiguous memory location is known as array. The elements in array can be of any datatype but all the elements that are present in the array should be homogeneous, i.e., should belong to the same datatype. The arrays are a kind of special variables which actually store several values or elements in the name of a single variable with continuous memory locations which are accurately known as “ indices ”. Indices The word indices represents the plural form of index. The word index denotes the position of the ... Read More
Introduction Video Recording is a most common feature which we can currently get to see in many android applications. This feature is mostly seen used in payments applications where the application has to verify the identity of the user for authentication as well as doing their KYC. In this article we will take a look on How to record a video within our android application. We will be building a simple android application in which we will be displaying a button and a video view in which when a user clicks on a button we will record a video and ... Read More
When a two dimensional array or a 2D array is declared, it is treated like a matrix. So, we know that a matrix consists of rows and columns. The process of sorting the elements that belong to a particular column of a matrix either in ascending order or in descending order is known as sorting a 2D array across columns. Let us consider an algorithm followed by an Input output scenario to understand the exact application of this concept. Input Output Scenario Consider a two dimensional array. arr = [[ 7, 9, 5, 7 ], [9, 5, 9, 4], ... Read More
Introduction Many times in android applications we get to see that the app reads sms from the users mobile device and displays that within the application. Such as when we are creating an sms application we display the sms from users mobile device within our application. In this article we will take a look on How can i read sms messages from the device programmatically in Android. Implementation We will be creating a simple application in which we will be creating a text view in which we will be displaying the heading of the application. After that we will be ... Read More
In Python, there are mainly two searching algorithms that are majorly used. Out of those, the first one is Linear Search and the second one is Binary Search. These two techniques are majorly used in order to search an element from the given array or from the given list also. While searching an element, there are two methodologies that can be followed in any kind of algorithm. One of those is recursive approach and the other is iterative approach. Let us discuss both algorithms in both approaches and solve similar problems. Linear Search The Linear Search technique is also known ... Read More
In order to remove the first element of the array, the index that must be considered is 0 as the index of the first element in any array is always 0. As like removing the last element from an array, removing the first element from the array can be processed using the same techniques. Let us apply those techniques in the deletion of first element of the array. We shall discuss the methods and keywords that are used to remove the first element from an array one after another in a row now. Using the pop() Method The method pop() ... Read More
Many times in android applications we have to explain to the user about the step by step guide for performing a certain task within an application such as How to book a service which is being provided within our application. For that we have to display a detailed guide on this in the form of flow layout. In this article we will take a look on How to create something like a Flow Layout in Android. Implementation We will be creating a simple application in which we will be displaying a simple text view. After creating this text view we ... Read More