Posted by maltron
on April 25, 2007 at 11:05 AM PDT
You spend hours developing a very cool JavaME application and then, you manage to install into your device and you start play with it. Is that all ? Is your JavaME application ready for prime time ? Maybe you're missing some very important during the development process: TEST !!!
Iâ€™m pretty sure that developing a Java ME application is an incredible experience. First, because you have to be very clever on fit everything in a very tiny devices, restrained by display resolution and screen size, not much memory and a few ways of input data (usually a numeric keypad or stylus). Second, because once you did the application and you deploy into your device, itâ€™s really feels good taking your application right into your pocket and do something useful. (I particular I loved to show off some application developed by myself, which itâ€™s something that my friends already had in their â€œheavyâ€ laptopsâ€¦Sometimes, itâ€™s hilarious).
However, taking this application into the open market and get users to play, itâ€™s totally another story. It really doesnâ€™t matter how simple your application will be, a certain amount of quality is always required (and trust me, youâ€™ll avoid a bunch of problems if you maintain some quality). I guess the most obvious question in your head is:
All right, but how do I keep a good quality in my mobile applications?
Simple answer: Use the 5 â€œTâ€â€™s rule: Test, Test, Test, Test and Test
The need of testing is increasing as devices are getting more powerful and new JSRâ€™s are coming up each year. You check the device specifications of some manufactures, you will realize that for each new functionality, you (as developer) must perform more and more testing in order to give some warranty of the mobile application youâ€™re developing.
Ever since I joined the Mobile and Embedded Community, I was thrilled with the perspective of the cqME Project , which itâ€™s all about testing your application before reaching the end user. If you ever wonder how you could test your application and what kind issues on your application, cqME Project might be the answer to your prays.
Besides having some technology like cqME Project that enables you to help testing your application, something else that I advice and itâ€™s very simple: Take your application out
It sounds a bit weird (specially for geeks like I am) but this is testing work. Iâ€™m not saying that you should take your mobile application to the movies, but play with your own application, installed on your phone and use it on a several situations of your daily life. That was something that I did a lot when I wanted to make sure that my application will act as I planned. Most of the times, youâ€™re developing a ME application sitting in chair, looking at your emulator and playing in a environment that itâ€™s by far, totally different from the experience the user will face it.
The first thing you notice when you take your application â€œin the wildâ€, youâ€™re going to test the user interface and see if you can get any information with few keystrokes. Sometimes, Iâ€™m sure this it will be the first modifications youâ€™re going to make it.
The fun part of testing, itâ€™s that you can do it in so many different situations, such as:
- When I go to my dentist and I cay test any connectivity (either with Bluetooth or GPRS)
- When I go out for a dinner, I check if I hear my application play a sound (or even vibrate) due a notification through JSR 205.
I know it may sound a little weird, but all this is necessary.
Perhaps you find some willing users to help you speed up the process. Because, once your application is on the open, it will be hard to know what went wrong on your code.