News download.
This commit is contained in:
parent
563d17890a
commit
e11aaa0ad8
@ -411,7 +411,7 @@ public class ActivityMainScreen extends ActivityGeneric
|
|||||||
else
|
else
|
||||||
Miscellaneous.logEvent("i", "ActivityMainScreen", "Activity not running. No need to update.", 5);
|
Miscellaneous.logEvent("i", "ActivityMainScreen", "Activity not running. No need to update.", 5);
|
||||||
|
|
||||||
activityMainScreenInstance.checkForNews();
|
// activityMainScreenInstance.checkForNews();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -45,7 +45,7 @@ public class News
|
|||||||
cal.setTimeInMillis(Long.parseLong(publishDateString));
|
cal.setTimeInMillis(Long.parseLong(publishDateString));
|
||||||
newsEntry.setPublishDate(cal);
|
newsEntry.setPublishDate(cal);
|
||||||
|
|
||||||
newsEntry.setText(neEl.getElementsByTagName("applicablePlattforms").item(0).getTextContent());
|
newsEntry.setApplicablePlattform(neEl.getElementsByTagName("applicablePlattforms").item(0).getTextContent());
|
||||||
|
|
||||||
returnList.add(newsEntry);
|
returnList.add(newsEntry);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user