Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)

Different initial page depending on device

Hi,


I've created an App which I want to use on tablet, smartphone and desktop. I have created 2 pages, Start and StartMob: when you open the App via the Desktop it should Display page "Start", and for smartphone/tablet it should display "StartMob". I presume I should use an if(sap.ui.Device.system.phone === true) javascript but I don't know where/how to put it ...


Thanks

Regards

Gareth


Hi


If you like to separate the Application for different devices I would prefer to create two different NAD Applications. 


But it's possible to use one and set different page depending on the device.


Example



Regards

Ole Andre 

That's great, thanks!


Regards

Gareth

Login or Signup to post a comment