How to login on Android ... Keep It Simple

I am having an issue in reading variable from my device after logging in.It is giving me error reading variable and “variable temp does not exist on device” however we have defined this variable as global in Web IDE of particle. Kindly suggest how we can get this variable on our Android App.
image