Sunday, June 24, 2012

[android-developers] finding which application uses a port on the android device

Hi All,


I have an android native application which hosts a web server inside it.

I want to know which application makes requests before they are processed by my application.

What I have is the port of the calling application.


How can I find out which application is using this port?

I've tried looking for all processes (cat /proc/net/tcp6), but the application with the port I have is not listed (on a rooted device it is).


I need to find a way to find the calling application name on a regular device (not rooted).


Any help is highly appriciated.


Thanks!

Ami.


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate