Back to project page TATupload.
The source code is released under:
GNU General Public License
If you think the Android project TATupload listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package uk.org.sucu.tatupload; /* w ww. j a va 2s .c om*/ import java.util.ArrayList; import uk.org.sucu.tatupload.message.SmsList; import uk.org.sucu.tatupload.message.Text; import uk.org.sucu.tatupload.parse.Parameters; import android.app.Application; public class TatUploadApplication extends Application { public void onCreate(){ super.onCreate(); //Load the data extraction parameters, which need de-serializing to be usable, for improved access time. Settings settings = new Settings(this); ArrayList<String> flavourList = settings.getSavedParameter(Parameters.FLAVOUR_PARAMETER); ArrayList<String> locationList = settings.getSavedParameter(Parameters.LOCATION_PARAMETER); ArrayList<String> questionList = settings.getSavedParameter(Parameters.QUESTION_PARAMETER); Parameters.loadParameters(flavourList, locationList, questionList); ArrayList<Text> pendingTexts = settings.loadPendingTexts(); SmsList.getPendingList().addTexts(pendingTexts); ArrayList<Text> uploadedTexts = settings.loadUploadedTexts(); SmsList.getUploadedList().addTexts(uploadedTexts); Notifications.updateNotification(this); } }