i wrote a public class, which handle a ethernet communication, has some thread that update some variables.
The main activity interact with this class getting the variables or to send some messages. So after a orientation change thread are running as I want but the main activity it can not get datas from the "ethernet class".
How I declare the class in the main activity:
EthIp = new EthIp(tot_in, tot_out, IP , Port, false);
Start thread in the EthIP class
Thank you for hlep...