When I go from one intention to another, I get this warning:
"The window is already focused, ignoring focus enhancement: com.android.internal.view.IInputMethodClient $ Stub $ Proxy"
and the view remains the same.
the code:
btnCatalog.setOnClickListener(new OnClickListener() { private ProgressDialog myProgressDialog; @Override public void onClick(View v) { // TODO Auto-generated method stub myProgressDialog = ProgressDialog.show(introPage.this, "Please wait...", "Doing Extreme Calculations...", true); new Thread() { public void run() { try{ fetchAndStoreData(); Intent toMainPage = new Intent(introPage.this, mainPage.class); startActivity(toMainPage); sleep(5000); } catch (Exception e) { } myProgressDialog.dismiss(); } }.start(); } });
but when I comment on the fetchandStoreData () method, the intent moves on to another intent. The fetchAndStoreData () method reads XML read data from files, and also stores data in the SQLLite database.
So far, I do not know why this warning occurs.
need urgent help
thanks
android android-intent warnings
kaibuki
source share