Mobile SDK > Connected mobile application example requirements, installation, and configuration > Importing the mobile application example source code
 
Importing the mobile application example source code
The IBMMobileSurveys.zip file can be extracted with any compressed file editor, or the compressed file can be imported directly into the Eclipse IDE with the File > Import feature.
1 Extract the IBMMobileSurveys.zip contents to a IBMMobileSurveys directory. The directory can be in the same directory as the IBMMobileSurveys.zip source file.
2 In IBM MobileFirst Platform Studio, create a new MobileFirst project from the File > New > MobileFirst Project menu.
3 In the New Project dialog, set the Name to IBMMobileSurveys, select Hybrid Application from the Project Templates list, and then click Next.
The Hybrid Application page displays.
4 In the Hybrid Application page, set the Application name to IBMMobileSurveys, and then click Configure JavaScript Libraries.
The JavaScript Libraries page displays.
5 In the JavaScript Libraries page, select the Add Dojo Toolkit option, ensure that dojoLib is selected as the Dojo library project, and then click Finish.
The Application settings page displays.
6 On the Application settings page, click Finish.
Eclipse generates the MobileFirst project.
7 Click OK on the Rich Page Editor dialog, and then click Yes on the Open Associated Perspective dialog.
8 In Eclipse, select File > Import, expand the General folder, select the File System folder, and then click Next.
The Import dialog displays.
9 In the Import dialog:
Select the extracted IBMMobileSurveys folder, and then click Select All.
Verify that IBMMobileSurveys is entered as the Into folder value.
Select Overwrite existing resources without warning, and then click Finish.
The mobile application example source code is imported into Eclipse.
See also
Connected mobile application example requirements, installation, and configuration