Page 1 of 1

Native APK Appery - painfully slow (5 seconds) page transitions

Posted: Tue Jan 13, 2015 5:32 pm
by decodingsand

I have exported my app as an APK and installed it on my Samsung Galaxy S5.

I am using a few services and loading videos and profile images.

My problem is that the compiled APK is almost unusable since the page transitions show maybe 1 frame of the page transition animation - it is not fluid and takes about 5 seconds to navigate to a 2nd level page.

I am pulling 1 x video from youtube
Also looping through a service to retrieve a few comments as well as an image to show as a thumbnail next to comments.

I have tried removing the youtube load video and it still is painfully slow = nowhere good enough speed on my super fast Galaxy S5 for production.

Do you have any advice on speeding up compiled builds?

Thanks
Mark


Native APK Appery - painfully slow (5 seconds) page transitions

Posted: Tue Jan 13, 2015 5:57 pm
by decodingsand

I will try to lazy load all of my videos and images and see if that makes a difference.


Native APK Appery - painfully slow (5 seconds) page transitions

Posted: Tue Jan 13, 2015 7:43 pm
by decodingsand

After doing some research I found the following:

From the network tab in Chrome Inspector (phone tethered to my mac) I see that the 2 instances of the:
www-embed-player.js:155 Script
are taking about 2 seconds to load and then fails

Even though Chrome says that both requests failed, I still get the video to show and play.

Could this somehow be the problem?

Image


Native APK Appery - painfully slow (5 seconds) page transitions

Posted: Wed Jan 14, 2015 4:43 am
by Yurii Orishchuk

Hello,

May be you have some external links?

Please try to understand what exactly produces this problem..(remove all things one by one - to get it worked without delay).

As i can see you get "embeded js player" from google...

Regards.