Jump to content

Recommended Posts

Posted

Hello there

 

Using latest beta: 0.86.0 build 880

 

Some points in stock internet browser or skyfire in android tablets:

1. Any trick/workaround to detect if the web is running in android? UniApplication.ClientInfo is not enough. With the new ability of JS on client side, there are any function to call and get more client info?

2. In a PC browser, if the UniDBGrid content is wider than visible grid width, a horizontal scrollbar appears. In android, doesn't appear.

3. The perfomance in the tested android devices (both with Froyo 2.2, modern processor and accessing via WIFI) is low, barely usable. What is the best combination of Compression.Level and Compression.MinTextSize of UniServerModule to improve speed?

 

Thx

  • Administrators
Posted

Hello there

 

Using latest beta: 0.86.0 build 880

 

Some points in stock internet browser or skyfire in android tablets:

1. Any trick/workaround to detect if the web is running in android? UniApplication.ClientInfo is not enough. With the new ability of JS on client side, there are any function to call and get more client info?

 

Try directly accessing the HTTP headers:

 

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
 if webmode then
UniEdit1.Text:=UniSession.RequestHeader['HTTP_USER_AGENT'];
end;

 

 

 

3. The perfomance in the tested android devices (both with Froyo 2.2, modern processor and accessing via WIFI) is low, barely usable. What is the best combination of Compression.Level and Compression.MinTextSize of UniServerModule to improve speed?

 

What do you exactly mean by performance? First load time? Browsing performance?

 

How complex is your web UI?

Posted

Try directly accessing the HTTP headers:

 

procedure TMainForm.UniFormCreate(Sender: TObject);
begin
 if webmode then
UniEdit1.Text:=UniSession.RequestHeader['HTTP_USER_AGENT'];
end;

 

 

 

 

 

What do you exactly mean by performance? First load time? Browsing performance?

 

How complex is your web UI?

 

Without compression:

 

Testing with Galaxy Tab 7" with Cortex 1 Ghz Processor, 512 RAM, via WIFI and your megademo:

First load time: 8 seconds

Click on "FishFact" option treeview until is showed: 10 seconds

Open table button: 9 seconds

 

Testing with ZTE Blade (mobile) with 600 Mhz Processor, 512 RAM, via WIFI and your megademo:

First load time: 18 seconds

Click on "FishFact" option treeview until is showed: 23 seconds

Open table button: 19 seconds

 

 

With compression (level zcMax, MinTextSize 512):

 

Testing with Galaxy Tab 7" with Cortex 1 Ghz Processor, 512 RAM, via WIFI and your megademo:

First load time: 7 seconds

Click on "FishFact" option treeview until is showed: 9 seconds

Open table button: 9 seconds

 

Testing with ZTE Blade (mobile) with 600 Mhz Processor, 512 RAM, via WIFI and your megademo:

First load time: 16 seconds

Click on "FishFact" option treeview until is showed: 21 seconds

Open table button: 19 seconds

Posted

Your results are not normal.

 

I tested with Samsung Galaxy S2 PDA. Wifi + 1 Mbit internet connection.

 

http://prime.fmsoft....demo/ucdemo.dll

 

It almost loads and work like a desktop browser.

 

Is demo running in a LAN? Maybe there is a problem regarding IP lookup/resolving. Be sure that it is not trying to connect using IPv6.

 

Ok, I'll test again to your published demo.

In your Galaxy S2, in the megademo, option "DBGrid", you can see the horizontal scroll bar?

 

Thx

  • 1 year later...
Posted

Yes, I tested and Scrollbars of DBGrid aren't visible but I don't know why.

 

Hello,

I have the same problem with androit 2.3, also do not know how to change the column width

 

on a blackberry phone I could not find a way to press a button

 

Thank you for your attention

×
×
  • Create New...