Near
Near copied to clipboard
A P2P library for Android for discovery on local networks using UDP and transfer in general using TCP sockets
I ran your example and when I exit the app this error appears: ``` java.lang.RuntimeException: Unable to start service com.adroitandroid.near.discovery.client.UdpBroadcastService@73c0f23 with null: java.lang.NullPointerException: Parameter specified as non-null is null: method...
Hii, I am just creating a demo exactly like yours. But I got an issue with the socket object. Every time it stops in the startServer method(val connectionSocket = mServerSocket!!.accept())...
java.lang.NoClassDefFoundError: Failed resolution of: Lkotlin/text/Regex; what is the cause for this error? Code is below mNearDiscovery = new NearDiscovery.Builder() .setContext(this) .setDiscoverableTimeoutMillis(60000) .setDiscoveryTimeoutMillis(60000) .setDiscoverablePingIntervalMillis(1000) .setDiscoveryListener(getNearDiscoveryListener(), Looper.getMainLooper()) .build(); mNearDiscovery.makeDiscoverable("Abcd","");
I have a lot of devices and I want to group them by service, can you do it? ex: makeDiscoverable (String hostName, String serviceName); makeDiscoverable ("My android device", "printer.tcp"); Look...
Hello, I make a long scan (many hours) and the ping is every 5000ms. Sometimes i have 0 peers connected sometimes 1 and that chnage evry 2-3 times ping. What...
hi thanks for amazing library i wonder if we can add p2p video call support to it , it will be very good thanks
This library is awesome, I was stuck creating a P2P chat with no middle servers and any other softwares, it never worked with sockets, it was a huge problem, also...
Hello, As you marked in your doc, it would be nice to be able to have several instances of NearConnect, it would allow to have a instance of scan and...