Android Open Source - TATupload Tat Upload Application






From Project

Back to project page TATupload.

License

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.

Java Source Code

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);
  }


}




Java Source Code List

org.apache.pig.impl.util.ObjectSerializer.java
uk.org.sucu.tatupload.BrowserAccessor.java
uk.org.sucu.tatupload.MessageArrayAdapter.java
uk.org.sucu.tatupload.NetCaller.java
uk.org.sucu.tatupload.Notifications.java
uk.org.sucu.tatupload.ParameterArrayAdapter.java
uk.org.sucu.tatupload.ResolveInfoArrayAdapter.java
uk.org.sucu.tatupload.Settings.java
uk.org.sucu.tatupload.TabContent.java
uk.org.sucu.tatupload.TabManager.java
uk.org.sucu.tatupload.TatUploadApplication.java
uk.org.sucu.tatupload.activity.MainActivity.java
uk.org.sucu.tatupload.activity.OptionActivity.java
uk.org.sucu.tatupload.activity.ParameterViewActivity.java
uk.org.sucu.tatupload.activity.SmsReviewActivity.java
uk.org.sucu.tatupload.activity.TutorialActivity.java
uk.org.sucu.tatupload.message.SmsList.java
uk.org.sucu.tatupload.message.SmsReceiver.java
uk.org.sucu.tatupload.message.Text.java
uk.org.sucu.tatupload.parse.Parameters.java
uk.org.sucu.tatupload.parse.Parser.java
uk.org.sucu.tatupload.parse.Property.java