Page 1 of 1
How Can i Optimize
Posted: Mon Jan 12, 2015 6:23 am
by She
Hi Team,
How Can i Optimize the Speed of getting all the data? We are using our own 3rd party service which is:
http://122.52.217.71:8082/NotloggedIN...
when i use the browser Tester the data shown after 8-10 sec. but when i installed the app into the device. it tooks like a 60-80sec.
Thanks for helping.
How Can i Optimize
Posted: Mon Jan 12, 2015 7:48 am
by Evgene Karachevtsev
Hello Sherwin,
Could you please specify the device and OS that you use for tests, also please look at this link, maybe it will be useful for you: https://getsatisfaction.com/apperyio/...
How Can i Optimize
Posted: Mon Jan 12, 2015 8:57 am
by She
Hi Evgene,
I already tried that link, and render it in app settings. but getting the JSON in 3rd party restful i still very slow in Android Phone(Samsung Duos)
Thanks,
How Can i Optimize
Posted: Tue Jan 13, 2015 12:17 am
by Yurii Orishchuk
Hi Sherwin,
It seems your rest service returns a lot of data...
Mobile device has limited calculation resources... Thus it's better to work with data you only need on this page..
As the solution - you can divide data from your rest service by some "pages"(frames). Or reduce it by information which is not used on this page.
Also if you can not access this 3rd party api - you can make this data transformation on Appery.io server side.
Details are here: http://devcenter.appery.io/documentat...
Regards.
How Can i Optimize
Posted: Tue Jan 13, 2015 5:58 am
by She
Hi Yuri,
Im thinking if this is possible to do.
all in data in this link : http://122.52.217.71:8082/NotLoggedIN... must save in the LocalStorageVariable.
LocalStorage can use paginate.
if this is possible help me.
Thank you.
How Can i Optimize
Posted: Tue Jan 13, 2015 6:02 am
by Yurii Orishchuk
Hi Sherwin,
Yes it's possible, i guess it could not help you with app speed.
It's better to try solutions above..
Regards.
How Can i Optimize
Posted: Tue Jan 13, 2015 6:07 am
by She
what solution? your solution or my solution? sorry im so confused about this.
How Can i Optimize
Posted: Wed Jan 14, 2015 12:41 am
by Yurii Orishchuk
Hi Sherwin,
pre
As the solution - you can divide data from your rest service by some "pages"(frames). Or reduce it by information which is not used on this page.
Also if you can not access this 3rd party api - you can make this data transformation on Appery.io server side.
/pre
So you should get on device a little part of information. Currently you JSON to big for mobile.
Regards.
How Can i Optimize
Posted: Tue Jan 20, 2015 12:26 am
by She
Hi Yuri,
Do you have a documentation/tutorial how can i divide the rest service to frames by frames?
Thanks,