Hi All,
I've been developing some apps in SAP HANA for desktop and mobile viewports. Here's a tip for testing those apps without using the mobile phone simulator to check the rendering for mobile screens:
In the <head> tag of the html file there is a block of code to initialise sap.ui libraries, themes and others. It looks like this:
<script id='sap-ui-bootstrap' type='text/javascript'
src='https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js'
data-sap-ui-theme='sap_bluecrystal'
data-sap-ui-libs='sap.m'>
</script>
In order to enable the testing for mobile screens the following line should be added before closing the <script> tag:
data-sap-ui-xx-fakeOS='ios'
This line allows simulation of an iPhone/iPad viewport.
Hope this helps all SAP HANA starters.
Regards,
Alejandro Fonseca
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 29 | |
| 20 | |
| 18 | |
| 15 | |
| 14 | |
| 12 | |
| 11 | |
| 10 | |
| 9 | |
| 8 |