SAP Builders Discussions
Join the discussion -- ask questions and discuss how you and fellow SAP Builders are using SAP Build, SAP Build Apps, SAP Build Process Automation, and SAP Build Work Zone.
cancel
Showing results for 
Search instead for 
Did you mean: 

April (Citizen) Developer Challenge – SAP Build Apps: Task 0

Dan_Wroblewski
Developer Advocate
Developer Advocate

Welcome to the SAP Build Apps Community Challenge, a set of small challenges to help you get to know SAP Build Apps a little better, whether you’re a beginner or experienced user.

The challenges so far:

If you do all the challenges – each taking the time of your lunch hour (but don’t skip eating lunch 🍜) – you will learn a lot:

  • How to set up SAP Build Apps on your trial account
  • How to import projects
  • How to manage the layout of your app
  • How to create a custom menu, and position it anywhere on the screen
  • How to play sounds in your app
  • How to determine if your app is running on the web or on a device
  • How to call APIs
  • How to filter, sort, and paginate your OData calls to SAP backends
  • How to open an external browser
  • How to embed web pages inside your app
  • How to create a full-page background
  • How to open the phone’s camera from your app (and select back or front camera)
  • How to take pictures with your phone and use them in your app
  • How to store pictures in your app
  • How to create transparency, rounded corners and other visual effects
  • … and a lot more.

IMG_5832.PNG

For every one of the challenges, you will be asked to provide:

  • A hashed GUID from the correct answer
  • (Optional) A screenshot of your app, showing modifications we’ll ask you to make.

For these challenges, we will use the hashing service introduced by @qmacro (DJ Adams) for his API challenge back in August. The service lets you take a text string, hash it to a GUID so that we can tell if you were correct but prevent others from seeing the correct answer.

GOOD NEWS: In the skeleton app we will give you, we have taken care of the connection to the service, providing an easy way for you to provide your answer.

Let’s get started.

👉Your Task

Part I – Set Up SAP Build Apps

  • Create a SAP BTP trial account on the US EAST (VA) – AWS region, if you haven’t already. For instructions on setting up an account, see Get a Free Account on SAP BTP Trial.
  • Set up SAP Build Apps on your trial account. Follow this simple 2-minute video:

At the end, make sure you can open the SAP Build lobby.

Dan_Wroblewski_2-1711946842427.png

Installing the app is simple – just search for SAP Build Apps Preview. But for more help watch this 2-minute video:

Make sure to give this app permission to use your device's camera.

REMINDER: With the trial, you will be on the US10 landscape and must log in on the preview app using Other login options.

 

Part II

Next, you will have some fun and make sure everything is connected, and get a little preview of some of the capabilities of SAP Build Apps.

If you want to review the basics of building apps with SAP Build Apps works, feel free to watch the SAP Build Apps playlist (new videos all the time).

  • Download our fun little app. You will use this app for the next 3 challenges. 

Upload the project to SAP Build Apps and open it (you can import projects in the lobby).

Dan_Wroblewski_6-1711947342672.png

  • Inside the project, go to the app variables and set the initial value for the CommunityID to your community ID. This ID enables you to hash your text answers so the GUID you submit is unique to you, and allows us to check that you got it right.

Dan_Wroblewski_14-1711948082642.png

  • Go to the Launch tab:
    • If you have an iOS device, run the app in the SAP Build Apps Preview App on your device – not on your laptop.
    • If you have an Android device, run the the app on the web preview.

20240401_050906893_iOS.png

  • Using the app, take a picture (iOS) or upload a picture (Android). Either way, click Add My Picture.
  • Take a screenshot (showing your picture and community ID).
  • Find on the app a place to tap so that a hidden message is revealed. Use the force to find it. This is the secret message you will need to hash and will automatically be saved for you once you find it.
  • Go to the Submit page by clicking the hash icon.

IMG_5793.PNG

Here, the secret phrase and your community ID were already entered (though you can always enter them manually).

IMG_5795.PNG

  • Click Hash.
  • Reply to this discussion thread and post the hash you received, followed by the screenshot. To make things simpler, we've provided a button to open this post in the app (though you can make the reply via a browser).

The post with a screenshot should look something like this:

Dan_Wroblewski_13-1711947342907.png

 

Bonus Tasks

If you're looking for more to do and learn:

  • Bonus #1: We have embedded a secret piece of music on the home page. You do not have to post anything about it – just enjoy. (Tap again to stop the music.) Open the project to see how we did this.
  • Bonus #2: Make any improvement you want to the app, for example:
    • You could add a toggle which will change whether the app opens the front or back camera (for this, check the properties for the flow function that opens the camera).
    • Notice how when you stop the music, and then restart it, the music starts from the beginning. You could instead pause the music and make it start exactly where it left off, but how? [HINT: Read about the audio flow functions.]

