Hello Developers,


Week 4 openSAP course Developing Mobile Apps with SAP HANA Cloud Platform was started with 


  • Introduction on HCP and Mobile services,
  • different security options (Basic, SSO),
  • deep dive into Kapsel plugins, how to setup cordova enviroment
  • Online, offline, Flush, Refresh concept in a mobile application development
  • Deploying an app to Emulator, device.
  • Push notifications

1.JPG

My findings:

1. I always test on-boarding flow, CRUD operation via REST API App development prior to test in a mobile device(Tools required: Advanced REST Client /POSTMAN 3.0/Fiddler)

2. Secure Hybrid Landscape: Cloud to on-premise

3. Watch replay of TechEd live on HCP and its mobile services, upcoming features.

4. If you dont have a corporate identity management infrastructure, use SAP ID service.

5. User authentication against HCPms? Its your choice. None, Form,  Basic, Certificate, OAuth (Reference)

  • Basic Authentication: Against SAP ID service
  • FORM : Connecting to Idp with SAML 2.0

6.Authentication to backend system? Again, its your choice. Options are:

     2.JPG

7. skim SCIM protocol is for providing BASIC auth against the back-end system (on-premise). Its not activated on TRIAL account. I wish there could be some demo or exercise on this feature.

8. Best guide to learn on Kapsel concept . Everything is here. A ton of thanks to Dan.

9. Cordova platform add ios/android/wp8

10. Kapsel cornerstone plugin – Login Plugin 🙂

11. RegisterForNotificationTypes>Going to kick off push notification process

12. Hybrid Templates are provided for:

  • SAPUI5 Master Detail Kapsel Application
  • SAPUI5 Mobile Kapsel Application project
  • SAPUI5 Master Details with Photos
  • SAPUI5 Master Detail Kapsel Offline Application

13.  There is a dependency on LOGON MANAGER kapsel plugin for other plugins like AppUpdate, Logger, Push, AuthProxy, Offline OData, End to end trace

14. Deploying an App to an Emulator/Device >Run on Android &iOS, support for Windows devices in future

15. Push notifications are game changer for mobility, brought mobility to a whole other level ~ Jeff

16.  Correct URL to on-board a user on HCPms:

          https://hcpms-<SCNuserid>trial.hanatrial.ondemand.com/odata/applications/latest/<Application>/Connections

17. Before pasting the payload in the BODY section of REST client, make sure it has formatted correctly. Free Online XML Formatter – FreeFormatter.com

18. HCPms host to be passed in Project Settings>Device Configuration : hcpms-<SCN id>.hanatrial.ondemand.com

19. Remove <GCM sender ID> from the code given for push notification in case of APNS. Leave an empty string (“”).

20. Highlight the given code in the web ide by right clicking>Beautify.

21. Google Developers portal for Android: Add Google Services &amp;nbsp;|&amp;nbsp; Google Developers

        Apple: https://developer.apple.com/membercenter/

22. To see PREVIEW options: Right click on index.html not project name.

23. Sometimes this url can help you if you are behind a proxy. Check your proxy settings | AmIBehindAProxy.com

24. Preview vs Run

    3.JPG

Pre-requisite: You must have configured device properties.

          (Ref: TechEd session)

25. Deploy a hybrid app to HCPms or SMP so that  app updates can be pushed to a registered device with the kapsel AppUpdate mechanism. (Only the HTML5 part of the application will be updated in the mobile app, no need to reinstall or update the entire mobile app)

Pre-requisite:

    • You must have selected AppUpate and Logon Manager Kapsel plugins in DEVICE configuration for the project.
    • Mobile App must be installed on the device and registered in HCPms/SMP (prior to be able to deploy)      

Thanks Jeff Gebo and entire openSAP team for this valuable course.

You can ask your queries in discussion section of this course.

For more info,follow

SMP and HCPms: SMP Developer Center

SAP Web IDE, SAP HAT : SAPUI5 Developer Center

SAP HCP : SAP HANA Cloud Platform Developer Center

SAP HANA Cloud portal: SAP HANA Cloud Portal

Week 1: SAP Mobile strategy -openSAP-Developing mobile apps with HCP-Week 1

Week 2: SAP Web IDE deep dive-openSAP-Developing mobile apps with HCP-Week 2

Week 3: Its all about SAP Fiori Client -openSAP-Developing mobile apps with HCP-Week 3

Week 5: Run your mobile app in offline and best practices-openSAP-Developing mobile apps with HCP-Week 5

Week 6: Secure your mobile-openSAP-Developing mobile apps with HCP-Week 6

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply