how to make my android App faster using titanium App -
i have noticed when deployed app in android device using titanium alloy, working , seem android app need time redirect next page after touch , click.it goes next page within 3 or 4 seconds after clicked on ui elements(button,view,label,image)
on other side, working ios devices (iphone , ipad)
i don't know should problem android.i reset factory data in android , tested app again still issues arrives
is android touch/click issue?
please feedback on issues , give me suggestion how fix it. in advance
your problem not device, login's api. suggest insert indicator bridge waiting time this:
----index.xml---- <alloy> <window class="login_container" height="auto" horizontalwrap="true"> <activityindicator id="activityindicator" message="wait please..."/>
----index.js----
function login(e) { var uname = $.username.value.split(' ').join(''); var pwd = $.password.value.split(' ').join(''); if(uname == ""){ alert("enter username."); return false; } if(pwd == ""){ alert("enter password."); return false; } $.activityindicator.show();
and before change controller add
$.activityindicator.hide();
Comments
Post a Comment