Goal: Deploy the SUP101 application to the iPhone Simulator for testing.
Prerequisites
Have a registered device user in Sybase Control Center.
You must be connected to the server where the mobile application project is deployed.
Task- In XCode, select .
The project builds and the iPhone Simulator starts.
- In the Settings screen of the iPhone simulator, choose SUP101 and enter the connection settings:
- ServerNameSetting – the machine that hosts the server where the SUP101 mobile application project is deployed.
- ServerPortSetting – Unwired Server port number. The default is 5001.
- CompanyIDSetting – the company ID you entered when you registered the device in Sybase Control Center, in this case, 0.
- UserNameSetting – the user you registered in Sybase Control Center, user1.
- ActivationCodeSetting – the activation code for the user, 123.
- In the iPhone applications screen, open the SUP101 application.
- Click Subscribe.
The customer list appears.
- Select a customer record from the customer list and double-click to open the detail view.
The customer detail shows the fields: First Name, Last Name, and Phone.
- Change the First Name to something else, and click Submit.
- You return to the customer list screen, where the changed record appears with an indicator.