Skip to Content
Technical Articles
Author's profile photo Jitendra Kansal

Explore the MDK Showcase apps

We have now made MDK Showcase apps available which demonstrate a specific feature or functionality within the MDK. These apps were originally built by our engineering team to demo a specific MDK feature and we decided to let our community benefit from it as well.

These apps are not intended as a full end-to-end application like what we have covered in tutorials (if you haven’t got a chance to try these out, we do highly recommend doing so).

Following are the first two showcase apps, and we will continue to add more over time:

  • Image Handling – learn how to store media entity to your offline store, download the media out from the offline store, display the media
  • PDF Generation – learn how to generate PDF document using 3rd party open source library : pdfmake
  • Print and QR Codes– learn how to generate QR code (image) from text and print the image using non-UI NativeScript Plugin

These apps are made available under the SAP Sample Code license, which essentially means they are provided as-is, no warranties. Feel free to grab and reuse the portions of the app that seem useful to you.

https://github.com/SAP-samples/cloud-mdk-samples/tree/main/Showcase_Apps

Assigned tags

      4 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Francisco José Carrasco Valverde
      Francisco José Carrasco Valverde

      Many thanks Jitendra. I'm pretty sure they will be very useful for our community. You guys do an amazing job !!!

      Author's profile photo Francisco Acuña
      Francisco Acuña

      Hi Jitendra Kansal

      This will be very helpful as many developers have been having issues regarding media handling in MDK. I did notice a slight bug in the demo 'ImageHandlingApp' you uploaded, if you create a new product with image it works perfectly fine but if you try to create other new products after that one the same first picture gets uploaded over and over again instead of the newly captured ones, even after having performed a sync operation.

      I replicated this process in a personal app and the same issue persisted, I made sure to call a CloseModal_Complete action after the successful creation of the media entity too.

       

      Author's profile photo Ming Kho
      Ming Kho

      Hello Francisco Acuña, there is a bug with the created media entity where the value for the key properties (ProductId) is not stored as expected after the entity is created.

      I have added a workaround to the showcase app:

      https://github.com/SAP-samples/cloud-mdk-samples/pull/4/files

      Feel free to give it a go and see if that works for you too

      Author's profile photo Jitendra Kansal
      Jitendra Kansal
      Blog Post Author

      Added reference to the new showcase app: PDF Generation