So I have this code:

    buttonUpdateStatus.setOnClickListener(new View.OnClickListener(){

        @Override
        public void onClick(View v){

            textViewStatus.setText(ni.getDetailedState().toString());


        }

the ni ConnectivityManager reference is being created in the OnCreate
method as well. I have the ni.getDetailedState() method called
whenever a button is clicked, it works the first time, but when the
network changes status and i click it again, it only gives me the
response it gave the first time, and not the new detailedstate it
should have..what's going on? Also, when I turn the phone on it's side
to force it to destroy and recreate itself, I can get the new
detailedState to appear..
 I can give the source code if anyone wants to see what I'm talking
about

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to