Posts

Showing posts with the label apps

Android Login and Registration with PHP, MySQL and SQLite

Image
In my previous article Android Login and Registration Screen Design i explained designing the login and registration interfaces, but it has no functionality. In this tutorial i am explaining how to build complete login and registration system in android using PHP, MySQL and SQLite. Also this tutorial covers how to build simple API using PHP and MySQL. Prerequisites This tutorial is combination of some of my previous tutorials. I hope you covered these tutorials before. Android making HTTP Requests Android JSON Parsing Tutorial Android SQLite Database Tutorial Android Login and Registration Screen Design API (Application Programming Interface) ⇒ Accepting requests by GET/POST methods ⇒ Interact with PHP classes to get data from database or store in database ⇒ Finally will give output in JSON format 1. Creating MySQL Database and Tables As I am writing API in PHP I selected MySql database to maintain users and other related information. Open your mysql console or phpmyad...

Create a Hangman Game: Project Setup

Image
In this series, I will show you how to create a simple Hangman game for Android. In every tutorial, you'll learn a number of fundamental skills for creating Android applications. The application will consist of two screens, include user interaction involving adapters, contain dialogs and an action bar, and leverage XML for data storage. Let's get started. Introduction If you're a beginning Android developer with one or two basic applications under your belt, then you should be able to complete these tutorials without much difficulty. The game will have a simple, basic structure so that you can add your own enhancements to it when you've completed the tutorials. Throughout this series, I will point out optional steps you can include to add additional functionality and to improve support for a wider range of Android devices. The user interface, for example, will be simple, but I encourage you to give it more love to make the game more appealing. The following screenshot s...

Integrating Google Play Services on Android

Image
By integrating your Android apps with the Google Play Services, you can access Google services, such as Maps, Drive, and Google+. Once you have your apps set up to use these services, accessing them is typically straightforward. The setup process does require a few steps, but you only need to carry them out once. In this tutorial we will go through the process of integrating Google Play Services with Android apps. Introduction Throughout the tutorial, we will outline what you need to do to integrate apps with Play Services in both Eclipse and Android Studio. You will need access to the Google Developer Console and to the Keytool utility. Once you are set up with Play Services, the development process itself will be determined by what you want your apps to do. The the setup procedure, however, remains the same. By using the client library to access platform services, your apps will benefit from automatic updates through the Play Store. 1. Install Play Services in your IDE Step 1 Open yo...