Skip to content Skip to sidebar Skip to footer

Warning: Window Already Focused Ignoring Focus Gain Of Com.android.internal.view. Iinputmethod Client $stub$proxy 4148db78

i have search and not found the answer. I want to call startActvity(newintent), but the page not change. This my code: public class MainActivity extends Activity { private TextView

Solution 1:

because applicationContext is null you have not initialize applicationContext before using it for showing ProgressDialog from onPreExecute .

you need to initialize applicationContext before using for showing ProgressDialog or just use MainActivity.this as :

   @Override
    protectedvoidonPreExecute() {
        applicationContext=MainActivity.this; //<<< initialize context herethis.dialog = ProgressDialog.show(applicationContext, 
                                 "Calling", "Time Service...", true);
    }

Post a Comment for "Warning: Window Already Focused Ignoring Focus Gain Of Com.android.internal.view. Iinputmethod Client $stub$proxy 4148db78"