Page 1 of 1

Mobile support in an app

PostPosted: 17 Jan 2019 21:22
by loufeliz
HEllo,

I am looking to start adding a mobile interface to my web application. Should I detect the mobile browser in my app and then have app startup a mobile form or should I develop a totally separate app and just redirct to URL when a mobile device is detected?

How best to detect mobile devce?
How best to detect if device is portrait or landscape?

I may decide to let certain devices (tablets use normal web app, but I want them to get an alert/pop-up/animation that they need to rotate into landscape) IF user is on a phone, then I would just redirect to the mobile login form with the mobile version of the web app.

Anyway, I will look through demos to see what is there. Hopefully there is an example.