I am working on android and at this time i am using two functions. I am getting values in one function and want to use those values in other function. But it's not working. My code is like this:
double var1, var2;
var1 = get.value;
In second functoin all i'm getting is the default value 0.