I got a class that calculates my location and print it on the screen. Now I want to send a sms every x time with that adress to a certain number. So that requires the sleep method I guess which means I need a class that extends Thread .. but how that class would take the TextView string from the other one? how they will be connected to each other? btw I found this code somewhere in this forum for sending a sms:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("sms:"+ phoneNumber)));
Thanks in advanced!!