This page is marked for deletion.  The functionality has been deprecated.


In this post, you’ll learn how to publish Fiori base URL as an Android app in SAP Mobile Secure.  In addition, I’ll show you how to run the app from SAP Mobile Place on an Android device.

Requirements

  • SAP Mobile Secure 2.7
  • Keystore tool (e.g. Java 1.7, Android Studio, Eclipse, etc.)

Let’s get started!

Before adding application to SAP Mobile Secure, let’s create our app signing requirement.  In order to sign the app that will be created by Fiori build service, we’ll need to create a java keystore file.  I’ll be using command version of Java Keytool.  Alternatively, you can generate a keystore file using an IDE.  Please note, that the file extension must be .keystore.

How to use Java Keytool

Usage:

keytool -genkeypair -alias <KeyStoreAliasName> -keypass <KeyStorePassword_6_Char_or_more> -keystore <KeystoreFileName.keystore> -storepass <KeystorePassword> -dname <”CN=Firstname Lastname, OU=OrgUnit O=Org, L=City, S=State, C=Country” –sigalg <> -keyalg <DSA, DES, RSA> -keysize <56, 168, 256, 1024, 2048 > -validity <YEAR>

Example:

keytool -genkeypair -alias sap123 -keypass sap123 -keystore fiori.keystore -storepass sap123 -dname “CN=Dhimant Patel, OU=RIG O=SAP, L=Chicago, S=IL, C=US” -sigalg MD5withRSA -keyalg RSA -keysize 2048 -validity 99

Secure the keystore file and password as we’ll be using it when adding Fiori App to SAP Mobile Secure.

/wp-content/uploads/2015/04/keytool_usage_678568.jpg

Add Application to SAP Mobile Secure App Catalog

Okay, now we are ready to add Fiori type application to SAP Mobile Secure.

1. Login to SAP Mobile Secure

/wp-content/uploads/2015/04/mobsec_login_678576.jpg

2. Click Add new application

/wp-content/uploads/2015/04/mobsec_add_app_678577.jpg

3. Select Application Type as Fiori Application (and click Next)

/wp-content/uploads/2015/04/mobsec_fiori_app_678578.jpg

4. In Details section, provide Name (e.g. E2E Mobile Cloud Demo App); other fields are optional

/wp-content/uploads/2015/04/mobsec_add_app2_678629.jpg

5. Multimedia – optionally provide app icon and Banner image (only required if app will be featured in SAP Mobile Place)

/wp-content/uploads/2015/04/mobsec_add_app3_678580.jpg

6. Categories – select a Category (where this app be listed under); simply drag-n-drop from Available to Selected

/wp-content/uploads/2015/04/mobsec_add_app4_678581.jpg

7. Owner info – add additional app owners (co-owners who can manage this app’s lifecycle)

/wp-content/uploads/2015/04/mobsec_add_app5_678582.jpg

8. Supported Platform – click Get Started to add platform type

/wp-content/uploads/2015/04/mobsec_add_app6_678583.jpg

9. Add new platform > Info

  1. OS Platform – Android
  2. Base URL – https://demo-fioritrial.dispatcher.hana.ondemand.com/sap/hana/uis/clients/ushell-app/shells/fiori/FioriLaunchpad.html
  3. Icon – optional
  4. Splash Screen – optional

/wp-content/uploads/2015/04/mobsec_add_app7_678587.jpg

10. Add new platform > App Signing

  1. Keystore file – Upload your keystore file
  2. Keystore password – input keystore password
  3. Keychain alias – input keychain alias

/wp-content/uploads/2015/04/mobsec_add_app8_678588.jpg

11. Add new platform > Multimedia (optional)

/wp-content/uploads/2015/04/mobsec_add_app9_678589.jpg

12. Add new platform > Documents (optional)

/wp-content/uploads/2015/04/mobsec_add_app10_678590.jpg

11. Add new platform > Trial Users (click OK)

/wp-content/uploads/2015/04/mobsec_add_app11_678591.jpg

12. Click OK (the Fiori build service is generating our .apk on the fly).

/wp-content/uploads/2015/04/mobsec_add_app12_678605.jpg

13. Once the app is uploaded, click action button to set the app to production so users can view and install application from SAP Mobile Place.

/wp-content/uploads/2015/04/mobsec_add_app14_678630.jpg

Congratulations!  You have successfully added the Fiori app in the App Catalog.

/wp-content/uploads/2015/04/mobsec_add_app15_678606.jpg

Install Application from SAP Mobile Place

Next, we’ll browse the SAP Mobile Place and install our app on Android mobile device.

1. Login to SAP Mobile Place

/wp-content/uploads/2015/04/mobplace_app0_678617.jpg

2. Browse App Catalog – Upon login your app may appear as featured (with banner and link to app).  In addition, your app will be displayed in category you selected when adding app to Mobile Secure’s app catalog.

/wp-content/uploads/2015/04/mobplace_app1_678631.jpg

3. Click the App for details and install option (click Install)

/wp-content/uploads/2015/04/mobplace_app2_678659.jpg

4. The application is pushed down to the device and by default it will be in the Downloads folder.  Begin to install the app.

/wp-content/uploads/2015/04/mobplace_app6_678662.jpg

5. Open app (you’ll see the splash screen (if added)) and Fiori base url will open.

/wp-content/uploads/2015/04/mobplace_app11_678664.jpg

About SAP Mobile Secure

For more information on this topic, head over to SAP Mobile Secure Cloud.

You can start your free 30-day trial of SAP Mobile Secure today!

To report this post you need to login first.

5 Comments

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

  1. Adrian Chan

    This is not working anymore?
    In steps 3, don’t have the Fiori Application to select.
    Previously still have that selection.
    Any idea is it removed?

    (0) 
    1. Dhimant Patel Post author

      Hi, the functionality is being updated and will soon be available as Fiori Mobile Service via license purchase.  Please consult your account manager for more information on how you can obtain Fiori Mobile Service.

      (0) 
      1. Adrian Chan

        Hi,
        I see. But I’m using a registered account not trial account, it doesn’t have the function as well. Do you have any idea when Fiori Mobile Service will be available?
        Thanks.

        (0) 
        1. Dhimant Patel Post author

          Hi Adrian, sorry for the inconvenience.  The functionality is being depricated and thus is no longer available in trial or productive landscape.  Please consult your account manager on how you can obtain Fiori Mobile Service.  Thanks.

          (0) 

Leave a Reply