I am trying to append the data's of one or more ArrayList values into another ArrayList is it possible and may i know how ?
Example code is given below
private static final Pattern DIR_SEPORATOR = Pattern.compile("/");
    private ArrayList<File> fileList = new ArrayList<File>();
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        String[] rootFolders = this.getStorageDirectories();
          if (rootFolders == null) {
           return;
          }
          int rl = rootFolders.length;
          File[] filelists = null;
        for (int i = 0; i < rl; i++) {
           String path = rootFolders[i];
           File target = new File(path + "/DCIM/");
           if (target.exists()) {
            filelists = target.listFiles();
               File[] filelist1  =  filelists;
           }
           File target2 = new File(path + "/DCIM/100ANDRO/");
           if (target2.exists()) {
               File[] filelist = target.listFiles();
            // Existing image to DB
            //IntialLoad(target2, Json_SupportedExtensionFromServer,CF,DP);
           }
          }
Thanks in advance.
 
     
     
     
     
     
    