title: where android saves serialized objects?
body: <p>I'm looking for a place where are objects after serialization ? I would like to put serialized objects(created in another app) to my android project and then only load this files in my game. The problem is that I don't know where do I have to put this objects ? and even if I save object from android app it never saves in my project folder. My load and save functions for objects</p>
  
  <pre><code>public static void save(Context context, Map obj, String nazwa)
  {
     FileOutputStream str = null;
     ObjectOutputStream objStr = null;
  
  
     try {
       str = context.openFileOutput(nazwa, Context.MODE_PRIVATE);
       objStr = new ObjectOutputStream(str);
  
       objStr.writeObject(obj);
  
      } catch (FileNotFoundException e)
      {
          e.printStackTrace();
      } catch (IOException e)
      {
          e.printStackTrace();
      } finally
      {
          try
          {
              if (objStr != null) objStr.close();
          } catch (IOException e) {}
          try
          {
             if (str != null) str.close();
          } catch (IOException e) {}
      }
  
  
  }
  
  
  
  public static Map load(Context context, String nameFile)
       {
          Map obj = null;
          FileInputStream str_w = null;
          ObjectInputStream obj_w = null;
          try
          {
             str_w = context.openFileInput(nameFile);
             obj_w = new ObjectInputStream(str_w);
             obj = (Map) obj_w.readObject();
  
      } catch (FileNotFoundException e)
      {
         e.printStackTrace();
      } catch (IOException e)
      {
          e.printStackTrace();
      } catch (ClassNotFoundException e)
      {
         e.printStackTrace();
      } finally
      {
          try
          {
             if (obj_w != null) obj_w.close();
          } catch (IOException e) {}
          try
          {
             if (str_w != null) str_w.close();
          } catch (IOException e) {}
      }
      return obj;
   }
  </code></pre>
  
  <p>If I copy my object file to /levels/ and use </p>
  
  <pre><code>final Map map2 = MapManager.load(this, "/levels/map1.lvl");
  </code></pre>
  
  <p>or</p>
  
  <pre><code>final Map map2 = MapManager.load(this, "levels/map1.lvl");
  </code></pre>
  
  <p>it never works</p>
  
  <p>How should I do it ?</p>