I am using Titanium Studio for my first Android App. In the documentation I've come across Ti.API.info() to print any debug message. But I am not able to figure out where exactly does it print. Please help me.
Ti.API.info() prints to the console. So, I have a function like this:
function OnAppResume()
{
Ti.API.info('***---> OnAppResume');
}
$.window.addEventListener("open", function() {
var activity = $.window.activity;
activity.addEventListener('resume', OnAppResume);
});
I run it. I'll get this response in the console.
[INFO][TiAPI ( 702)] ***---> OnAppResume
BTW, $.
is the new convention for Alloy MVC. Don't let it throw you off. Hope that helps.