The Source for Java Technology Collaboration
User: Password:



Qusay H. Mahmoud's Blog

Qusay H. Mahmoud Qusay H. Mahmoud is an Associate Professor of Computer Science at the University of Guelph in Canada. He has presented technical tutorials at international conferences worldwide. He has published two Java books: Distributed Programming with Java (Manning Publications), and Learning Wireless Java (O'Reilly) that have been translated into Korean, Czech, and Simplified Chinese. Qusay holds a Ph.D. in Computer Science from Middlesex University in England.



The Sentilla Perk

Posted by qmahmoud on August 19, 2008 at 09:13 AM | Permalink | Comments (3)

Over the past few years there has been quite a lot of interest in wireless sensors and the applications of this technology in a variety of areas (e.g. environment, bridge control, etc). Researchers have been experimenting with platforms such as the TinyOS (known as the Berkeley Mote) in which applications are written in NesC. But with Java running on billions of devices, there has been a quest for a Java platform for wireless sensors and in 2007 Sun Microsystems released their "experimental" Sun Spot technology which is really neat. Also in 2007, Sentilla released an industrial-strength Java-based technology for wireless sensors, and if you attended JavaOne2008 you may have seen Sentilla hardware deployed all over the Moscone Center to track attendees.

What is it?

The Sentilla Perk (Pervasive Computing Kit) is a Java ME CLDC-compliant platform for developing cool applications for wireless sensors. I have been experimenting with the Perk and I am very impressed. The kit comes with 2 Sentilla computers (known as JCreates or Motes), a USB gateway, Sentilla's IDE, sample apps, and lots of documentation. A JCreate is a small wireless baterry-powered device; your applications communicate with the JCreates using the gateway that you connect to your development machine.

I was able to install the Sentilla Perk and test some applications on the JCreates in less than 10 minutes. I especially like the Sentilla IDE. It has a very intuitive user interface, but if you ever feel lost when you first start, try the "Welcome" page in the "Help" menu which I find very useful and novel!

Application Lifecycle

Developing applications for wireless sensors using the Sentilla platform is quite straightforward. You'll be able to create very cool applications with little coding. To give you a flavor of the effort involved in developing applications, consider the following snippet of code, which is actually a complete application that when run the two motes will start blinking. As you can see, the application lifecycle is just like any other Java application with a minor name change to the main() method.

public class MoteBlink {
  public static void motemain() throws InterruptedException {
     Leds leds = LedsDriver.create();
     while ( true) {
        leds.toggle(1);
        Thread.sleep(200);
     }
  }
}

If you are a developer, researcher, or a student interested in developing Java-based applications for wireless sensors, I recommend you get a copy of the Sentilla Perk. The introductory price of $199 is a great deal as the kit comes with the hardware and software tools to enable you develop novel pervasive computing applications. Get Sentilla Perk.

Sentilla Labs

Sentilla has just launched Sentilla Labs, which is a wonderful developer portal where you can find sample applications with full source code...you'll even find full description of the projects and what hardware you need and where to get it from. If you develop a cool application, you too can submit it and showcase it to the world. Q.



Teaching Mobile Computing to Generation C

Posted by qmahmoud on August 14, 2008 at 02:06 PM | Permalink | Comments (0)

Over the past two years (starting in Fall 2006) I have integrated mobile devices, such as the BlackBerry, into my Computer Science courses. Janice J. Heiss has interviewed me about this work: Teaching Mobile Computing to Generation C. Any feedback is welcome. Q.



Highlights from O'Reilly Open Mobile Exchange (OMX) at OSCON2008

Posted by qmahmoud on July 22, 2008 at 07:46 AM | Permalink | Comments (0)

I have attended the O'Reilly Open Mobile Exchange (OMX), which is a one-day event organized for the first time as part of the O'Reilly Open Source Convention (OSCON2008). I came to OSCON primarily for OMX and I am glad I did -- it was a wonderful event full of useful information -- many thanks to the organizers and speakers. Here are some highlights with comments...

Driving Linux in the Mobile Space

According to Jim Zemlin, every person in the modern world uses Linux multiple times everyday -- it is in ATM machines, laptops, etc. But what makes Linux a superior platform for mobile? Well, Linux is not just an open source platform but one that can handle complex software tasks, and has many choices for middleware and application development, and being royalty-free is important for manufacturers that ship millions of devices per year. Licensing around a mobile Linux platform will be confusing as many components make the mobile Linux platform and people will be confused with GPL2 vs. GPL3 (DRM issues).

Symbian OS Goes Open Source

As you may have heard, Nokia has recently acquired Symbian to make the OS open source (The Symbian Foundation). Nokia was being charged $250M/year to put the platform on their devices, so it is a good move for them financially. But will open source symbian become a threat to Linux on mobile devices? Well, Linux is a well-established open source platform and if Nokia is planning on throwing 10M lines of code and hundreds of pages of documentations at the community then this project will not fly.

There is no plan on how they want to do this yet. But according to John Forsyth from Symbian there will be an interim period where Symbian OS and the UIs will be available to Foundation members and this will begin by mid 2009, and around the same time The Symbian Foundation will release the platform under the Eclipse Public License.

There are many other open source initiatives for the mobile space such as openmoko, moblin, LiMo and others. This is good for consumers, but will be a nightmare (device fragmentation) for developers.

The Mobile Web

Have you tried to access the Web from a cell phone? You may not have liked that experience because the mobile web is not ready due to the following reasons: (1) user interface (have you tried using the keyboard even on the iphone); (2) access to phone characteristics such as camera, location, accelerometer is restricted due to privacy and security issues. Sprint for example restrict access to some Java ME APIs unless you have a VeriSign certificate (you need to sign your apps); (3) performance issues (how long does it take to load a web page on a cell phone).

There are over 3B phones on the planet, but how many are being used to access the Web? According to Jason Grisby, it is usage and not units that matter. SMS has been a very successful application with 2007 revenues reaching $100B, and I believe this number is not surprising giving how young users are mainly using their phones for non-voice apps (SMS, chat).

Business Models

Stefano Maffull from Funambol talked about business models: razors and blades (the business is in selling the blades) and Apple is leading the way with their iphone and the app store. The other model will be mobile advertising and Google is expecting to lead with their Android if it will ever come out. :-)

