|
||||
Table of Contents
|
||||
1. What is MobiOne Developer?MobiOne Developer (MobiOne) is a mobile web IDE currently in development by the Genuitec mobile team. The product is being released in milestone increments. Our goal is to provide enteprise and individual mobile developers a smart, convenient and affordable development environment for rapidly creating and testing mobile applications and content using the latest HTML5 mobile web technologies and frameworks. Whenever possible we seek to remove long standing and frequently unnecessary barriers and general hassle traditionally associated with mobile development such as special expensive H/W, programming languages, SDK requirements, ridiculous complexity and inefficient processes.
Planned features include (green checkmark
Status:
|
||||
2. BasicsThe MobiOne UI has 2 main workareas:
figure 1 2.1 TruView Device EmulationTruView is MobiOne's pixel-perfect mobile device emulation system. We currently limit emulation to a device's features required to support mobile web application development such such as the device's mobile browser, e.g., Mobile Safari on iPhone, and application management system, e.g., iPhone Springboard. The TruView emulation system is built on top of the WebKit4SWT framework developed by the Genuitec mobile team. This framework marries the best features of the WebKit browser which powers the most most advanced smartphone mobile browsers with developer API for creating custom behaviors required by an emulation environment. Currently TruView device emulation modes are provided for iPhone and Palm Pre.
To learn more see the iPhone and Pre mode discussions in Section
3 and Section 4 respectively.
2.2 Dev CenterThe Dev Center is the main developer workplace. It provides the following key features:
figure 2 - DOM Inspector
|
||||
3. iPhone Mode
|
||||
4. Palm Pre ModeThe Palm Pre emulation mode provides a great mobile web browsing experience. No Springboard-like application has been developed for the Pre mode yet. Patterned after the iPhone mode, the Pre mode can be oriented vertically or horizontally, includes a control panel for controlling the customized WebKit browser's operation and includes bookmark management for creating, navigating to, and deleting bookmarks.
figure 7a figure 7b 4.1 Adding a BoorkmarkMobiOne shares bookmarks between the Pre and iPhone browsers. The process for creating a Pre mode bookmark is illustrated below in figure 8.
figure 8 - Add bookmark process |
||||
5. PhoneGap (Work-in-Progress)PhoneGap is an open-source, cross-platform, mobile web framework consisting of a set of JavaScript APIs for accessing device services and sensors such as geolocation, contacts, accelerometer, phone, vibrate, alerts and common user-interface components from a mobile browser. MobiOne PhoneGap development tools are currently a work-in-progress. The full extent of these tools will depend up on continued community interest in PhoneGap. At this time MobiOne PhoneGap support consist of an extended iPhone emulator capable of recognizing and executing the web source code of a PhoneGap application. The iPhone emulator provides an implementation of the PhoneGap version 0.7.4 (v20090810) API. The implemented API consist of:
5.1 PhoneGap API DemoTo see a PhoneGap application in action launch the PhoneGap API demo that is preinstalled on the iPhone Springboard.
figure 9 - Launching PhoneGap API Demo
figure 10 - PhoneGap API Demo in iPhone Emulator 5.1.1 Accel Tools (Early Access)MobiOne provides an acceleration data input tool patterned after the PhoneGap Flash-based demo. The Accel Tools Panel is currently being developed and included as an Early Access feature. At the time of this release the 3D model does not accurately replicate the iPhone accelerometer operation.
figure 11 - Accel Panel 5.2 MobiOne-PhoneGap Assumptions, Conventions & Notes
As previously stated this is the initial MobiOne's PhoneGap support.
It represents a proof-of-concept (POC) for how the TruView emulator
technology can be adapted to implement a cross-platform framework
such as PhoneGap. As we researched the PhoneGap framework it became
clear to us that it is a rapidly improving work-in-progress. Our
development priorities are to "Get it working", then
"Get it working right", then "Optimize it", then
... you get the picture. We are currently in the "Get it
Working" phase.
5.2.1 Hard Coded Conventions - Full Disclosure
Before you rip us a "new one" for this brittle practice,
did I mention that we are in the "Getting it Working"
phase of development? ;-) The PhoneGap framework installation
includes an example project that serves as a simple template and
guide for use when creating new PhoneGap applications. To simplify
our milestone-3 POC for PhoneGap emulation support we chose to
hardcode the location of the key PhoneGap resources relative to the
root web resource, e.g., index.html. We recognize that the default
project format can be modified in the plist and plan to support it
in the next release.
5.2.1.1 PhoneGap Application File StructureIn Milestone-3 the supported PhoneGap file structure conforms to the default structure present in the main template zip file available on PhoneGap download page. In this template structure there is a iphone subdirectory. Following are the key resources and directory structure of a PhoneGap web application expected by MobiOne 1.0 milestone-3 (this will improve in m4):
Status:
5.3 Install PhoneGap ApplicationDue to the mobile web structure of PhoneGap applications installation on the MobiOne iPhone home page is similar similar to creating a webclip. The 2 required inputs are:
figure 12 - Installing PhoneGap Application 5.4 Delete PhoneGap ApplicationTo delete a PhoneGap application on the Springboard, select it. Then right-click and select the "Delete" action from the context-menu.
|
||||
6. Settings6.1 Network Proxy SettingsThe MobiOne shares the Windows Internet Explorer network settings. When you select Dev Center>Settings>Proxy the IE network tools dialog is opened.
figure 13 - Network Settings Dialog 6.2 Default Geolocation CoordinateMobiOne's TruView browser services implement the HTML5 geolocation API. The gelocation implementation uses a static location defined in the MobiOne settings, see Dev Center>Settings>Geolocation. The location value is a longtitude, latitude coordinate. The default value provide with MobiOne is the location of our north Dallas, Texas office. You can change this coordinate to any value you choose.
figure 14 - GeoDemo depicting Settings geolocation coordinate 6.3 Browser Home PageThe Home Page setting is the default home page URL used by the iPhone and Pre web browsers.
figure 15 - Default browser home page URL |
||||
7. Getting Help and Feedback
We hope this overview has given you a good idea of the features
provided by MobiOne and how you may use them. If you should need
assistance or wish to report an error or provide feedback please
use
MobiOne Support Forums |
||||
| © Copyright 2009, Genuitec LLC |