Found 2041 Articles for Mobile Development

How to support Arabic text in Android?

Vaibhav Ahire
Updated on 09-May-2023 12:29:34

628 Views

Introduction Android supports a wide range of languages which we can use for the users residing in different part of countries speaking different languages. We can provide multiple language support within our application such as Hindi, English, Urdu, Marath, Arabic and many more.In this article we will take a look on How to support Arabic text in Android. 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 one more text view in which we will be displaying a message as ... Read More

How to sign the Android APK before uploading it at Google Play?

Vaibhav Ahire
Updated on 09-May-2023 12:14:01

189 Views

Introduction While publishing any android application to the Google Play store, it is necessary to sign the android application package (APK) to make our application secure and trustworthy. In this article we will take a look at How to sign the Android APK before uploading it to Google Play Store. Generating the signed APK Create the android studio project for which you have to generate the Android application package (APK) file. Now once your project has been created, we will take a look at How to generate a signed apk for your project. For generating a signed APK navigate to ... Read More

How to send POST requests with JSON data using Volley in Android?

Vaibhav Ahire
Updated on 09-May-2023 12:12:32

3K+ Views

Most of the android applications we see on Google Play store make an API call within themselves so that they can gather data from their database and display that within our application. Similarly many applications take the data from the user through forms and store them within their database. Many applications take user details such as address and other for delivering specific products to their address. For posting this data there are different ways such as using Volley, Retrofit and others. In this article we will take a look on How to send POST requests with JSON data using Volley ... Read More

How to send images via MMS in Android?

Vaibhav Ahire
Updated on 09-May-2023 12:05:52

799 Views

Introduction The multimedia messaging service is a great way to send images and other media files along with text to different contacts over the phone. If you are looking to send images to your contacts then MMS is a great way to send this to your friends and family. In this article we will take a look at How to send images via MMs in ANdroid. 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 will be creating an image view in ... Read More

How to save files on external storage in Android?

Vaibhav Ahire
Updated on 09-May-2023 12:02:05

3K+ Views

Introduction In android devices the most useful feature is to store and read the files within the device storage or an external storage. This allows users to expand their device storage capacity so that they can store and retrieve files according to their convenience and can use them accordingly. In this article we will take a look at How to save files on external storage in Android. 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 will be creating an edit text field ... Read More

How to Read/Write String from a File in Android?

Vaibhav Ahire
Updated on 09-May-2023 11:56:27

1K+ Views

Introduction Many times while building an android application we have to store data in the form of files within our android application. We will read and write string data inside our file. In this article we will take a look on How to Read/Write string from a file in Android Implementation We will be creating a simple application in which we will be firstly writing the data in that file which the user can enter through edit text. After that we will be reading the data stored in that file by clicking a button and displaying that within our text ... Read More

How to programmatically set style attributes in a view on Android?

Vaibhav Ahire
Updated on 09-May-2023 11:45:03

3K+ Views

Introduction Many times we have seen a case while developing an android application that we have set the same style for multiple views across our application. We have seen writing the code to set the style multiple times. To reduce the code duplication and optimization of our code we can create the style for a specific view in our styles.xml file and set that style to our view programmatically. In this article we will take a look on How to programmatically set the style attribute in a view on Android. Implementation We will be creating a simple application in which ... Read More

How to prevent custom views from losing state across screen orientation changes ?

Vaibhav Ahire
Updated on 09-May-2023 10:31:57

281 Views

Introduction Many times in android applications we can get to see when the user changes the screen orientation of the device from portrait to landscape. In that case we can get to see that some of the views within the application loses its state. For example when a user enters any data in a text file and then changes the screen orientation from portrait to landscape, in that case the data which is already entered gets cleared up. To prevent this we have to store the state of that view. In this article we will take a look on How ... Read More

How to parse XML using SAX parser in Android?

Vaibhav Ahire
Updated on 09-May-2023 10:27:49

284 Views

Introduction Android is an open-source operating system which is based on the linux kernel which is developed by Google. There are several ways which we can use to parse the data within our android application such as JSON parsing, xml parsing and many more. For parsing of the XML file SAX parser is used. In this article we will take a look at How to parse XML using SAX parser in Android. 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 ... Read More

How to parse the AndroidManifest.xml file inside an .apk package

Vaibhav Ahire
Updated on 09-May-2023 10:21:49

930 Views

Introduction Android application package also referred as .apk file is generally installed on a mobile device which helps to run the android application on a mobile device. This apk file is a zip file which contains the application code, resources and a manifest file. AndroidManifest.xml file is considered as one of the most important files of any android application package (apk). It contains essential metadata of any application such as application’s name, version, permissions which are provided in the application to be requested for the user to use the application and many more. In this article we will take a ... Read More

Previous 1 ... 4 5 6 7 8 ... 205 Next
Advertisements