With this set-up it is possible to run PAW applications directly on the device.
Everything that's possible with PAW Server is also possible with the runtime version.
It enables users and programmers to directly develop applications on the device without the need to install a SDK on the PC.
There are of course limitations to this approach concerning speed and using all features of the platform, but for developing small applications or prototypes this should be sufficient.
What is not possible is to develop individual apps, all PAW Runtime apps reside in the /sdcard/paw-runtime directory and are accessible (when defined in the webconf/apps directory) from the main menu screen.
The runtime itself comes with no applications, but demo applications are available for download.
Below is the main menu with installed demo applications.
Let's have a look at the compass app shown in the first image.
Let's have a look at the XHTML file:
The part that reads the bearing information of the device is surrounded by BeanShell <bsh>...</bsh> tags.
One last thing to do is to define the application's .conf file in the webconf/apps directory, so that the application is available from the main menu.
name=Compass description=Displays Compass and Bearing icon=compass/images/compass_rose.png href=compass/compass.xhtml
APK Download: PawRuntime.apk
Demos Download: PawRuntime_Demos.zip
Eclipse Project: AndroidPawRuntime_Eclipse_Project.zip
Note: Files are based on PAW Server for Android 0.60 beta
The demos can be simply unpacked onto the /sdcard of the device.
PAW Runtime is currently in alpha state.
Comments are welcome...