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

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -