Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does one unpack a tar file in Android?

Tags:

android

tar

I'm not overly familiar with tar, so, this may be a stupid question, but I have a situation where I want to grab a tarball from the server (preferably compressed, but that's not essential), download it on to the device and untar it.

I'm not seeing any standard library to do this... am I overlooking it, or does it not exist?

[EDIT] I'm attempting to do this in my app by means of some API or library that handles unpacking tars - I'm not looking for an app that un-tars stuff on my device.

like image 586
Yevgeny Simkin Avatar asked Jan 28 '13 04:01

Yevgeny Simkin


1 Answers

I don't know if there is support for it built into the OS. But you should be able to use a third party library to do it.

Here is one, I am sure there are others to choose from out there as well.

like image 84
FoamyGuy Avatar answered Sep 21 '22 10:09

FoamyGuy