1

How can I open a zip file from an android activity?

view story
linux-howto

http://stackoverflow.com – I'm trying to open a zip file from my aplication, but it doesn't works Uri uri = Uri.parse("file:///mtn/sdcard/download/teste.zip"); Intent it = new Intent(Intent.ACTION_VIEW, uri); startActivity(it); I've already tried other options like: File file = new File("mnt/sdcard/download/teste.zip"); Intent it = new Intent(); it.setAction(android.content.Intent.ACTION_VIEW); it.setDataAndType(Uri.fromFile(file), "application/zip"); startActivity(it); But it doesn't works either. (HowTos)