package com.icaynia.dmxario;


import android.content.Context;
import android.util.Log;
import android.widget.Button;

import java.util.HashMap;

/**
 * Created by icaynia on 16. 9. 2..
 */
public class ScenePackage
{

    private Context                 context;
    private HashMap<String, String> config;
    private String                  packageName;

    public ScenePackage(Context _context)
    {
        context = _context;
    }

    public void loadPackage(String PackageName)
    {
        ObjectFileManager mObj = new ObjectFileManager(context);
        config = mObj.load(PackageName+"/config.scn");
        if (config == null)
        {
            Log.e("ScenePackage", "Package not found!");
            ((MainActivity)context).makeToast(PackageName + "Package not found!");
        }
    }




}

@@ -764,16 +764,19 @@
 Name + %22
+ : 
 Package 
@@ -803,16 +803,139 @@
   %7D%0A    
-%7D
+    else%0A        %7B%0A            ((MainActivity)context).makeToast(PackageName + %22 : Load Succeessfully.%22);%0A        %7D%0A%0A    %7D%0A%0A
 %0A%0A%0A%0A%0A%7D%0A

improve scenePackage: add "load successful"