Android Question Listener for incoming packets

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello,

Is there way listen tcp package and parse them ? I need application for check new WhatsApp and Viber messages. Im not asking read this app's database need just for new messages.

Thank you
 

ykucuk

Well-Known Member
Licensed User
Longtime User
Yes. Search for ServerSocket.

It will not allow to check for new WhatsApp or Viber messages. The best you can do is to listen for notifications with NotificationListener library.

Hi Erel. NotificationListener library works fine except if chat screen is not active. If chat screen is active notification service doesn't fired.

Any help for this ?
 
Upvote 0

ykucuk

Well-Known Member
Licensed User
Longtime User
I dont think so as there is NO Notification if Whatsapp is runing in foreground. So you are not able to capture it.
Hello @DonManfred. ServerSocket may do what i want. I want listen incoming/outgoing data over internet on user phone. Do you have any idea about how to do it ?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
ServerSocket may do what i want
Do you have an address (url) of an whatapps-server and a documentation how to communicate over this server?
I don´t know any server-adress and even no documentation of an API you can use. Whatsapp did not published a API.

Do you have any idea about how to do it ?
I think you are not able. Based on the Answer Erel gave.
The best you can do is to listen for notifications with NotificationListener library.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…