Disable an Alert's ZIP uncompress

File Manager/Explorer for Android devices.
Post Reply
yiras
Posts: 1
Joined: Tue Jun 15, 2010 11:40 am
AntiSpam sum: 8

Disable an Alert's ZIP uncompress

Post 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
Attachments
Pantallazo.png
Pantallazo.png (31.42 KiB) Viewed 2970 times

Post Reply