- Apps - Posted by weimenglee on 19 Dec 2012
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 on 25 Jul 2011
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 weimenglee on 20 Sep 2011
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 senthadev@gmail.com on 08 Dec 2009
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.
- Mobile Design - Posted by weimenglee on 29 Sep 2009
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
- Frameworks - Posted by Soma Ghosh on 27 Aug 2009
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 on 19 Aug 2009
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 on 01 Jul 2009
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 on 06 Apr 2009
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
- Best Practices - Posted by ruadhan on 19 Mar 2009
Ready.mobi API update- We've just gone live with an new version of the ready.mobi API. (Full details and code samples here). So what's new in this version? The most notable feature in this version is the ability to post markup directly to the ready.mobi API without having to supply a publicly accessible URL to the service. This is the result of some early feedback on the API that during the development cycle pages often did not have a public URL, and so they could not be tested with ready.mobi.


