Monday Feb 05, 2007

Hands on Lab Proposals for Mobility Packs

We posted 3 proposals for hands-on lab (HOL) sessions at JavaOne 2007. I'm really curious if they will accept any of them. The hands-on labs are about Mobility Pack and Java ME development. One of the HOLs is just update of the last year session LAB-6205 Mobile Applications: Visualize it, Build it, Deploy it to Many Devices. The other two are brand new. I'm working on them now. Even if they won't accept them for the session I'll publish them on this blog or at

The Proposals For New HOLs

Title: Advanced Java ME Programming - Streaming Video From Server to Your Device

  • Exercise 1: Play the video on device
    • Objective: Remember audience about MMAPI. The users will develop a mobile application playing a video on device.
    • Expected duration: 30 minutes
    • Brief description: The MMAPI is quite complex set of APIs. The exercise will focus on the APIs necessary for playing a video on a device. Result will be MIDlet that can play a video. This MIDlet will be used in next exercises.
  • Exercise 2: Connect to web service, stream the video from the server
    • Objective: The users will develop a mobile application consuming a web service using J2ME Web Services API (JSR 172). The J2ME Web Services API eliminates the need for developers to include code for remote invocation and XML parsing in each application.
    • Expected duration: 45 minutes
    • Brief description: Communication between the MIDlet and the appserver will be handled by the JSR 172. Application server will provide a webservice that will list available videos. When user will choose one of the videos it will be streamed to the device. We will accommodate the MIDlet created in Exercise 1 to play the video on the device.
  • Exercise 3:
    • Objective: The audience will learn how to solve connecting to webservices on devices without JSR 172 by utilizing device configurations within the IDE. They will generate different distribution packages(JAR/JAD files) using one set of source files for all distributions.
    • Expected duration: 45 minutes
    • Brief description: Attendees will learn how to work with more SDKs/emulator platforms in the Mobility Pack. They will change the project to run on devices with the support for JSR 172 and even on devices without the support for JSR 172. The result will be two different application however they will look the same for the end user of the application. The application will move from two tier architecture (client-server) to three tier architecture in the case when JSR 172 will not be used.

Title: Scale your Java ME world with Java API for SVG

  • Exercise 1: Get in touch the SVG technology in Mobility Pack
    • Objective: Explain the SVG (JSR226) to audience. Show the SVG support in NetBeans Mobility Pack 5.5
    • Expected duration: 20 minutes
    • Brief description: What is SVG (JSR226) about, what is it good for. What SVG components are in the Visual designer. Show SVGImage component. Describe SVGMenu component and its capabilities. How to define flow of the application
  • Exercise 2: Create first application with SVG
    • Objective: Create mobile application that uses the SVG technology. Run it on more phone emulators to show its scalability.
    • Expected duration: 45 minutes
    • Brief description: Create new mobile project. Import SVG images into project resources. Create splash screen with SVG image. Create SVG menu. How to run SVG animation in a screen. Run the application on more phone emulators with different screen size.
  • Exercise 3: Changing the objects on SVG image
    • Objective: Show how the SVG image can be manipulated on the fly. Lets user to manipulate the SVG elements.
    • Expected duration: 40 minutes
    • Brief description: Users will learn manipulate with the svg elements used in the application created in Exercise 2. The result will be a SVG image showing current time. How get the right xml element of the SVG image. How to change the SVG image on fly.
  • Exercise 4: Advanced features
    • Objective: Present features of NetBeans Mobility Pack that will help users when creating a SVG application
    • Expected duration: 20 minutes
    • Brief description: The business logic and the UI is separated in SVG. Therefore it is easy to change the UI of the application. With NetBeans Mobility Pack you can easily change the application for devices that don't support the JSR 226. The IDE can generate PNG image from the SVG images for target devices. It will care about the right width and height of the image automatically. How to easily change the UI of the application. Generate PNGs from the SVG graphics - solution for the phones without JSR 226. Run external SVG editor from IDE.

Any comments/improvements for the proposals are welcome!

UPDATE: They accepted the "Streaming Video From Server to Your Device" hand-on lab. It seems that I'll go to JavaOne this year. Now it's time to write the hands-on lab :)

Wednesday Jan 03, 2007

5+5 Questions About Mobility Pack for CDC 5.5

The Release Candidate of NetBeans Mobility Pack for CDC 5.5 was released in December.
Mobility team would like to improve its usability and quality for the next release therefore there is new survey.

Please answer the 10 questions of the survey to help to improve the quality and usability of the Mobility Pack for CDC.

Tuesday Dec 19, 2006

Release Candidate 1 of MobPack for CDC

The NetBeans Mobility Pack for CDC 5.5 is releasing the Release Candidate 1. Please report all issues that you'll find with this build to Issuezilla. Sun Java Toolkit for CDC 1.0 is bundled with the Pack.

Saturday Dec 02, 2006

Mobility Pack 5.5 for CDC bundles CDC platform

We are going to produce RC1 of NetBeans Mobility Pack 5.5 for CDC next week (hopefully). There is lot of bugfixes in this RC.
There is one more big news. The Sun Java Toolkit for CDC is bundled in the Mobility Pack for CDC installer. It definitelly ioncreased the size of the installer but it will increase usability. Now the Mobility Pack 5.5 for CDC works out-of-box. Just install it and you can start working. Cool.

On the right side is screen shot of the new skin of the CDC Toolkit emulator. Doesn't look cool? (the screenshot was taken on Windows Vista)
The only sad thing about the Sun Java Toolkit for CDC is that it supports only AGUI. It means that if you want develop an Personal Profile application you will have to download another emulator (SDK).

Do you want to try it?

This is the main channel to share news, tips and other stuff related to my work. Sometimes you can find even personal stuff. Enjoy your reading...


« June 2016

No bookmarks in folder