Java

Integrating Samsung SDK with Eclipse IDE
Technical Docs Jul 11, 2009
1

Version 0.9, Draft




About This Article

This article gives a brief description on how to Integrate Samsung SDK with Eclipse IDE.


Scope

This article assumes that user has installed Samsung SDK and Eclipse IDE.


Reference:

Eclipse Java ME Plugin:

http://www.eclipse-plugins.info/eclipse/plugin_details.jsp;jsessionid=8BA5EB7A632FBF34E453593D330AA75D?id=510


Abbreviations:

 

SDK  Software Development Kit
Java ME  Java Micro Edition

 



Introduction

Eclipse is free open source Multi language software development Integrated Development Environment (IDE) created by the Free Software community  "Eclipse Foundation, Inc".

Samsung SDK is fully compatible and can easily be integrated with Eclipse IDE. Integrating Samsung SDK with Eclipse IDE reduces development efforts and cost by speeding "Time to Market".

This document is divided into two parts.

First part describes on how to download and install the J2ME plug-in. By default, Eclipse IDE has no inbuilt Java ME plug-in. To obtain the Java ME platform on Eclipse IDE, user needs to install the Java ME plug-in in Eclipse IDE.

Second part describes the integration of Samsung SDK with Eclipse IDE. With the help of the Samsung SDK and the Eclipse IDE, users can easily develop Java ME applications within the Eclipse development environment.
 


Note: To illustrate integration of Samsung SDK with Eclipse IDE, Eclipse 3.4.1 and Samsung SDK 1.1 for the Java ME Platform are used here.




Installing Java ME plug-in

In order to install Java ME plug-in in Eclipse IDE, follow the steps mentioned below:

Step 1:
To obtain the Java ME platform on Eclipse IDE, user needs to install the Java ME plug-in in Eclipse IDE.

If in case, you have already installed Java ME Plug-in then you can directly jump to the Integration part.

Click Help >Software Updates to install Java ME plug-in



Step 2:
Software Updates and Add-ons window appears showing two tabs Installed Software and Available Software.

Click Available Software as shown in Figure 2.

Click  Add Site..  button to add the site to install the Java ME plug-in. 



Step 3:
Add Site Dialog Box appears as shown in Figure 3.

Enter the following URL inside the Location field.

Click   OK  button.




Note: http://eclipse.org/updates is the current URL used for updating Eclipse IDE. Change in URL can occur as per the site requirements.



Step 4:
Software Updates and Add-ons window appears.

Available Software tab now reflects the newly added URL http://eclipseme.org/updates.

Select the newly added URL checkbox as shown in Figure 4.
 


Two options are available at the end of the Software Updates and Add-ons window.
 
1. Show only the latest version of available software.
 
2. Include items that have already been installed.

Select one of the required options.

Click  Install  button to install the Java ME plug-in.


Step 5:
Progress Information dialog box appears as shown in Figure 5.

Eclipse IDE calculates the requirements and dependencies to install the selected software. 



Step 6:
Install window appears after calculating the requirements and dependencies as shown in Figure 6.
 


It shows the downloaded items.

Review and confirm the downloaded items before installing them.

Click   Next >  button to install the Java ME plug-in.

Click   Next >  button to install the Java ME plug-in.
 

Step 7:
Review License window appears as shown in Figure 7. Please read the license agreement before installing Java ME plug-in.

Click 'I accept the terms of license agreement' to accept the agreement or else click 'I do not accept the terms of license agreement' if you do not agree.

Click   Finish  button to install Java ME plug-in.

Click   Back  button, to go back to “Software Updates and Add -ons” window.

Click  Cancel  button to exit from Java ME plug-in installation.  



Step 8: 
Install window appears as shown in Figure 8. 



Click  Run in Background   button to install the process in background (not visible to user).

Click  Cancel  button to cancel the installation.

Click  Details >>  button to show the details of installation. 
 

Step 9:
Software Updates dialog box appears in Eclipse IDE after completion of Java ME plug-in as shown in Figure 9. 



Click  Yes  button to restart Eclipse SDK.

Java ME plug-in is now installed.

 

Integrating Samsung SDK with Eclipse IDE

Step 1:
Click Window > Preferences as shown in Figure 10. 



Step 2:
Preferences window appears as shown in Figure 11.

type filter text shows number of options.

Click J2ME node to open its options.

Click Device Management option. 



Step 3:
Device Management option opens up as shown in Figure 12.

Click  Import...  button.



Step 4:
Import Device window appears as shown in Figure 13. 



Click   Browse...  button in Specify search directory field.

Select Samsung SDK directory e.g.C:\Samsung_SDK_11 as shown in Figure 14. 



Click  Refresh  button to extract the Samsung SDK devices.

It shows the list of Samsung SDK devices as shown in Figure 15.

Click  Finish  button.



Step 5:
Device Management window appears as shown in Figure 16.

Select the Samsung device as per your Java ME application.
 


Click  Apply  and then click  OK  button to apply changes in eclipse IDE.


 

Congratulations! Integration of Samsung SDK with Eclipse IDE is done. Now, you are ready to develop your Java ME application in Eclipse IDE using Samsung SDK. Please refer for more tutorials in Getting Started under Knowledge Base.



Downloads

This article can also be downloaded in Word Document and PDF format . Click on the following link to download:
Integrating Samsung SDK with Eclipse IDE
 


Revision history
REVISION HISTORY DATE
First update Jul 11, 2009
go to top