Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to detect devices connected to router using this library #29

Open
A-Cheikh opened this issue Apr 20, 2021 · 2 comments
Open

How to detect devices connected to router using this library #29

A-Cheikh opened this issue Apr 20, 2021 · 2 comments

Comments

@A-Cheikh
Copy link

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
Copy link
Author

PLease any suggestion here?

@rorist
Copy link
Owner

rorist commented Apr 21, 2021

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants