Read SMS Messages Programmatically in Android

Vaibhav Ahire
Updated on 08-May-2023 15:36:02

7K+ Views

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

Python Program to Search an Element in an Array

Nikhitha Chowdary Manne
Updated on 08-May-2023 15:33:42

7K+ Views

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

Remove First Element from an Array in Python

Nikhitha Chowdary Manne
Updated on 08-May-2023 15:32:20

2K+ Views

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

FlowLayout in Android

Vaibhav Ahire
Updated on 08-May-2023 15:31:15

745 Views

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

Check Android Phone Orientation: Landscape or Portrait

Vaibhav Ahire
Updated on 08-May-2023 15:27:34

2K+ Views

Introduction Many times while launching a specific screen for an android application, we have to check the orientation of the device whether the device is in portrait mode or a landscape mode. In this article we will take a look at How we can check if the Android phone is in Landscape mode or a portrait mode. Implementation We will be creating a simple application in which we will be displaying two text views. First text view we will be using it to display the heading of our application. In the second text view we will be displaying the ... Read More

Print Boundary Elements of a Matrix in Python

Nikhitha Chowdary Manne
Updated on 08-May-2023 15:26:17

793 Views

Boundary Elements of a Matrix The elements that are not surrounded by any other elements that belong to the same matrix are known as Boundary elements. Using this phenomena, we can build a program. Let us consider an Input output scenario and then construct a program. Input Output Scenario Consider a matrix ( square matrix ) The Boundary elements are the elements except the middle elements of the matrix. The middle element(s) of the matrix is 5 and there are no other middle elements except 5. So, the Boundary elements are 9, 8, 7, 6, ... Read More

FrameLayout vs AbsoluteLayout in Android

Vaibhav Ahire
Updated on 08-May-2023 15:23:21

771 Views

Introduction Frame Layout and Absolute Layout are two different layouts used for developing an Android application. Frame layout is simply used to display a single child view in a stacked layout, where UI elements are placed on top of each other in a stacked manner. It is similar to that of Relative Layout which is used to display multiple UI Elements. Whereas Absolute Layout is used to specify the exact location of elements on the screen. Absolute Layout is less flexible to maintain different screen sizes. What is Frame Layout in Android? Frame Layout is a View Group class which ... Read More

Best Enterprise Project Portfolio Management Software in 2023

Gargi Tomar
Updated on 08-May-2023 15:15:26

217 Views

An enterprise project management platform must have a high-level view to allow project managers to track projects across various departments. Having the necessary coordination across different units is very important to ensure that the organization's goals are achieved. If you are new to project management, you will most likely need to identify the dependencies between your various projects. For instance, a sales project might contribute 10% toward a marketing initiative's goal of increasing customer acquisition. Having the right information and documented processes will help you get the most out of your work. A good project management system should also ... Read More

Benefits of Project Management

Gargi Tomar
Updated on 08-May-2023 15:12:57

2K+ Views

Even if you work for a large organization or are part of a startup, you may not have a formal project management system in place. It may be hard to keep track of all of your projects and collaborate with your team members, especially if you are not an organized person. According to Asana, a project management system can help teams complete their work more efficiently. It can be very useful for every company and team to have the necessary skills to plan and manage their projects. Although you may not need a full project management system, some of ... Read More

Difference Between getContext, getApplicationContext, getBaseContext, and this in Android

Vaibhav Ahire
Updated on 08-May-2023 15:10:20

3K+ Views

What is Context in Android? A Context gives us information about the current state of an application. It allows us to interact with Android Components. It allows us to access files and other resources such as pictures, Activities, Fragments and Services. In Android getContext(), getApplicationContext(), getBaseContext(), this are the methods to retrieve different types of Context objects. The Context Class provides access to several resources and services that are needed to build an Android application including − Resources − The resources such as layouts, images and strings which are stored in resource objects are accessed through the Context. System ... Read More

Advertisements