Jump to content

Url params bug mobile


herculanojs

Recommended Posts

'm having trouble in the application when running mobile. In the onhow of the mobile main form I am checking the parameters that should be passed by the webbrowser, however they are always zeroed. This does not occur when the operation is not mobile.
That is, if I remove the unmmain of the project, the parameters arrive normally, but if add to unmmain does not arrive parameters.

 
Something we should enable or disable?
Is it not possible to pass parameters to mobile application?
 
send webbrowser
 
 
(ok) functional
 
1) MainForm 

procedure TMainForm.UniFormShow(Sender: TObject);
var i:integer;
begin
     if UniApplication.Parameters.Count > 0 then
     begin
          for I := 0 to UniApplication.Parameters.Count-1 do
          begin
               UniMemo1.Lines.Add(UniApplication.Parameters.Names);
          end;
     end;
end;
 
(no) functional

2) procedure TMainmForm.UnimFormShow(Sender: TObject);

var i:integer;
begin
     if UniApplication.Parameters.Count > 0 then
     begin
          for I := 0 to UniApplication.Parameters.Count-1 do
          begin
               UniMemo1.Lines.Add(UniApplication.Parameters.Names);
          end;
     end;
 
end;

unigui webbrowser.rar

Link to comment
Share on other sites

×
×
  • Create New...