background image
  • Android - Posted by weimenglee - 07 Aug 2013
  • Thumbnail of Map of moon

    Developing with Google Maps v2 for Android

  • In one of my previous articles, I talked about embedding Google Maps in Android applications. Much has changed as Google went about revamping a lot of existing APIs in Android. In version 1 of Google Maps for Android, Google used the MapView to display map data. In version 2, the MapView is deprecated; instead, you have to use a MapFragment.
  • Android - Posted by weimenglee - 19 Dec 2012
  • Thumbnail of Image of duck consuming food from human hand

    Consuming JSON services in Android apps

  • Unless you are writing a Hello World Android application, chances are your application would need to connect to the outside world to fetch some data, such as live currency exchange rates, weather information, records from databases, etc. One of the easiest ways for your application to connect to the outside world is to use web services. For the past few years, XML web services have dominated the arena for web services, as XML was touted as the ubiquitous medium for data exchange. However, using XML as the medium for your data payload suffers from the following problems:
  • Android - Posted by weimenglee - 20 Sep 2011
  • Thumbnail of Handy waving with motion blur

    Displaying Status Bar Notifications in Android

  • Developers of Android are no doubt familiar with the Toast class, which displays a little pop-up containing whatever message you want to display to the user. However, the Toast pop-up will automatically dismiss itself after a while, making it useful as a tool to provide timely feedback to the user (such as informing the user that a file has been saved successfully), but not a really good tool to use for some asynchronous action (such as telling the user that an incoming SMS message has arrived).
  • Android - Posted by weimenglee - 29 Sep 2009
  • Thumbnail of Section Feature Image

    Understanding User Interface in Android - Part 3: More Views

  • In the previous article, you saw the various basic views such as the TextView, EditText, Button, and how you can use them in your Android applications. In this article, we shall continue our exploration of another three categories of views - Picker views, List views, and Display views. The views discussed include: TimePicker view DatePicker view ListView view Spinner view Gallery view ImageView ImageSwitcher view GridView view
  • Android - Posted by weimenglee - 19 Aug 2009
  • Thumbnail of Section Feature Image

    Understanding User Interface in Android - Part 2: Views

  • In the previous article on Android UI you saw the components that make up the UI of an Android application. The basic unit of the Android UI is the View. A View represents a widget that has an appearance on the screen. In this article (and the next two), you will learn about the various common views that you would likely use in your journey of Android development. In particular, I have categorized the views in this series into the following group: Basic Views - commonly-used views such as TextView, EditText, and Button views
  • Android - Posted by weimenglee - 01 Jul 2009
  • Thumbnail of Section Feature Image

    Understanding User Interface in Android - Part 1: Layouts

  • So far in my previous few articles on Android I have focused on showing you how to get things done in Android without really spending too much time discussing the visual aspect of Android application development - User Interface design. In this article, and the next, I will walk you through the various elements that make up the UI of an Android application. In this first part of the article, I will discuss the various layouts available in Android to position the various widgets on your screen.
  • Android - Posted by weimenglee - 06 Apr 2009
  • Thumbnail of Section Feature Image

    Using Google Maps in Android

  • Google Maps is one of the many applications bundled with the Android platform. In addition to simply using the Maps application, you can also embed it into your own applications and make it do some very cool things. In this article, I will show you how to use Google Maps in your Android applications and how to programmatically perform the following: Change the views of Google Maps Obtain the latitude and longitude of locations in Google Maps Perform geocoding and reverse geocoding Add markers to Google Maps
  • Android - Posted by weimenglee - 19 Feb 2009
  • Thumbnail of Section Feature Image

    Getting Started with Android Development

  • Unless you have been hiding in the caves for the past couple of months, by now you must have heard of the mobile platform from Google that everyone is talking about. Yes, that's right, I am talking about Android. Android is an open source mobile operating system that is based on the Linux kernel. Using Android, device manufacturers can customize the OS to suit their particular hardware design, thereby allowing them to innovate without limitations.
  • Geolocation - Posted by nicogoeminne - 19 Dec 2008
  • Thumbnail of Section Feature Image

    Developing Location Based Services: Introducing the Location API for J2ME

  • Many mobile phones today support the Location API for J2ME under JSR-179. Using the location API, you can easily develop useful location based mobile Java applications. In this article, we demonstrate how to develop and test a mobile location based client server application using JSR-179, servlets and Google Maps.
  • Messaging - Posted by Julien Buratto - 24 Apr 2008
  • Thumbnail of Section Feature Image

    Email configuration via SMS

  • Many of you will have experienced how a call to a network operator has resulted in an SMS containing configuration settings being sent to your phone. In this article we will look at how to configure a mobile phone's email account settings via SMS. Many phones support POP3 and IMAP accounts; in this example we are going to configure a simple POP3 account. To check emails, an access point (APN) is also needed, so we will also configure an internet connection.