Skip to Content
Author's profile photo Midhun VP

HWC mobile app development for dummies – Part 1

Note: This is a very old blog. During the last couple of years things have changed so this approach to app development is no more recommended. So, please do not follow this blog.

Download Source Code

Setup mobile development environment

In this blog series I am building a mobile application from scratch using Sybase Unwired Platform 2.2 SP02 to get a list of available flights in mobile.

The Hybrid Web Container based application uses Mobile Business Objects ( MBOs ) that access a SAP database. The application will allow the mobile app user to check the details of flights from different vendor. I will then add some advanced customization to make the look and feel better.

This is the 1st part of this series. Other parts are:

Part 2- Starting SUP Development

Part 3- Developing a Hybrid Web Container Application

Part 4- Deploying a Hybrid Web Container Application

Part 5- Register Device and Assign User for Hybrid App

Part 6- Test Application on Device

droidAtScreen-478.png

Hybrid web container is one type of mobile application that can be developed using Sybase Unwired Platform. It is very easy to develop and deploy  that involves zero coding. I am going to use a Netweaver gateway on ABAP 7.40 trial and SUP 2.2 trial. So for those who don’t have servers or software to test with don’t worry SAP is providing you with everything.

In order to start with the development, register for the trial version of SUP and Netweaver Gateway system. You can follow this series if you own a SUP and SAP server too.

Link to register 30 day SUP trial: http://scn.sap.com/community/developer-center/mobility-platform. This trial was discontinued by SAP recently, they are working on SMP3 trial now.

ScreenHunter_01 Nov. 13 23.09.jpg

Link to register for Netweaver Gateway trial: http://scn.sap.com/community/developer-center/netweaver-gateway

ScreenHunter_03 Nov. 24 19.23.jpg

In the SAP provided development environment everything is ready; SUP server, Sybase SDK (Software Development Kit), Android and Blackberry Simulators and SAP GUI.

1. Login to the SUP cloud share system.

Untitled.jpg

    2. Run the Sybase Unwired Workspace from desktop. When the workspace starts up it will prompt for a location for the workspace. Give a path where the projects to be stored.

workspace - Copy.jpg

    3. Connection from the SDK to SAP server is required in order to create MBOs using RFCs. In the Enterprise Explorer tab expand SAP Servers > Right Click on “DevCenter ERP <…> > Properties> Navigate to SAP Connection Properties>Provide the SAP username and password send to you via mail after          registering for NW gateway> Click on test connection, you will get a ping succeeded message!.

/wp-content/uploads/2013/11/connections_328130.jpg

SAP ping.jpg

4. Above steps to be repeated for connecting unwired server also. The default username and password of Unwired Server is “supAdmin” and “s3pAdmin”.

SUP test connection - Copy.jpg

Conclusion

We have made the unwired server and SAP server connections from SDK to start with the development. Lets see how to develop Mobile Business Objects in part 2 of this series.

 

Assigned tags

      12 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Jitendra Kansal
      Jitendra Kansal

      great !!! good series of a simple HWC app approach. it gives a clear understanding how to start with hybrid app development. good work.

      Regards,

      Jitendra

      Author's profile photo Midhun VP
      Midhun VP
      Blog Post Author

      Thanks for your comments JK.

      Author's profile photo Uday M
      Uday M

      Great work Midhun !! Very useful, Thanks for sharing ...

      Is it possible to develop the same with SMP 3.0 ...Have you explored it.

      Author's profile photo Midhun VP
      Midhun VP
      Blog Post Author

      Thanks for your comments. I didn't get SMP 3.0 in my hands yet to try 😉 . The SMP 3.0 product is in ramp up stage and it is available for testing only for partners. Hopefully I think I can put my hands in SMP 3.0 in teched, bangalore. HWC will be supported in SMP 3.0 and this app should work with it.

      - Midhun VP

      Author's profile photo Former Member
      Former Member

      great! can can we post an article like this for native applications? The "sup 101" series are very bugged and incomprensible!

      Author's profile photo Jitendra Kansal
      Jitendra Kansal

      Ignazio Calo'

      for android native app development you can check: http://scn.sap.com/docs/DOC-46101

      for BB native app development you can check here.

      Author's profile photo Midhun VP
      Midhun VP
      Blog Post Author

      Thanks for your comments Ignazio. I have plans to write a similar series for Android too, that helps all newbies.

      - Midhun VP

      Author's profile photo Former Member
      Former Member

      Great Job buddy!!! Appreciate your work. And also expecting a blog form you on SAP TechEd13 for SAP Mobility.

      Author's profile photo Sumeet Shahapeti
      Sumeet Shahapeti

      Great Post

      Regards

      Sumeet S

      Author's profile photo Former Member
      Former Member

      Hello Midhun,

      I'm late in the race Just trying your blog posts Can I know updated like for SUP  trial link ?

      as below link is not working :Link to register 30 day SUP trial: http://scn.sap.com/community/developer-center/mobility-platform.

       

      regards

      Hasi

      Author's profile photo Midhun VP
      Midhun VP
      Blog Post Author

      This is a very old blog. During the last couple of years things have changed so this approach to app development is no more recommended. So, please do not follow this blog.

       

      Author's profile photo Former Member
      Former Member

      Thanks very much for the reply Midhun,

      It would be glad if you can ping here the new approach to Mobile platform and also the Trail system link for SUP.. thanks in adv in reply this. Hasi