Tag: php

  • Android SQLite Transaction Example with INSERT Prepared Statement

    Today I’m going to share an Android SQLite transaction example that I consider as one of the most useful test I made with Android SQLite. I’m really excited to share this since it helped me a lot and maybe it can help some more people as well. This post will cover the following contents: 1.0 […]

  • Simple Android JSON Parser Example Code with URL and Logcat Output

    Today I’m going to share an Android JSON Parser example code to parse a JSON string from a URL. This code is really useful because nowadays, JSON string is being used by most APIs like Facebook graph API and Google Maps. You should use JSON in your projects instead of XML because it is lightweight, […]

  • How to Send Data From Android to PHP Server? Android Post Request Help

    Hi guys! Today we are going to code on how to send data from Android to PHP server. This is an example app that can post a file and text data to a web server with PHP file as a receiver. Having the ability to (do HTTP Post Request) post data from android app to […]

  • 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, […]

  • Android Bluetooth Printing Example Code with Actual Printer Device

    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 SQLite Database CRUD Tutorial with Example Application

    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:

  • Working with Text Files in Android

    Today we are going to code about a sample app with some operations I usually play with text files in my Android applications. These operations would include creating, reading, updating,and deleting text files. I find these operations really useful when I have to store some data temporarily, creating some log files, or store some actual […]

  • Android Camera Code Tutorial

    Today we are going to do a code that can enable your android application to capture images using the device camera. In this example code, we will have: A “Take Picture” button on our main activity, when the user clicks it, the device camera will be shown that will enable your user the take a […]