Need help with directions? Or want to know where you are? Google Maps is one of the great service that Google provides to the masses free of cost. Using Maps in your android application is easy as long as you know what you are doing. In this tutorial I will demonstrate a simple application which will display your current position in a map and update it every time you move.
Step 1: Get a Google Maps API key
Before doing anything you need to get a MD5 key which will allow you to use the API in your application. To get a key you first need to create a simple certificate fingerprint. For this tutorial I have created a SDK Debug Certificate which has to be used for development. I am using eclipse for developing this application so to create the certificate I first needed to locate my debug.keystore file. I found the location in Eclipse by using Window->Preferences->Android->Build. Once I got the location I ran a simple command on the command prompt:
Web Services and Service Oriented Computing has revolutionized the internet in the past decade. It is quite true that without web services most Apps in the App Store will not be that interesting!!
Mobile devices have a limited processing power so it becomes necessary to let a web server do the heavy lifting when it comes to computation. So in this tutorial I am bringing you a way to use RESTful webservice in your android app and parse the XML response.
The example web service that I am using is here. This web service lets you access current price of Stock based on its trading symbol.
Step 1: Know Thy Web Service
Before calling any web service you must know how to call it and what you will get in response. This web service is a RESTful service so calling it is easy using a GET request.
- GET /stockquote.asmx/GetQuote?symbol=string HTTP/1.1
- Host: www.webservicex.net
SMS - Short Message Service is very effective and quick way of communication. Your app may have a use case wherein it needs to send SMS to someone. So lets see how it can done, it is relative simple as you would see below:
Step 1: Creating the project
This is the simplest step of them all. Just go to your project wizard and create a new project with the following details:
Project name: SendSms2.3
Application name: SendSms2.3
Package name: send.sms
Minimum Required SDK: API 8
Target SDK: API 10
Main Activity: SendSmsActivity
Layout name: main
What was the first thing that you did when you logged on to a Computer the first time? For me, it was Microsoft Paint. As a child who never drew a circular-circle in her entire life, it was exciting to draw perfect circles, rectangles and straight lines. And now when I see kids painting their first painting on an Android app it reminds me of my childhood.
In this post, I am bringing you a simple trivia quiz. The subject of questions is computer science in this app but I think it is obvious that you can keep it any way you like. The app in this tutorial reads questions from a database and marks you out of 5 for your performance. The questions are asked one by one using a single layout as you will see as I proceed.
The scripting language Python is easy to use, and thus very convenient to program simple games. And to make it even simpler, there one Python module which is dedicated to games creation: pygame. It makes you life much easier when programming a game as it takes care of the user input, the graphics and the sound effects.
To install it, if you are using Ubuntu as I did for this tutorial, you can simply install it by typing this command in a terminal:
sudo apt-get install
If you are using another
operating system, please refer to the
downloads page of the pygame website.
The web has significantly evolved during the last years. Blogs, social networks, and web-based applications are some modern applications of the Internet that were never even imagined when the HTML 4.01 specification was released in 1999. Basically, what HTML5 adds compared to the previous specification is a brand new set of tags to improve the functionalities of HTML.
With the introduction of XCode 4, a lot of shortcuts have changed. There are a lot of shortcuts but its kind of difficult to remember all, esp. when you are new to XCode knowing the most common shortcuts will give you most bang for you buck. The following are the most essentials ones that any developer would need to learn to be productive.
Storing data locally in Android is very easy. Here are few ways we can do it:
- Using SharedPreferences
- Using Files
- Using SQL databases.
This tutorial will tell you how to save data using SQL databases. For this we are taking a very simple application which stores a very simple list of tasks with their boolean status: done or not done.
The database contains only one table called "task" which has the following columns:
This tutorial will show us how to save data in a SQL database. For this we are would build a very simple application which stores a list of tasks with their boolean status(whether done or not done).
- The log is reference to the
3 weeks 11 hours ago
- What is log here
3 weeks 1 day ago
- Loved this tutorial. First
4 weeks 2 days ago
- Hello it's me, I am also
7 weeks 2 days ago
- Thanks for this great
8 weeks 5 days ago
- The updated project has been
9 weeks 22 hours ago
- Great tutorial, it really
9 weeks 1 day ago
- @Kaitain - That is correct,
9 weeks 1 day ago
First of all a big thank
9 weeks 5 days ago
- What on earth is this code
11 weeks 2 days ago