Hi,
Im a newbie trying to develop and app through ACS and titanium studio. Iv deleoped my front end quite nicely but as for integrating ACS, I think iv got the fundamental idea of how to use it wrong.
i know its silly but take a look at the code and let me know. (im trying to disply user's first name on my profile page) (
var view=Ti.UI.createView({ width: '100%', height: '100%', backgroundColor: '#ffffff' }); Cloud.Users.showMe(function (e) { if (e.success) { var user = e.users[0]; var example= Ti.UI.createLabel({ text: user.first_name, color:'#3c3b3b', font: { fontFamily:'Roboto-Light', fontSize:'18dp'} }); view.add(example); } else { alert('Error:\n' + ((e.error && e.message) || JSON.stringify(e))); } });