Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
former_member183045
Contributor
There are already a lot of excellent blogs about how to connect Things to the SAP Cloud platform. For example the blog series of Fabian Lehmann: Connect a device to the SAP Cloud Platform Internet of Things Cloud Foundry Environment.

TI Sensor Tag, Rasperry PI, ... are undoubtful cool things, but somehow I think I have already enough electronical stuff lying around at home and at work and beside that I love the good old JAVA language which can be used on my Android phone.

Maybe I am becoming a bit old-fashioned and get too old to keep up with the amazing speed of the new technologies, but that's another story 😉









Thus I decided to build for my IoT demo at the SAP Inside Track in Frankfurt (an awesome event) an Android Demo App which should work without manual tasks for certificate installation, device registration and other mandatory tasks when connecting to the IoT service.

The only necessary remaining task should be to enter the credentials for the Cloud Platform instance. With the  SAP IoT Starterkit  there is already a perfect starting point for a Java-based project. This repository was also my starting point and with some adaptions and extensions I created the Android App, the name to download it from the Google Play Store you can find on the right side. The entire source code is available at https://github.com/andau/SCP_ANDROID 

A description of the necessary changes which were applied on top of the SAP IoT StarterKit can be found in the readme file of this repository.

The app is mainly for demo purposes but also intended to serve as starting point for building real use cases with more sophisticated sensors like the camera, GPS or the NFC sensor.


After downloading it from the Google Play Store or building it on your own with the Android Studio (step 1) there are only three parameters to enter in the settings view of the App (Step 2):

  • hostname

  • username  and

  • password


After completing this, the App is ready to start the transmission of data from the light sensor to the Cloud Platform by pressing the "SEND DATA" button (Step 3).














STEP 1 STEP 2 STEP 3
           


Some parts are still there which have to be fixed and improved but if you have already an instance of the SAP Cloud Platform Internet of Things service (Cloud foundry version) available, feel free to use or adapt this App to your needs.
10 Comments
Labels in this area