Jump to content

Mobile version not working


Startek

Recommended Posts

I created a little program with a log-in dialog and that works with normal desktop browser access. I enter a user name & password, click the button, verify it (just simple text check - no database backend) and it goes on to the main form if the password is accepted.

 

I then added a mobile form & mobile login form but when I try to run it from my mobile (or from desktop with /m appended) the program raises an exception with "Application MainForm not found". I looked at the \Demos\Touch\Hybrid but it doesn't seem to be doing anything to make it work. I saw another forum post where someone said "it just works". That's however no help when it doesn't work. How does the framework know what form to use when its running for mobile?

Link to comment
Share on other sites

Never mind, I figured it out. I had to do File -> New -> Other -> uniGUI for Delphi -> Mobile Form -> Mobile Application MainForm

 

And because I already had a unit named "Mainm" it wouldn't let me do it at first.

 

PS. This should be moved to "uniGUI Mobile" I guess.

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...