Does the ITG have any guidance on using WiseJ on a mobile platform?
I ran my sample app on my iPhone’s browser and it worked but the buttons and listview are small. Is there a trick to making things look more “mobile” when running on a mobile platform?
I have no problem creating 2 forms, one for desktop and another for a iPhone form factor, but I was wondering if you had any guidance about making an app more fitting for mobile.
Thanks,
Shawn
It’s the same as any html app. You can use the viewport meta in Default.html.
See:
https://wisej.com/support/question/custom-http-headers
https://wisej.com/support/question/software-developer
http://www.w3schools.com/css/css_rwd_viewport.asp
You can detect the device (or change of orientation or change of size) at runtime using the ResponsiveProfileChanged notification and the ActiveProfile property:
https://docs.wisej.com/api/wisej.web/general/application#activeprofile
https://docs.wisej.com/api/wisej.core/general/wisej.core.clientprofile
You can define your own profiles putting a custom ClientProfile.json file in your app (see the built-in one firs, linked below in one of the posts):
https://wisej.com/support/question/mobile-project
https://wisej.com/support/question/responsive
HTH
Best,
Luca
Have you any small sample with ClientProfile.json ?
Thanks
Please login first to submit.