Skip to Content

Getting started with Streamezzo

Printer-friendly versionSend to friendPDF version
Rookie

This document is a step-by-step guide of Streamezzo Development Platform. Here you will:

  • Understand Streamezzo Rich Media Solution
  • Learn how to develop your own app, taking advantage of Components and the Adaptation Framework
  • Learn how to set up your own instance of a Rich Media Server
  • Learn how to develop and publish the webapp on a Rich Media Server and deploy a mobile app on devices

It also identifies and will help you finding all the reference documentation and developer resources you will need to develop and deploy your own mobile applications, from your first Hello World to the most advanced mobile apps.

 

STEP 1 - Read Streamezzo Rich Media Solution Overview

The purpose of Streamezzo rich media solution overview is to help you understand the principles of the technology and how to develop apps that can be deployed on an extensive set of devices.

There you will find:

  • Definition and motivation of "Rich Media"
  • Description of Streamezzo solution, including its key features and the supported devices
  • Overview of advanced features such as network optimized usage, device interaction, audio and video controls
  • Overview of the language
  • Overview on apps portability, to address a wide set of devices, covering the facilities brought by Streamezzo solution
  • Overview on apps evolutivity, to extend your apps features with ease, covering the facilities brought by Streamezzo solution
You should now be familiar with the different elements of Streamezzo Development and Runtime Platform. Let’s now start developing your own apps.

 

STEP 2 – Develop Your Own Apps

First,

  • Watch the Hello World screencast that will demonstrate how to develop a very simple app with Streamezzo Solution
  • Read the Workbench Developer User Guide (Help > Help Contents) for any information you may need in addition

We will now learn how to create more complex apps. Read the tutorial of the application named First Service:

  • Start Workbench Developer
  • Access tutorial: Help > Help Contents > Streamezzo Workbench Developer User Guide > Tutorial
  • The sample app itself can be found here: Help > Welcome > Samples > First Service

You should now be familiar with the core concepts of scene graph, access units, nodes... In the following step you will discover the components library and the adaptation framework, that will dramatically cut down the effort to develop apps that can run on a wide set of devices.

 

STEP 3 - Take Advantage Of Components

Streamezzo Components are off-the-shelf pieces of application implemented with Streamezzo solution that you can (re)use to develop faster. Their UI is customizable through skins and most of them present options such as transition animations, etc. Several components can be combined together and mixed with custom code to build your final app.

You can browse the library of components on Streamezzo Developer’s Corner. Each component is available in Workbench Developer, comes with documentation and a code sample that you can run directly in Workbench Developer.

 

STEP 4 - Take Advantage Of The Adaptation Framework

Using the Adaptation Framework will help you to write a single piece of code that can be run on multiple devices. It provides an abstraction layer for different device specific properties such as the screen size, touchscreen/keypad input, support of a given feature, etc.
Read the Adaptation Framework Introduction and the Adaptation Framework Tutorial: there you will learn how to write one single code able to run on keypad and touchscreen equiped devices, QVGA, HVGA screen sizes and more.

If you want to see the Adaptation Framework in action, run Workbench Developer and go to Help > Welcome > Samples > Layout.

 

STEP 5 - Deploy And Test Your Apps

After you developed your app you will obviously want to deploy it and test it on real devices. When you deploy a Streamezzo application you will need to achieve 2 steps:

  1. Publish the corresponding webapp on a Rich Media Server instance (unless you developed a non-connected application - in such case you can skip this part). If you want to use a Rich Media Server hosted by Streamezzo (SaaS), you can contact us to post your request to. Otherwise you can of course install your own Rich Media Server (can be downloaded from here); follow STEP 6 for the details of this procedure.
  2. Create a Mobile Application that you will deploy on device. If you want to deploy on multiple distinct device models, then you will create multiple Mobile Applications (one for each model).

Publish Webapps on the Rich Media Server

In order to check that the installation is correct you can open in Workbench Developer the First Service sample project (Help > Welcome > Samples > First Service) and publish the corresponding webapp on your Rich Media Server instance .

Read the Server Publication Tutorial for instructions. Once published you will be proposed to Run the application in Workbench Developer, i.e. your pc will act as a device emulator and will send distant request to your webapp deployed on Rich Media Server.

Deploy Client Apps on your Devices

With the Streamezzo Development Platform you will be able, from a single source code, to produce mobile applications for the iPhone, Android, Symbian S60, J2ME, Windows Mobile, Blackberry and BREW.
For details, check the list of supported devices.
You will need a package for each device model on which you want to deploy your app. Workbench Developer comes with a selection of Rich Media Client Packages. You can download additional or up-to-date devices packages directly from Workbench Developer Devices > Check for updates.

Read the tutorial to generate your apps.

Summary

Watch the screencast on how to deploy Streamezzo Apps. This video provides an end-to-end tour on how to deploy Streamezzo apps: publish the corresponding web-app on a Rich Media Server and generate mobile apps for different device models.

 

STEP 6 - Set Up Your Own Instance Of Rich Media Server

Download Streamezzo Rich Media Server (Developer Edition) in the download section of Streamezzo Developer’s Corner. This version is an evaluation version that displays a splash screen on the mobile device at the first connection to the server. Contact us if you expect to get the full version.

Platform Requirements for Rich Media Server

    Databases:
  • Apache Derby 10.4
  • MySQL 4.1/5.0
  • Oracle 9i/10g
  • PostgreSQL 8.3
  • Application Servers:
  • Tomcat 4.1/5.5/6.0
  • JBoss 4.0.2
  • IBM WAS 5.1/6.1
  • BEA WebLogic 8.1/9.2
  • Sun JSAS Platform Edition 8.0
  • Operating Systems:
  • Linux Debian 4.1
  • Linux CentOS 4.4
  • Windows XP

  • 1GHz Intel® Pentium® IV processor, 256 MB RAM (512 MB recommended), 100 MB available disk space
  • Java Virtual Machine supported:
    "JDK 5.0 Update ..." available here and "JDK 6.0 Update ..." available here

Important note:The machine running the Rich Media Server should have the same version of JDK installed than the one in use for your Workbench Developer project.

At this stage you are ready to fly by yourself and start developing your own apps. With some practice and the following developer resources you will soon become a confirmed Streamezzo developer.


Additional Resources

Help

  • Worbench Developer Help on the IDE: Help > Help Contents > Workbench Developer Help
  • Worbench Developer Help on Streamezzo Markup-Language: Help > Help Contents > Streamezzo Language Guide > XML Elements
  • Worbench Developer Help on Streamezzo InstantScript: Help > Help Contents > Streamezzo Language Guide > InstantScript
  • Worbench Developer Help on Java Scriptlets: Help > Help Contents > Streamezzo Language Guide > Java Scriptlets

Sample Applications

  • Samples packaged with Workbench Developer: Help > Welcome > Samples
  • Samples on the developer's corner: here

Components

  • Samples packaged with Workbench Developer: Components View
  • Components library on the developer's corner: here

In addition, you can post your request on the developer Forum (in the Support section of Streamezzo Developer's corner) or subscribe to a dedicated online support plan. Learn more about price and conditions in the Support section.

Streamezzo can also provide developer training: web sessions, 2-day "Quick Start" and 5-day "Custom Project Starter" on-site sessions. Contact us for details on those offers.

Share this