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 - 25 Jul 2011
  • Thumbnail of Two upturned glasses, signifying choice

    Preserving User Preferences in Android Applications

  • Often you need to store personalized information for each user of your application. For example, your application may require users to logon to a secure server for authentication. In this case, the user needs to supply his credentials, such as a login name and a password. The first time the user uses your application this information will be entered by the user, but subsequently it would be useful for your application to “remember” this information somewhere so that it can save the user the trouble of entering the same information every time he uses your application.
  • Android - Posted by Staff - 27 May 2013
  • Thumbnail of Android Studio by Google

    Google I/O: Android Studio launched to build and test Android apps

  • This year’s I/O saw Google showcase a series of mobile-related initiatives focused on helping the Android community to grow and prosper. As Android continues to dominate the smartphone market, expectations are high for new Android activations in 2013. Google are forecasting that in 2013, 900 million Android devices will be activated. The Google Play app now sees more than 2.5 billion installs every month with 48 billion apps downloaded since the launch of the Android Market in late 2008.
  • 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).
  • Messaging - Posted by - 08 Dec 2009
  • Thumbnail of Section Feature Image

    Sending SMS with SMPP, Kannel and Java

  • There are many technologies and protocols that can be used to send and receive SMS from an application. This article focuses on sending SMS via a Short Message Service Center (SMSC), with the help of the Kannel SMS gateway. In order for an application to send a SMS, it generally has to communicate with a Mobile Network Operator (MNO) over the Internet. To understand in more detail consider the following example. A Media service provider wants to send a program timetable as an SMS to its end customers. The application is running on a Linux based java application server.
  • 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
  • Emulators - Posted by Soma Ghosh - 27 Aug 2009
  • Thumbnail of Section Feature Image

    Getting Started with Java ME

  • As the world gets connected, we see the emergence of a wide variety of sophisticated and personalized mobile devices. Although the number-crunching power of the higher-end devices is very respectable, there is still a need to build applications that use minimal resources, and that are portable. Java Platform, Micro Edition (Java ME), formerly known as J2ME, with Java’s inherent ‘Build once, run everywhere’ concept has been adapted to build resource constraint applications for these myriad devices.
  • 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.