Android browser is slow
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android browser is slow
Using the URL you sent in private mail, I can reproduce the problem. Loading is quick enough and I don't see any lag when scrolling (I have a pretty fast phone,) but as you reported, sometimes the page scrolls in the opposite direction it is supposed to. It can also snap to the top or bottom unexpectedly. I wish I'd asked for a URL earlier, we could have saved some time.
This looks like a bug in the widget to me, possibly related to the fact that the page is written in a right-to-left language. You should report it at http://quality.livecode.com. Be sure to give them the URL, since the behavior doesn't happen on left-to-right language pages. If you don't want to publicly post the URL, you can send it to Panos privately -- he will give you an email address if you ask in your bug report.
If you haven't ever sent in a bug report, you will need to create a free account. You can't use your forum login there. Sorry we can't fix it in script, but I'm glad we found the reason.
This looks like a bug in the widget to me, possibly related to the fact that the page is written in a right-to-left language. You should report it at http://quality.livecode.com. Be sure to give them the URL, since the behavior doesn't happen on left-to-right language pages. If you don't want to publicly post the URL, you can send it to Panos privately -- he will give you an email address if you ask in your bug report.
If you haven't ever sent in a bug report, you will need to create a free account. You can't use your forum login there. Sorry we can't fix it in script, but I'm glad we found the reason.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android browser is slow
My first test was with LC 9 dp 11. I just tested in LC 8.1.8. Scrolling in LC 8 is somewhat jerkier though not terrible, which may be the lag you reported. It does still scroll backwards periodically but not as often. Basically LC 8 appears to take a little more time to respond to a swipe gesture, which could be why it doesn't fail quite as much.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Android browser is slow
Thank you very much for checking it.
In every phone the speed and the lag is different, there is phones that is fine but there is phones that you can't use the app.
So now that you saw that it takes time to respond, do you have any idea how to solve it?
Thanks.
What you described could be an option for the source of the problem, but if this is the problem why in the iphone browser it's working perfect and without any problem?jacque wrote: ↑Tue Jan 30, 2018 9:49 pmUsing the URL you sent in private mail, I can reproduce the problem. Loading is quick enough and I don't see any lag when scrolling (I have a pretty fast phone,) but as you reported, sometimes the page scrolls in the opposite direction it is supposed to. It can also snap to the top or bottom unexpectedly. I wish I'd asked for a URL earlier, we could have saved some time.
This looks like a bug in the widget to me, possibly related to the fact that the page is written in a right-to-left language. You should report it at http://quality.livecode.com. Be sure to give them the URL, since the behavior doesn't happen on left-to-right language pages. If you don't want to publicly post the URL, you can send it to Panos privately -- he will give you an email address if you ask in your bug report.
If you haven't ever sent in a bug report, you will need to create a free account. You can't use your forum login there. Sorry we can't fix it in script, but I'm glad we found the reason.
So now you understand what I meant?jacque wrote: ↑Tue Jan 30, 2018 9:56 pmMy first test was with LC 9 dp 11. I just tested in LC 8.1.8. Scrolling in LC 8 is somewhat jerkier though not terrible, which may be the lag you reported. It does still scroll backwards periodically but not as often. Basically LC 8 appears to take a little more time to respond to a swipe gesture, which could be why it doesn't fail quite as much.
In every phone the speed and the lag is different, there is phones that is fine but there is phones that you can't use the app.
So now that you saw that it takes time to respond, do you have any idea how to solve it?
Thanks.
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android browser is slow
The only way to solve it is to tell LC and have them look. The problem isn't in the phone or your scripts; it is in the browser widget and the way it is implemented.
There is a difference between a dedicated browser app and a "web view" which is embedded inside another app. The embedding is done in the LC engine, so they need to fix it.
There is a difference between a dedicated browser app and a "web view" which is embedded inside another app. The embedding is done in the LC engine, so they need to fix it.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Android browser is slow
But you said that in LC 9 dp 11 you didn't feel any lag, just that the page going up when scrolling down.
So if I will try to save my app in LC 9 you think it will be better?
Few days ago I downloaded LC 9 and tried to save another app for Android and when I opened the app in my phone it didn't work and I just saw a black screen, so that's another problem.
So in LC 9 the speed in Android with the URL that I gave you was fine?
Thanks.
So if I will try to save my app in LC 9 you think it will be better?
Few days ago I downloaded LC 9 and tried to save another app for Android and when I opened the app in my phone it didn't work and I just saw a black screen, so that's another problem.
So in LC 9 the speed in Android with the URL that I gave you was fine?
Thanks.
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android browser is slow
Speed was better in LC 9 but the scrolling direction was still wrong sometimes.
I think the black screen is because the minimum Android version is too low. Try setting it to Lollipop.
I think the black screen is because the minimum Android version is too low. Try setting it to Lollipop.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Android browser is slow
I think that I can find some solutions for the page that going up when scrolling down, I'm gonna try to use another site to display my information.
But more important for me is the speed, so I will try to download LC 9 again and I will update about what will change.
Until then, thank you very much for your kind help.
But more important for me is the speed, so I will try to download LC 9 again and I will update about what will change.
Until then, thank you very much for your kind help.
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android browser is slow
I just noticed another reason for the black screen:
http://quality.livecode.com/show_bug.cgi?id=20698
A work-around is in the bug report.
http://quality.livecode.com/show_bug.cgi?id=20698
A work-around is in the bug report.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Android browser is slow
I copied the code that is in the link, but nothing was changed.
I'm trying to do many things to solve the "black screen" issue and I don't have any success with it.
Any more solutions for the "black screen" issue please?
Thanks.
I'm trying to do many things to solve the "black screen" issue and I don't have any success with it.
Any more solutions for the "black screen" issue please?
Thanks.
Re: Android browser is slow
It doesn't matter which version I set it to, or if I delete the acceleratedRendering line in the proOpenStack, it still presenting just a black screen..
Any help?
Any help?
-
- VIP Livecode Opensource Backer
- Posts: 7266
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Android browser is slow
I think it's time to write to LC support.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com