Dear Appery,
i'm struggling with this for over a week now and just cant figure this out, your help would be highly appreciated (as always)!!!
its an iPhone PhoneGap based app, during the login process the app execute some tasks based on services calls, since this could take some time there's a login progress page that indicates the user of the app login progress:
the images are invisible and at the end of each service call the image should be visible to the user, something like this:
precode
// get user credit
UserCredit.execute({});
Appery('img_credit').fadeIn(500,function(){
// Get User History file
GetHistory.execute({});
Appery('img_history').fadeIn(500,function(){
//Get User sounds file
GetSoundFiles.execute({});
Appery('img_sound').fadeIn();
});
});
/code/pre
the above doesnt make the images visible...
i also have on the same page a service that build a list of all the user's contacts, in its mapping JS i have this code:
precode
var new_value = parseInt(localStorage.getItem('counter'));
var counter = new_value + 1
localStorage.setItem('counter', counter);
var n = localStorage.getItem('NumberOfContacts');
var n = Math.round((100 * (counter / n))) + '.0%';
Appery('lbl_percentage').text(n);
Appery('lbl_percentage').refresh();
/code/pre
as before, the 'lbl_percentage' doesnt update (same code works on a different page and update the 'lbl_percentage' as the list populated)
can you pls pls pls help me figure this out???