Share your innovation.

Feel free to look inside the app to see how we put it all together – how we made it so it will store your community ID, how you could have entered your community ID in the app instead of hard-coding it, how we created a circle with your image, how we played music, how we ran the hashing function – all without coding.




--------------
See all my blogs and connect with me on Twitter / LinkedIn
199 REPLIES 199

Sunaina_Rajesh
Newcomer

5803e915f41ace8b7e54e1182efd45ef88cb29777cb7b39e38a3b4f1c1e1af9b

IMG_5129.png

SyambabuAllu
Contributor
0 Kudos

788a486c6f53448d89e73f9179da9050ba31f6691716ed1b56ba6aa2c140c48a

 

IMG_8134.png

 

0 Kudos

Nice pic ... what are those things ... chocolates?

Unfortunately the hash does not seem correct. Can you make sure your hash has the correct phrase and your correct community ID, without any extra trailing characters/spaces?




--------------
See all my blogs and connect with me on Twitter / LinkedIn

0 Kudos

Hello Dan,

I tried using the API with the secret hash string and my community ID and got the above hash value.

SyambabuAllu_0-1712675047465.png

 

0 Kudos

Doesn't look like the string you are hashing is correct. But we push all the hashing stuff in the app so you shouldn't use Postman 😲

If you find the place to tap on your phone, the string will be put in the correct input box on the hashing page and then you can hash it there and open up this page to reply.




--------------
See all my blogs and connect with me on Twitter / LinkedIn

M-K
Explorer

8e201342f0700c9d60832dceac062dc37e88798451c4e9fe39c2c72b4beb1b26

build.jpg

mwn
Explorer
0 Kudos

IMG_3287.pngc30bd82e4bde43a1d82a413c0a72e2eecb5fade9a6ef8b98717ea3b94f5e1438

 

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

Love the guitar ... did you hear in the app the music with hid?

Unfortunately the hash does not seem correct. Can you make sure your hash has the correct phrase and your correct community ID, without any extra trailing characters/spaces?




--------------
See all my blogs and connect with me on Twitter / LinkedIn

VinayKumawat
Product and Topic Expert
Product and Topic Expert

 

Hash: ae68b590f55211ed0383ae051b9b0a6447e04a18baa3a7450b93ff8089f70096

 

new corrected hash: ed1946b630425fd4fe3dabb334ca597af4fdacb27b454cc4b65d4f14996bda22

I cannot take screenshot in Android app for SAP Build Apps, so here is screen shot from web preview:

VinayKumawat_0-1712394586724.png

 

 

0 Kudos

That is a great screenshot and picture.

Unfortunately the hash does not seem correct. Can you make sure your hash has the correct phrase and your correct community ID, without any extra trailing characters/spaces?




--------------
See all my blogs and connect with me on Twitter / LinkedIn

VinayKumawat
Product and Topic Expert
Product and Topic Expert

ohh, got it, I found the message, here is new hash:
ed1946b630425fd4fe3dabb334ca597af4fdacb27b454cc4b65d4f14996bda22

thanks for feedback 👍

 

hcordeiro
Explorer
0 Kudos

Moved the correct hash to the task 0 post 🙂

 

0 Kudos

Nice pic!

Unfortunately the hash does not seem correct. Can you make sure your hash has the correct phrase and your correct community ID, without any extra trailing characters/spaces?




--------------
See all my blogs and connect with me on Twitter / LinkedIn

hcordeiro
Explorer

a6492ce9b6581be1a0287944cc7533f84e72f2951c209cc3fd06476b88049788

hcordeiro_0-1712478005545.png

 

avinash12
Explorer
0 Kudos

Here i go..!!!

b2e77b2e3b98a84c1f02546283e3cffbb520a70cce436f36b03fc66fd2a6b46f

avinash12_0-1712489434877.png

 

0 Kudos

Thanks, and nice pic 😊

The hash is not correct and I can see that the user shown on the screenshot is not the same as your customer ID - the same as appears on your post, avinash12. Hash with that ID.




--------------
See all my blogs and connect with me on Twitter / LinkedIn

0 Kudos

Community ID : avinash12

Here is go with the correct #hash

bbf8282abf54344d0e3f86baa777e87fcd19cf9fd84ca15a1a9e6f91db685671

avinash12_0-1712549373344.png

 

0 Kudos

Hmmm, I still get it as incorrect. Did you click somewhere and get the secret phrase? Did that get entered into the input box on the hash page? Want to show the hash page with the hash but blurring half of the phrase? 




--------------
See all my blogs and connect with me on Twitter / LinkedIn

SantoshC
Explorer
0 Kudos

2e13540693a51f7cbfa9123699d07cd6c5524a80d6827c8acc2415ad70235bed

 HomePage_PSC.png

0 Kudos

Nice logo 😊

Unfortunately the hash does not seem correct. Can you make sure your hash has the correct phrase and your correct community ID, without any extra trailing characters/spaces?

I notice that the community ID shown in the picture is different from your community ID that appears on top left of this reply.




--------------
See all my blogs and connect with me on Twitter / LinkedIn

stickman_0x00
Explorer
0 Kudos

b223dd32a47fa2e6fc092e5eaa8f3bdfc588e0079fb3d06eee0ea73

2024-04-07-14-11-52-077.jpg

0 Kudos

Thanks for the entry ... looks great.

Unfortunately the hash does not seem correct. Can you make sure your hash has the correct phrase and your correct community ID, without any extra trailing characters/spaces?




--------------
See all my blogs and connect with me on Twitter / LinkedIn

7e604831ee94c329dfb41f3412e9e9769a58d9dae96fa196d2de6b9a1e312a71  this is the correct one?

emiliocampo
Explorer

64e72be6c6b41ca4e23f72d8580cd4bdad66375245ec6093f80824c7c816170d

emiliocampo_1-1712517196777.png

 

Leon42
Explorer

d3c32e16e41e05ee378262034cf636d341d331bb7b84ef49ceaf340f68590d73

IMG_0349.PNG

 

0 Kudos

What happened to the picture? 🤔




--------------
See all my blogs and connect with me on Twitter / LinkedIn

karthiknagireddy
Explorer
0 Kudos

 

 

8bbe9e59550e3107be58e20dbdc18eb5c29f70be533a8d669009b7c23234cee5

0 Kudos

Hey, where's the screenshot?

And unfortunately the hash does not seem correct. Can you make sure your hash has the correct phrase and your correct community ID, without any extra trailing characters/spaces?




--------------
See all my blogs and connect with me on Twitter / LinkedIn

OtiXKalu
Discoverer

18b1fd14b345aec7fc0a0ffee2c6632bc15c0003e0c560f4091909d26b80a15a

IMG_3557.png

Dan_Wroblewski
Developer Advocate
Developer Advocate
0 Kudos

If you enjoyed this task, please make sure to do the first "real" task about OData and filtering SAP data into your app. 

https://community.sap.com/t5/sap-builders-discussions/april-citizen-developer-challenge-sap-build-ap...

After that, we will have tasks on each of the next Wednesdays:

  • Formulas and Marketplace
  • Theming
  • Mobile native capabilities

20240327_043537463_iOS.png




--------------
See all my blogs and connect with me on Twitter / LinkedIn

GopalakrishnanS
Participant
0 Kudos

0ce004ea4074bdf536d608360ee4f23dc28dbfc5384362adbb6534bc456fb190IMG_20240408_210556.jpg

0 Kudos

Nice pic.

But the hash is not correct ... I see that the community ID in the screenshot does not match the ID in this post




--------------
See all my blogs and connect with me on Twitter / LinkedIn

0 Kudos

Hi @Dan_Wroblewski ,
Apologies for the delay response.As suggested, i have updated the community name and attached the screenshot again with the hash value.

Please check and validate once.

Thanks,

Gopalakrishnan S.

c74297cc32c3b26afc53df1052dbcf9f8bd4710a33a9102486ba441f4918d79b

1713764385751.jpg

 

Iren
Explorer

d8b50e9797db6bc5fc2ab6974339c2a0d1e96275b5d1c8188357319439fdc234

sap build.png

tobiasz_h
Active Participant

c2a7056876d5c405bf5c47a3de49a4a82de496ddb94a6ffbdf4cd0638949f480

tobiasz_h_0-1712651331347.png

 

anumalasingh
Explorer

f781435bc99dbd5470997fbef63fe63cf659905f8b489daa4d46940793d9bce8

 

anumalasingh_2-1712756575363.jpeg

 

 

 

 

0 Kudos

What is that a picture of?

Unfortunately, the hash is not correct. I can see that you did not enter you community ID. Your community ID is what is shown at the top left of your post: anumalasingh




--------------
See all my blogs and connect with me on Twitter / LinkedIn

0 Kudos

Thanks for letting me know. Now i am using correct community ID.

Hash - 79bb19ec424c0fb9fbc0fcb0aeb1d99fbde436f2f85f5a91b68d5dd4fa0c42ac

anumalasingh_0-1712819040545.jpeg