Jump to content

Mobile + Desktop


herculanojs

Recommended Posts

The same application can run in 2 environments, there is example in

C: \ Program Files (x86) \ FMSoft \ Framework \ uniGUI \ Demos \ Touch \ Hybrid

 

The servermodule and mainmodule are shared by the two environments,

but each environment has its forms "desktop" and "mobile", ie

you will have for example an mainform and mainmform.

 

The system starts and detects the environment and opens the mainform or mainmform automatically after you call the respective forms of each platform

Link to comment
Share on other sites

  • 1 year later...

to setup hybrid application (desktop and mobile)

 

1- create desktop unigui app and check servermodule -> options -> soAutoPlatformSwitch = True

2- add unigui desktop login form

3- add unigui mobile form (main form)

4- add unigui mobile form (login form)

5- compile and run in desktop you will got the  login of desktop , run in mobile you will got the mobile version

6- each time you add an unigui form for desktop that doing some business, you should add a unigui form for mobile  (if you need that features available in mobile version)

 

thanks

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...