Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EDT:SettingUpForMobile"

Line 1: Line 1:
To develop a mobile application with EGL on a Windows platform, do as follows:  
+
To develop a mobile application with EGL on a Windows platform, do as follows:<br>
  
<br>  
+
#Ensure that you are using a 32-bit version of Eclipse, even if you are working on Windows 7.&nbsp; You can fulfill this requirement by downloading an all-in-one EDT build from the following page: [http://www.eclipse.org/edt/#download http://www.eclipse.org/edt/#download].<br><br>Before accessing a nightly EDT build, download Eclipse 3.7.2 from [http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr2 here]. For details on accessing the EDT nightly build, see the EDT download page just mentioned. <br><br>
 +
#Download Apple Safari, which includes a version of the WebKit layout engine:&nbsp; [http://www.apple.com/safari/download/ http://www.apple.com/safari/download]. <br><br>
 +
#Configure your PATH variable to include the Apple Application Support directory.&nbsp; For example, on Windows 7, the directory might be as follows:&nbsp; <br>C:\Program Files (x86)\Safari\Apple Application Support.<br><br>
 +
#When you have configured a 32-bit version of Eclipse to include EDT, set the following defaults: <br><br>a.&nbsp; Set the preference for EGL Rich UI render engine. Specifically, click '''Window''' &gt; '''Preferences''', then expand '''EGL''' and '''Rich UI''' and, at the bottom of the '''Appearance''' page tab that is labeled '''General''', click '''WebKit'''.<br><br>b. Set the preference for browser size. For example, at the '''Appearance''' page tab that is labeled '''Browser size''', set the vertical size to 800 and the horizontal size to 400.
  
#Ensure that you are using a 32-bit version of Eclipse, even if you are working on Windows 7.&nbsp; You can fulfill this requirement by downloading an all-in-one EDT build from the following page: [http://www.eclipse.org/edt/#download http://www.eclipse.org/edt/#download].<br><br>Before accessing a nightly EDT build, download Eclipse 3.7.2 from [http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr2 here]. For details on accessing the EDT nightly build, see the EDT download page just mentioned. <br>
+
<br> Also note that you can use widgets of the following kinds:<br>
#Download Apple Safari, which includes a version of the WebKit layout engine:&nbsp; [http://www.apple.com/safari/download/ http://www.apple.com/safari/download]. <br>
+
#Configure your PATH variable to include the Apple Application Support directory.&nbsp; For example, on Windows 7, the directory might be as follows:&nbsp; <br>C:\Program Files (x86)\Safari\Apple Application Support.<br>
+
#When you have configured a 32-bit version of Eclipse to include EDT, set the following defaults:<br><br>
+
** Set the preference for EGL Rich UI render engine. Specifically, click Window > Preferences, then expand EGL and Rich UI and, at the bottom of the Appearance page tab that is labeled General, click WebKit.
+
** Set the preference for browser size. For example, at the Appearance page tab that is labeled Browser size, set the vertical size to 800 and the horizontal size to 400.
+
  
 +
*EGL Dojo mobile widgets, which are in the dojo.mobile.widgets package.
 +
*EGL widgets in the org.eclipse.edt.rui.widgets.* package.<br>
  
<br>
 
  
<br> use the EGL mobile widgets in the dojo.mobile.widgets package.
 
  
Use of the EGL Dojo mobile widgets requires that you use the WebKit renderer, which is on Apple Safari.
+
You cannot use the EGL Dojo widgets that are in the dojo.widgets package.<br>

Revision as of 16:49, 2 July 2012

To develop a mobile application with EGL on a Windows platform, do as follows:

  1. Ensure that you are using a 32-bit version of Eclipse, even if you are working on Windows 7.  You can fulfill this requirement by downloading an all-in-one EDT build from the following page: http://www.eclipse.org/edt/#download.

    Before accessing a nightly EDT build, download Eclipse 3.7.2 from here. For details on accessing the EDT nightly build, see the EDT download page just mentioned.

  2. Download Apple Safari, which includes a version of the WebKit layout engine:  http://www.apple.com/safari/download.

  3. Configure your PATH variable to include the Apple Application Support directory.  For example, on Windows 7, the directory might be as follows: 
    C:\Program Files (x86)\Safari\Apple Application Support.

  4. When you have configured a 32-bit version of Eclipse to include EDT, set the following defaults:

    a.  Set the preference for EGL Rich UI render engine. Specifically, click Window > Preferences, then expand EGL and Rich UI and, at the bottom of the Appearance page tab that is labeled General, click WebKit.

    b. Set the preference for browser size. For example, at the Appearance page tab that is labeled Browser size, set the vertical size to 800 and the horizontal size to 400.


Also note that you can use widgets of the following kinds:

  • EGL Dojo mobile widgets, which are in the dojo.mobile.widgets package.
  • EGL widgets in the org.eclipse.edt.rui.widgets.* package.


You cannot use the EGL Dojo widgets that are in the dojo.widgets package.

Back to the top