Developing And Packaging Applications; Folder Structures; Sb1 Folder Structure; Workstation Folder Structure - Motorola SB1 Integrator Manual

Smart badge
Hide thumbs Also See for SB1:
Table of Contents

Advertisement

4 - 10 SB1 Integrator Guide

Developing and Packaging Applications

The following sections provide information for developing and packaging Rho-based application for the SB1.

Folder Structures

It is recommended to follow the folder structures described below when developing applications for the SB1:

SB1 Folder Structure

Application content must be designed to reside on the UserDrive folder. The content should be designed as
additive to a baseline and should be located in a sub-folder under the \UserDrive\apps folder that is named for
the application (e.g. \UserDrive\apps\myapp). All inter-files references should assume that all files are located
in that application sub-folder. Optionally, files of different types may be segregated in additional sub-folders.
Refer to the SB1 Programmer's Guide for detailed information on folder structures.

Workstation Folder Structure

The entire content of the application sub-folder for a given Rho-based application should be placed inside
another folder named UserDrive. If multiple Rho-based applications are stored on the same workstation, then
the UserDrive folder for each application should be stored under another folder named for the application.
The following is an example of a workstation application folder structure.
\MySB1Applications\
MyApp1\UserDrive\apps\
MyApp2\UserDrive\apps\

Development

Start a new Rho-based application by creating an appropriate application content folder. See
on page
4-10.
At a minimum, this should include an application HTML file named for the application. For example,
myapp.html. It may also include additional files referenced from the application HTML file. This should also
include a simple apps.json file that defines a single icon to launch the application HTML file.
Refer to the SB1 Programmer's Guide for more information on developing Rho-baed applications for the SB1.
MyApp1\
MyApp1.app
MyApp1.html
other.html
MyApp2\
MyApp2.app
MyApp2.html
jpg\
image.jpg
Folder Structures

Advertisement

Table of Contents
loading

Table of Contents