Page 1 of 1

Disable an Alert's ZIP uncompress

Posted: Tue Jun 15, 2010 12:02 pm
by yiras
Hi all.
First, sorry for my english low lvl.

When I do Intent to uncompress files (for example zip file) I use the next code:

Code: Select all

Intent intent = new Intent();
 intent.setAction(Intent.ACTION_VIEW);
 Uri uri = Uri.fromFile(new File("/sdcard/test.zip"));
 intent.setDataAndType(uri, "application/zip");
  // Optional custom title.
  intent.putExtra("archiver_title", "Your title here");
  startActivity(intent);

I need that the alert of next screenshot, not appear when I try to uncompress the zip file. That is, I need disabled this alert or able to tell it where to extract the file by intent.putExtra ();

Image