public class MyFragmentTask extends Fragment {
public void run() {
MyCuteTask myTask = new MyCuteTask(getActivity().getApplicationContext());
}
private class MyCuteTask extends AsyncTask<String, Integer, Void> {
...
}
}
Since the 22th november, I have strange bug reports.
Android throw an exception when I instantiate my task.
I have this bug with android 2.3.X only.
I published that app 1 year ago and I did my last update 2 months ago.
A week ago there was no bugs.
Do not quite understand your advices. I tested the app in android-emulator 2.3.3 (in Eclipse) and have not found the bug. It looks like the bug arose after certain updates Android 2.3.X
What is upgraded in Android 2.3.X for the last week?