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 4: Line 4:
 
#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>  
 
#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><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C:\Program Files (x86)\Safari\Apple Application Support<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><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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''', you might set the vertical size to 800 and the horizontal size to 400.
+
#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''', you might set the vertical size to 800 and the horizontal size to 400.<br>
 +
#Note that you can use widgets only of the following kinds:
  
Also note that you can use widgets only of the following kinds:
+
**EGL Dojo mobile widgets, which are in the dojo.mobile.widgets package.
*EGL Dojo mobile widgets, which are in the dojo.mobile.widgets package.  
+
  
*EGL widgets that in the org.eclipse.edt.rui.widgets package.
+
**EGL widgets that in the org.eclipse.edt.rui.widgets package.
  
You cannot use the general EGL Dojo widgets, which are in the dojo.widgets package.
+
:You cannot use the general EGL Dojo widgets, which are in the dojo.widgets package.  
  
 
&nbsp;&nbsp;&nbsp;  
 
&nbsp;&nbsp;&nbsp;  
  
 +
<br>
  
 +
<br>
  
 
+
<br>
 
+
 
+
  
 
<br>Here are details for a Linux platform:  
 
<br>Here are details for a Linux platform:  
  
 
*If you're using Eclipse 3.6, ensure that webkit-gtk 1.2.x installed and then do as follows: <br><br>a.&nbsp; Access your Eclipse installation directory and add the folloiwng line to eclipse.ini:<br><br>-Dorg.eclipse.swt.browser.UseWebKitGTK=true<br><br>b.&nbsp; After opening Eclipse, click '''Window''' &gt; '''Preferences''', expand '''EGL''' and '''Rich UI''' and, at the bottom of the '''Appearance''' page tab that is labeled '''General''', click '''User configured'''.<br>  
 
*If you're using Eclipse 3.6, ensure that webkit-gtk 1.2.x installed and then do as follows: <br><br>a.&nbsp; Access your Eclipse installation directory and add the folloiwng line to eclipse.ini:<br><br>-Dorg.eclipse.swt.browser.UseWebKitGTK=true<br><br>b.&nbsp; After opening Eclipse, click '''Window''' &gt; '''Preferences''', expand '''EGL''' and '''Rich UI''' and, at the bottom of the '''Appearance''' page tab that is labeled '''General''', click '''User configured'''.<br>  
*If you're using Eclipse 3.7, ensure that either webkit-gtk 1.2.x or 1.4.x is installed and then do as follows:&nbsp; click '''Window''' &gt; '''Preferences''', expand '''EGL''' and '''Rich UI''' and, at the bottom of the '''Appearance''' page tab that is labeled '''General''', click '''Webkit'''.&nbsp; <br>
+
*If you're using Eclipse 3.7, ensure that either webkit-gtk 1.2.x or 1.4.x is installed and then do as follows:&nbsp; click '''Window''' &gt; '''Preferences''', expand '''EGL''' and '''Rich UI''' and, at the bottom of the '''Appearance''' page tab that is labeled '''General''', click '''Webkit'''.&nbsp; <br>  
 
*The EDT team has not tested recent versions of Eclipse, which might support newer versions of webkit-gtk.<br><br>
 
*The EDT team has not tested recent versions of Eclipse, which might support newer versions of webkit-gtk.<br><br>
 +
*#Note that you can use widgets only of the following kinds:
 +
 +
**EGL Dojo mobile widgets, which are in the dojo.mobile.widgets package.
 +
 +
**EGL widgets that in the org.eclipse.edt.rui.widgets package.
 +
 +
:You cannot use the general EGL Dojo widgets, which are in the dojo.widgets package.
 +
 +
&nbsp;&nbsp;&nbsp;

Revision as of 12:54, 3 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, you might set the vertical size to 800 and the horizontal size to 400.
  5. Note that you can use widgets only of the following kinds:
    • EGL Dojo mobile widgets, which are in the dojo.mobile.widgets package.
    • EGL widgets that in the org.eclipse.edt.rui.widgets package.
You cannot use the general EGL Dojo widgets, which are in the dojo.widgets package.

   





Here are details for a Linux platform:

  • If you're using Eclipse 3.6, ensure that webkit-gtk 1.2.x installed and then do as follows:

    a.  Access your Eclipse installation directory and add the folloiwng line to eclipse.ini:

    -Dorg.eclipse.swt.browser.UseWebKitGTK=true

    b.  After opening Eclipse, click Window > Preferences, expand EGL and Rich UI and, at the bottom of the Appearance page tab that is labeled General, click User configured.
  • If you're using Eclipse 3.7, ensure that either webkit-gtk 1.2.x or 1.4.x is installed and then do as follows:  click Window > Preferences, expand EGL and Rich UI and, at the bottom of the Appearance page tab that is labeled General, click Webkit
  • The EDT team has not tested recent versions of Eclipse, which might support newer versions of webkit-gtk.

    1. Note that you can use widgets only of the following kinds:
    • EGL Dojo mobile widgets, which are in the dojo.mobile.widgets package.
    • EGL widgets that in the org.eclipse.edt.rui.widgets package.
You cannot use the general EGL Dojo widgets, which are in the dojo.widgets package.

   

Back to the top