android-network-discovery icon indicating copy to clipboard operation
android-network-discovery copied to clipboard

How to detect devices connected to router using this library

Open A-Cheikh opened this issue 4 years ago • 2 comments

Hello All,

I tried to understand how to use this code, please could you precise to me how to detect the devices connected to my router using my android app, could you please clarify to me this code?

Thank in advance

A-Cheikh avatar Apr 20 '21 21:04 A-Cheikh

PLease any suggestion here?

A-Cheikh avatar Apr 21 '21 12:04 A-Cheikh

Hello,

Sorry this app is very old and you have to figure out a way to use it xD

There are some intents that you can use to open the port scan from your app https://github.com/rorist/android-network-discovery/blob/master/AndroidManifest.xml#L33

You could probably import the classes similarly of what's been done in the discovery activity https://github.com/rorist/android-network-discovery/blob/master/src/info/lamatricexiste/network/ActivityDiscovery.java#L363 which uses the DefaultDiscovery by default, https://github.com/rorist/android-network-discovery/blob/master/src/info/lamatricexiste/network/DefaultDiscovery.java#L30

Cheers

rorist avatar Apr 21 '21 12:04 rorist