Hi, i am working on an titanium but i have problems getting android activity life-cycle state.
I have gone through http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Android.Activity adding of
<property name="ti.android.root.reappears.restart" type="bool">true</property> also in tiapp.xml.
Added the eventListners.
var appActivity = Ti.Android.currentActivity;
Just like this i have added onPause, onStart, onRestart and onStop. But still i am not getting any required output.
I want to get the state of android activity and if possible also without adding any other 3rd party module.