@@ -0,0 +1,1713 @@
+package ceddy.ajds;%0A%0Aimport android.content.Context;%0A%0Aimport org.json.JSONObject;%0A%0Aimport java.io.BufferedReader;%0Aimport java.io.File;%0Aimport java.io.FileOutputStream;%0Aimport java.io.FileReader;%0A%0A/**%0A * Created by Ceddy Muhoza%0A */%0Apublic class aObject %7B%0A%0A    Context context;%0A    String USER_FILE;%0A%0A    public allObj(Context context, String u)%7B%0A        this.context = context;%0A        this.USER_FILE = u;%0A    %7D%0A%0A    public void writeUserFile(JSONObject me)%7B%0A        if(checkUserFile())%0A            deleteUserFile();%0A        FileOutputStream outputStream;%0A%0A        try %7B%0A            outputStream = context.openFileOutput(USER_FILE, Context.MODE_PRIVATE);%0A            outputStream.write(me.toString().getBytes());%0A            outputStream.close();%0A        %7D catch (Exception e) %7B%0A            e.printStackTrace();%0A        %7D%0A    %7D%0A%0A    public JSONObject readUserFile()%7B%0A        File dir = context.getFilesDir();%0A        File file = new File(dir, USER_FILE);%0A        StringBuilder text = new StringBuilder();%0A        BufferedReader br = null;%0A        try %7B%0A            br = new BufferedReader(new FileReader(file));%0A            String line;%0A            while ((line = br.readLine()) != null) %7B%0A                text.append(line);%0A                text.append('%5Cn');%0A            %7D%0A            return new JSONObject(text.toString());%0A        %7D catch (Exception e) %7B%0A            return null;%0A        %7D%0A    %7D%0A%0A    public void deleteUserFile()%7B%0A        File dir = context.getFilesDir();%0A        File file = new File(dir, USER_FILE);%0A        file.delete();%0A    %7D%0A%0A    public boolean checkUserFile()%7B%0A        File dir = context.getFilesDir();%0A        File file = new File(dir, USER_FILE);%0A        return file.exists();%0A    %7D%0A%7D%0A

Create aObject.java