Zembly

It is an open platform for iphone and mobile browser widgets. This initiative is sponsored by Sun Microsystems. According to Parkash Narayan, Zembly.com allows you to use your browser to collaboratively build and deploy apps for social networks. He demoed how an application can be composed in the browser and deployed (hosted on Zembly) on facebook as well as the iphone. I believe this idea has lots of potentials but I was hoping that it will generate Java ME Midlets. :-) Zembly reminded me of the HP sponsored website mscapers.com that allows you to create location-based apps and games for gps-enabled iPAQ devices.

The Browser is the new open platform (Mobile Firefox?)

Chris Blizzard from Mozilla compared today's mobile experience with that of the mainframe era whereby you have to pay someone to install something for you. He argues that with a browser, you do not have to ask for permissions to install an app on your device. He talked about Mozilla's effort in developing a mobile browser (Mobile Firefox) and they're using N810 as their testing platform, which is not a cellular device by the way.

While it is true that most people in the developing world will experience the Internet through a mobile device, I do not believe browser-based apps are the right approach for mobile devices such as cellphones because of screen size and power consumption. Benoit Schilling from Nokia Qt Software talked about the hybrid model(native and browser-based apps).

Let's not forget what cell phones were designed for

To that end the presentation by John Todd was about "voice" services through the Asterisk platform.

Overall, OMX was a great event and I look forward to attending again next year and you should too. I believe open source developers would benefit from learning about other mobile platforms (e.g. RIM's BlackBerry) so I believe it would be beneficial to include presentations about other platforms as well...even if they are not open source. Q.



O'Reilly Open Mobile Exchange

Posted by qmahmoud on July 09, 2008 at 11:57 AM | Permalink | Comments (0)


OSCON 2008

The 10th O'Reilly Open Source Convention will take place between July 21-25 in Portland, Oregon. For the first time this year, they are organizing the Open Mobile Exchange -- a full day of insights, technical presentations, demos, and panel discussions. If you are involved with open source or building out the open mobile space, you should attend!

I am looking forward to this event and visiting the wonderful city of Portland again. Q.



August 2008
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            


Search this blog:
  

Categories
Community: Mobile & Embedded
Archives

August 2008
July 2008
May 2008
April 2008
March 2008
February 2008
August 2007
June 2007
May 2007
April 2007

Recent Entries

The Sentilla Perk

Teaching Mobile Computing to Generation C

Highlights from O'Reilly Open Mobile Exchange (OMX) at OSCON2008



Powered by
Movable Type 3.01D


 Feed java.net RSS Feeds