[
  {
    "Id": "1106181",
    "ThreadId": "461820",
    "Html": "I have a Method in my app:<br />\n<pre><code>public void ExtractBilderZip()\n    {\n\n        string unzipziel = Path.Combine(documentsPath, &quot;Bilder/&quot;);\n                // wenn Bilder Verzeichnis nicht existiert erzeugen\n                if (Directory.Exists(unzipziel)==false)\n                {\n                   \n                    var directoryname = Path.Combine(documentsPath, &quot;Bilder/&quot;);\n                    Directory.CreateDirectory(directoryname);\n                \n                }\n               \n              \n                string zipToUnpack = localPathB;  //Path and filename to my zipfile\n                \n\n                \n                \n                try\n                {\n                   \n                   \n                    using (ZipFile zip1 = ZipFile.Read(zipToUnpack))\n                    {\n                       \n                        foreach (ZipEntry e in zip1)\n                        {\n                            e.Extract(unzipziel, ExtractExistingFileAction.OverwriteSilently);\n                        }\n                    }\n\n                         \n                }\n                catch (System.Exception ex1)\n                {\n                    //System.Console.Error.WriteLine(&quot;exception: &quot; + ex1);\n                    for (int i = 0; i &lt; 10; i++)\n                    {\n                        Toast.MakeText(this, &quot;exception: &quot; + ex1, ToastLength.Long).Show();\n                    }\n                }\n            \n\n            }</code></pre>\n\nWhen running on a mobile device I allways get an error:\r<br />\n<br />\nexception: System.ArgumentException: Path is empty at System.IO.Directory.CreateDirectory(Syszem.String path)[0x0000] in filename unknown 0\r<br />\nat ionic.zip.zipentry.internalExtract system.string basedir, system.io.stream outstream, system.string password 0x00000 in file unknown 0<br />\n",
    "PostedDate": "2013-10-10T13:20:35.387-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "1111196",
    "ThreadId": "461820",
    "Html": "I am with the same problem do you managed to solve it or someone did?<br />\n",
    "PostedDate": "2013-10-23T11:33:16.523-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "1111228",
    "ThreadId": "461820",
    "Html": "I solved my problem by use of a Class called ZipStorer which I found by googleing. I found it here: zipstorer.codeplex.com It is tiny and very easy to use!!\r<br />\n<br />\ncode snippet see also:\r<br />\n<a href=\"http://stackoverflow.com/questions/19314900/xamarin-ionic-zip-unzip-causes-error\" rel=\"nofollow\">http://stackoverflow.com/questions/19314900/xamarin-ionic-zip-unzip-causes-error</a><br />\n",
    "PostedDate": "2013-10-23T12:49:33.167-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]