Widget Is Not Updating After Json Parse
I have the following code: @Override public void onReceive(Context context, Intent intent) { super.onReceive(context, intent); if (CLOCK_WIDGET_UPDATE.equals(i
Solution 1:
Change your AsynkTast to:
publicclassGetJSONextendsAsyncTask<Void, Void, String> {
@OverrideprotectedVoiddoInBackground(Void... params) { //Running in background// ...// do all your stuff as it is and change return to this :return result;
}
@OverrideprotectedvoidonPostExecute(String result) {
// left other of your code as it is.
}
}
And change execution to new GetJSON().execute();
Post a Comment for "Widget Is Not Updating After Json Parse"