Hello all, I hope someone can help me. I currently try to get all ports that are used by an app but I don't really know how I could do this.
If I am not wrong, the netstat tool is a bit downgraded on android and there is no lsof (by default). Does anyone knows how I could achieve this mapping app <-> ports, in the end I'd like to have a java class where I can pass a pid (or app packagename) and get all ports. I thought about using /proc/net/tcp but to be hones I'd have to read quite a lot to do it this way and I really prefere an easier solution. Is there maybe an arm port of lsof or any other possibility to get the ports belonging to an app ? Thank you very much :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

