i am developing an android application which call my Starting activity from another activity. since i am calling my 1st activity i cannot use intent to transfer a Boolean variable so i created a object of my calling activity and accessed data though it. like this
Activity1 log=new Activity1();
boolean stat=log.aResponse;
i checked the value of aResponse in my Activity1 its value is true. but in my starting activity the value of stat is false all the time. I tried the same code in another activity(which is not my 1st activity) in that also the value i obtain is false. anybody please help me.