-
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:
-
Android: Copy Asset To SD Card
Assets folder is where you can store some files for you app. Today I’m going to show you how to copy files from your android app’s asset’s folder to the device SD card. I used this when I have to deploy some default text files for my app and manipulate it at later time. Some […]