How i can convert pcap files to txt files in Android?
I capture traffic using tcpdump, and save file in .pcap format. How can I convert this file to a plain text file, like Wireshark does?
Solution
Read it with tcpdump, without the -w flag, which will convert it to tcpdump's text format, written to the standard output.
Get TShark ported to Android; it will, with the proper command-line arguments in the case of TShark, will do it in a fashion surprisingly similar to what Wireshark does. :-)
Write your own program that does the same thing as tcpdump or Wireshark/TShark.