To use the Google Maps Android API, you must register your app project on the Google API Console and get a Google API key which you can add to your app. There are various types of API keys, but in this tutorial were concerned with getting an Android key not a browser key. Your API […]
Create a Google Maps project in Android studio following these steps; Start Android Studio. Create a new project as follows: If you see the Welcome to Android Studio dialog, choose Start a new Android Studio project, available under ‘Quick Start’ on the right of the dialog. Otherwise, click File in the Android Studio menu bar, […]
Very often you will wonder how other Android applications are able to show a Context Menu when you long press on a ListView item. In this tutorial am going to demonstrate exactly how to do so. Let’s start by creating the ListView.
This is part II of using SQLite in Android tutorials if you haven’t read the first tutorial, please consider doing so. In this part, were going to use the SQLite utility classes Contact and ContactHelper that we create previously to create a phone book application were the user can add contacts to the phone book, […]
Our Schema One of the main principles of SQL databases is the schema: a formal declaration of how the database is organized. The schema is reflected in the SQL statements that you use to create your database. Below is the sample schema for the sqlite database that we will be using in this tutorial.
Is your app heavily dependent on geodata, for example if your app is tracking user locations, suggesting best routes to users for say driving jogging, or even if you app just keep track of locations of assets that you late use, it needs to get the location of the device at regular intervals. You’re able […]