-
Show ListView as Dropdown in Android – a Spinner Alternative
Our code for today will give us an alternative to using the Android spinner. We will show ListView as dropdown in Android. This ListView dropdown works just like a spinner but: I love how it looks and response to user touch, it feels smoother and faster than a spinner. It can also be easily customized, […]
-
Copy or Move File From One Directory to Another on Android
Today we are going to take a look at how to programmatically “copy” or “move” a file from one directory to another on Android. In case you want to be clarified about the difference, copying a file means the file will be seen on another directory (target location) without deleting the original file from the […]
-
Android Bluetooth Printing Example Code with Actual Printer Device
Recently, I was asked to make a program for printing some data to a small or handheld Bluetooth printer device. This can be used for printing receipts, simple tickets, or customer notes. I like how it works because usually, we are getting our program output on a computer screen. But this time we are getting […]
-
Android XML Parser Example with XML from SD Card, URL or Assets
XML parsing could be one of the most basic requirement on your Android application. In today’s tutorial, we are going to read XML files using three input sources. There can be three sources of your XML: 1. XML from device SD Card. Your dynamic XML file could be downloaded first for offline use. 2. XML […]
-
Android SQLite Database CRUD Tutorial with Example Application
This is a step by step android CRUD tutorial where we’ll create an Android application that demonstrates Android’s SQLite database capabilities. Operations such as create, read, update and delete (CRUD) in Android is an essential skill every aspiring Android developer must have. In this post, we will cover the following contents: