Currently Being Moderated

In this tutorial, I have use SUP server, SDK tools and android simulator to help me build the hybrid container. and this environment are available in cloudshare,com for free, (not technical free, 30 days trial environment). and to help understand more about Sybase,I listed down the webpages where it help me to understand the Mobile Business Object(MBO), Hybrid container, Sybase Unwired Platform (SUP) server, Sybase Unwired workspace and sybase control center. and I have attach the tutorial document at the bottom of the of the page.  


Mobile Business Object (MBO)


Hybrid Container


Sybase Unwired Workspace.


Sybase Control Center




How to Create Mobile Business Object build a Native Hybird Web Container.

Sap have set up a cloud environment in to allow developer to experience mobile apps building for 30 days, as long as you have enquire a SCN member account. These VM environment will include:

-SAP Mobile Platform Server

-SAP Mobile Platform Development Tools (SDK)

-Android emulator ( Andriod 2.2)

Get into SAP community Network and search for SAP for mobile, there will be a lot of user or developer posting or comment on blog for sap mobile.

Click on this webpage, and it will lead you to

SAP Mobile Academy- Getting Started


Click On the arrow, it will lead you to SAP Developer Center- End user License Agreement for Sybase Unwired Platform (SUP).


Click on ‘I Have Read And Agree’ button, this will lead you to a submit page, press submit, the development team will send a activation e-mail to your personal e-mail, after the email it will lead you to registration screen. 


Fill in the detail and you are good to go!!!!

  1. will show the VM environment to show up in the screen.



Click on ‘More Detail’ if you want to see the VM environment detail or wish to use Remote Desktop Connection. It will show up the screen.


Click on the ‘View Machine’. You can start your development environment.


Explore the icon on the VM environment, click on the icon ‘Start Sybase Unwired Platform Service’ and it will show up the screen like below


After the server is fire up, click on the ‘Sybase Control Center’ with explorer icon. And it will show you a login page for Sybase server.


User name: supAdmin

Password: s3pAdmin

After login into the control center, you will notice the local server will be running.


After the login, please do not close the window. Simple minimize it and click on ‘Sybase Unwired Workplace’ icons also known as SAP mobile development tools (SDK). 

Select File > New > Mobile Application Project


It will pop up the “New Mobile Application Project” Screen

Type In the name of the project then click finish.

Right click on the ‘Mobile Application Diagram’

And it will show a pop up screen like below:

And ‘switch Developer profile’ from basic to advance

And you will see the project build on the left top corner of the screen and it will have more function in the screen.



Click On the ‘Database Connections’

Click on ‘My Sample Database’

Click on ‘Tables’

You will find that there will be a lot of sample data are prepare by SAP for us to explore or play around with when we trying to build mobile apps. And for this project I will use customer tables to put into the mobile business object (MBO).

Drag and drop ‘Customer’ Table from ‘my sample database’ in to ‘Mobile application diagram’,

And it will show a ‘Quick Create’ window. And you will see there is a select statement in the window


Deselect all “create, update and delete” this function which is use for database implementation. Which we are not using it in this practice.

Press Ok. And it will show the Mobile Business Object in the ‘Mobile Application Diagram”

And it will look like below.


And Mobile Business Object are ready to deploy.

Right click in ‘Mobile Application Diagram’

And click on ‘deploy project’



It will show up “Deploy Mobile Application Project’ window.


Change “Replication-Based’ button to ‘Message-Based’ button which it only allow end-user to view the object as it is.

Press next till the ‘Target Server’ screen.


Click on ‘My Unwired Server’, and it will connect to the Sybase unwired server which we have set up at first. Press next again and select ‘My Sample Database’ in ‘Server Connection Mapping’ screen.


Click on the row under ‘Server Connection’ and select ‘sampledb’.

Then press next, then finish. And the deployment will send to Sybase Unwired Server.

And basically we have built a MBO and send the deployment to the server.

Create Hybrid container.

After the deployment, right click on the title of your MBO where it located under the ‘Workspace Navigator’ for me which is ‘BCO6181’


Select New > Select Hybrid Web Container

And it will show up a ‘mobile work flow Form editor’


Type in the name u wan for hybrid container. Press ‘Next’

And will lead you to starting point and this will indicated how the mobile business object started, select the button next to ‘Can be started, on demand, from client’ which will allow client started on demand.

After this it will lead you to a .xbw file which will display next to Mobile application diagram.

And you will see


After this open up the mobile business object section and drag the customer table from the MBO and drop it into .xbw file. After that you will see the customer table screen in .xbw window. Next thing, we have to connect it together.


Double Click on the ‘start screen’ and it will bring you to the ‘screen design’ window.

Click on “MenuItem’ and click on the ‘cancel screen’



And this will allow you to put a title on the screen


And it will show the screen like above.

Click on ‘Properties’  tab underneath ‘screen design’ row.

Click on the bar next to ‘type’ and switch ‘Save screen’ to ‘Online request’



Click the search button


And click search again, and the Customer will show in the row. ( this will allow us to search the MBO where we deploy into the server)

Click on customer and click ok.

It will back to ‘Properties’ Tab, click on button ‘Invoke Object Query’ and on ‘object query’ select ‘findall’

Under ‘Show crudential screen on authentication failure’

Type in ‘No Customer here Yet’ under ‘Submit error message’ And click on ‘Generate Error Screen’



And under ‘Default success screen’ select customer.

Then click on ‘Flow design’ tab, you will see the start screen and the customer table screen are connect to each other like below.


And now the hybrid container are ready to deploy. But we need to register the device in Sybase Control center. Go to Sybase control center and click on ‘Application’ under Unwired Platform Cluster Tab.  Click On ‘Application Connection’ Tab and click on register. 



Put in the user detail, Can be anything.

Put in the IP address on the server name, where you can search under environment detail. And this IP address will be used in the android simulator.

And click on ‘Specific code’ put in ABC123.

Click on ok.

And it will show your user is pending activation under status. Leave it as it is, and open up the android stimulator in the VM environment.


Click on SUPHybridContainer and click on start.

And ‘Launch’ it.

Click on the Hybrid container icon on the Android Screen.

Put in the Password in the screen


Password will be the same as specific code. ABC123. And click ok

And it will lead to a server registration page. Put in the IP address as the same as  Sybase Unwired Platform server.

Leave Port as it is.

Enter 0 under Farm ID.

Enter User Name as the same in Sybase control center.

Activation Code will be ABC123.


And click on menu button.

Click on Show Log


It will show up the connection log.

And it will connect the server with the stimulator, can double checking the Sybase control center. You will notice the status will change connect to android stimulator.

Now back to Sybase Unwired Workspace and deploy the hybrid container. 

Right click on the .xbw tab. And click on ‘Generate Mobile Workflow Package’



Check on the unwired server profile is under My Unwired Server

And tick on the ‘Assign workflow to user’ click on ‘Get User’ and it will automatically get the username from the server (this will generate the user where it register in the designated server in SUP). And Click finish. And the deployment to server is done.

Open up the Android stimulator again.  Click on back button till you got to the  no message screen.

And click on menu. And you will see there is a hybrid container icon pop up on the bottom of the screen.

Click on it.

Click on the title.

And due to we haven’t design on start screen, it will look plain.

Click on get customer.

And you are successfully create a hybrid container and deploy to android stimulator.

Thank for joining me.




Filter Blog

By author:
By date:
By tag: