Java

1. Installation of iPFaces client to your mobile device

  1. on iPhone/iPod/iPad: Find the “iPFaces Client” application in AppStore, install it in standard way and confirm default application address upon first start.
  2. or on Android: Find the “iPFaces Client” application in Android Market, install it in standard way and you may start it.
  3. or on BlackBerry: install iPFaces client application OTA - enter this address on your device: http://ipfaces.org/ipfbb.jad and let it install. Then confirm default application location upon first start.
  4. or on phone with mobile Java: install iPFaces client application OTA - enter this address on your device: http://ipfaces.org/ipfj2me.jad and let it install. Then confirm default application location upon first start.

2. iPFaces library download

  1. Go to Get It Now section, download Java distribution and get “ipfaces-taglib-1.1. jar” library.
  2. Add “ipfaces-taglib-1.1. jar“ to your web project. For development, it is suitable of have the “ipfaces-taglib-1.1.jar” library in the development environment listed in the project “CLASSPATH”.

3. Create a simple “Hello World” application

  1. Create the file “hello_world.jsp“ with the following content:
    <%@ taglib prefix="ipf" uri="http://www.ipfaces.org/tags" %>
    <ipf:form>
            <ipf:screen title="Hello World Application">
                    <ipf:label text="Hello World!"/>
            </ipf:screen>
    </ipf:form>
  2. Create the WAR web application bundle through the preferred path.
  3. Deploy “Hello World” to your application test server in a standard way.

4. Launching the “Hello World!“ application on your mobile device

  1. on iPhone: open iPhone settings and enter your application url in iPFaces settings item. Then launch your first iPFaces application!
  2. on Android: open Android settings and enter your application url in iPFaces settings item. Then launch your first iPFaces application!
    Hello world
  3. on BlackBerry: launch application and set your application url in iPFaces settings menu. You are all set and should see your fist iPFaces application!
  4. on phone with Java: launch application and set your application url in iPFaces settings menu. You are all set and should see your fist iPFaces application!
See also: