@@ -0,0 +1,996 @@
+package com.ev4ngel.myapplication;%0A%0Aimport android.content.Context;%0Aimport java.io.FileInputStream;%0Aimport java.io.FileOutputStream;%0Aimport org.json.*;%0Aclass JsonFile%7B%0A%09private FileOutputStream mFos;%0A%09private String mContent;%0A%09private String mFilename;%0A%09public JsonFile()%0A%09%7B%0A%09%7D%0A%09public JsonFile(String filename)%0A%09%7B%0A%09%09mFilename=filename;%0A%09%7D%0A%09public void open()%0A%09%7B%0A%09%09File f=new File(mFilename);%0A        if(f.exists()) %7B%0A            try %7B%0A                FileInputStream fis=new FileInputStream(f);%0A                byte%5B%5D b=new byte%5Bfis.available()%5D;%0A                fis.read(b);%0A                fis.close();%0A%09%09%09%09mContent=new String(b);%0A            %7D%0A            catch(IOException e)%0A            %7B%0A                mContent=%22%22;%0A            %7D%0A        %7D%0A        try %7B%0A                mFos = new FileOutputStream(mFilename);%0A            %7Dcatch(IOException e)%0A            %7B%0A                %0A%09%09%09%7D%0A%09%7D%0A%09public void save()%0A%09%7B%0A%09%09mFos.write(mContent.getBytes());%0A%09%7D%0A%09public void close()%0A%09%7B%0A%09%09mFos.close();%0A%09%7D%0A%7D

Add new Base class JsonFile.java