Examples

[home | code | docs | help]

The following are a few examples of applications in this package. For each we give a brief description, make command, and URL. In all these example, you must first run the make command (or execute) the main class, and note the IP address of the local machine, such as the dialog to the right. Then when you access the URL on an IPhone (or other phone or web browser), you must enter this IP address in the host field of that page.

google

Provides a remote control for launching google applications, such as mail, calendar, etc... using icon buttons on your laptop or other local machine. Clicking the various buttons will open various google application on your local machine. For example, clicking the icon will open http://mail.google.com in a browser, clicking the icon will open http://youtube.com

Vitals:

URL http://jeffpalm.com/iwebapp/google.php
Make command make google
Main class Google

[top]

remote

This provides a customizable interface to control actions on a local machine. The user can pass file names on the command line to the main class and/or havea file named ~/.iwebapp containing lines of the form

Name '|' Command
Where Name is the name of the command, and Command is the actual command to execute. This screen shot to the right is taken from the example etc/remote.ir in the source code distribution and is the following
Mail|open http://mail.google.com
Browse|open http://google.com
Calendar|open http://calendar.google.com
The user should input the IP address of the local server and then go.

Vitals:

URL http://jeffpalm.com/iwebapp/remote.php
Make command make remote
Main class Remote

[top]

main

This is a normal iTunes interface, and allows one to navigate via artist, album, etc. The user should input the IP address of the local server and then go.

Vitals:

URL http://jeffpalm.com/iwebapp/main.php
Make command make main
Main class ITunesMain

[top]

itunes

This is another iTunes interface, and gives the user a single-page view of her iTunes library. The user should input the IP address of the local server and then go.

Vitals:

URL http://jeffpalm.com/iwebapp/itunes.php
Make command make itunes
Main class ITunes

[top]

[home | code | docs | help]