Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Android Articles
Page 9 of 125
Changing API version in Android Studio
Introduction First of all before changing an API (Application Programming Interface) Version we have to know what Android API is and what is its use. An Android API in an Application Program Interface which allows us to add specific functionality to our Android application. In simple language Android API are the set of tools used for developing Android Application. The API version is used by developers to ensure their applications are compatible with the current version of the Android operating system. It is also used by Android phones to determine which applications are compatible with their device. The API version ...
Read MoreAndroid Runtime Permissions
Introduction In many android applications nowadays we can get to see the application asks for permission to use a specific feature during runtime. For example the application which uses a device camera asks for camera permission during the runtime of the application, from that user can provide or reject the permission. In this article we will take a look on How to add Runtime permissions within our android application. Implementation We will be creating a simple application in which we will be creating a text view for displaying the heading of our application. After that we are creating a button ...
Read MoreAndroid Studio – A Powerful IDE for Building Apps for All Android Devices
Android Studio is an Integrated Development Environment (IDE) developed by Google for building applications for all Android devices. It is a powerful tool that provides a comprehensive environment for creating and testing Android apps, with features such as code highlighting, debugging, and testing. In this article, we will explore various features of Android Studio that make it an indispensable tool for building Android apps. We will also discuss how Android Studio can be used to create apps for different Android devices, such as smartphones, tablets, wearables, and even TV. Getting Started with Android Studio Before we dive into features of ...
Read MoreDifference between Linux and Android
Linux is used in servers and desktops, while Android is used mostly in touchscreen devices such as mobiles, tablets etc., Android is also used in watches, TV, Cameras, etc.; while Linux is used in almost all electronic devices. Android is actually a framework which is developed on the top of a Linux Kernel. A kernel is something which acts as an intermediate between user and system hardware. So, Linux kernel is used in all Android devices but Android is not used in all Linux devices. Linux kernel is used as foundation by all Android devices. What is Linux? Linux is ...
Read MoreWhat Basic Understanding of Java is Required for Android Programming?
With billions of devices running on it worldwide, Android is among the most popular mobile operating systems. You'll need to have a firm grasp of the Java programming language if you're interested in creating mobile apps for Android. We'll examine the fundamental Java ideas required for Android programming in this article. Understanding the Java Language Android apps are created using Java, a high-level programming language, which is used to create a variety of applications. Being an object-oriented language, it groups data into objects with attributes like properties and methods. Java is also platform-independent, thus programmes written in it can ...
Read MoreHow to handle TransactionTooLargeException in Android?
Introduction Handling a TransactionTooLargeException in Android is a common issue that most developers have encountered. The exception usually occurs when an app is trying to send or receive a large chunk of data, which exceeds the maximum size limit of the Android operating system. If the size of the data exceeds 1MB, the TransactionTooLargeException will be thrown and the app will crash. In this article, we will discuss how to handle the TransactionTooLargeException in Android. We will discuss some of the best practices that developers should follow to prevent the exception from occurring, as well as how to handle the ...
Read MoreHow to play HTML5 video on fullscreen in android WebView?
Introduction Many android applications use WebView with their applications to display the webpages to the user. This web page many times contains videos embedded within it. Such as many applications that open youtube inside the WebView to be displayed within their application. When the application user opens any video from that web page the full screen option to play the video is disabled. In this article we will take a look on How to enable that full screen inside our WebView so that we can play the HTML 5 video on full screen in WebView inside our android application. Implementation ...
Read MoreWhich one is better in between SQLite and Shared Preferences?
Introduction There are many storage service providers in android applications which we can use to store data within our android application. We can store data in our android application in different ways such as by using SQLite database, Room Database, Shared Preferences and many more. Each of them has their own advantages and disadvantages. Room database and Sqlite database are similar which are used to store the data in the form of tables whereas shared preference is used to store the data in the form of key and value pairs. In this article we will be mostly focusing on SQLite ...
Read MoreWhat is the difference between match_parent and fill_parent in Android ?
Introduction An android application consists of different types of views within it such as image view, text view, buttons and many others. For this different type of view we have to specify the size of that view to be displayed on the screen. We can provide a custom size for that view to take a specific height as well as width. But if we want to provide size to these views so that they can be changed for different screen sizes can be easily handled. We can provide width and height for these views as match_parent or fill_parent. Adding ...
Read MoreDifference between add(),replace() and addToBackStack() in Android
Introduction Android is an open-source, user-friendly mobile operating system used by millions of people around the world. It is the most popular mobile operating system, and its popularity is only growing. Android offers a wide range of features and functions, and its developers have made sure that users can customize their devices to suit their needs. One of the most useful features of Android is the ability to add, replace, and addToBackStack() in Android. These functions allow users to easily manage their apps, activities, and fragments. With the help of these methods we can add a new fragment in our ...
Read More