Closed AndroFlo closed 6 years ago
Thanks! I'll take a look within 48 and merge if all is well
On 09-Oct-2017 7:18 PM, "Audigué Florian" notifications@github.com wrote:
Upgrade the minSdkversion to 26 Add the possibility to set a port to an NearConnection to have multiple instance running set minsdkversion to 19 (tested on multiple devices)
You can view, comment on, or merge this pull request online at:
https://github.com/adroitandroid/Near/pull/3 Commit Summary
- update gradle version
- add the possibility to have multiple NearConnection ( manually set a port )
- add a sample to setPort in ChatActivity.java
- upgrade compileSdkVersion to 26 and buildToolsversionTo 26.0.1
- downgrade minSdkVersion to 19 ( tested)
File Changes
- M app/build.gradle https://github.com/adroitandroid/Near/pull/3/files#diff-0 (21)
- M app/src/main/java/com/adroitandroid/p2pchat/ChatActivity.java https://github.com/adroitandroid/Near/pull/3/files#diff-1 (1)
- M build.gradle https://github.com/adroitandroid/Near/pull/3/files#diff-2 (2)
- M near/build.gradle https://github.com/adroitandroid/Near/pull/3/files#diff-3 (17)
- M near/src/main/java/com/adroitandroid/near/connect/ NearConnect.java https://github.com/adroitandroid/Near/pull/3/files#diff-4 (10)
- M near/src/main/java/com/adroitandroid/near/connect/ NearConnectImpl.java https://github.com/adroitandroid/Near/pull/3/files#diff-5 (8)
- M near/src/main/java/com/adroitandroid/near/connect/ TcpClientService.java https://github.com/adroitandroid/Near/pull/3/files#diff-6 (6)
- M near/src/main/java/com/adroitandroid/near/connect/ TcpServerService.java https://github.com/adroitandroid/Near/pull/3/files#diff-7 (18)
Patch Links:
- https://github.com/adroitandroid/Near/pull/3.patch
- https://github.com/adroitandroid/Near/pull/3.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/adroitandroid/Near/pull/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AIDhjtp0HOanKMeorGBABSLil5Y6yR1kks5sqiRHgaJpZM4Pyg_A .
Finally the have a problem of cohabitation with two instances of near connect, i work on it
What issue did you face? I'll see if I can help over the weekend for this one 👍
On 13-Oct-2017 2:25 PM, "Audigué Florian" notifications@github.com wrote:
Finally the have a problem of cohabitation with two instances of near connect, i work on it
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/adroitandroid/Near/pull/3#issuecomment-336392636, or mute the thread https://github.com/notifications/unsubscribe-auth/AIDhjqSy6dY--2ykPANSin_w-AgVXSqjks5sryWSgaJpZM4Pyg_A .
In my application I have a master phone and two slave phones. The master uses a service where it is always discoverable and the other two seek the master when one of the slave finds the master it starts a communication service where it is connected only to the master. The master also starts the communication service but the second slave can be added so he has 2 peers. The problem is that when I'm in slave mode and I close the Discovery service and my NearConnect object I have socket closed or connection denied
Upgrade the minSdkversion to 26 Add the possibility to set a port to an NearConnection to have multiple instance running #2 set minsdkversion to 19 (tested on multiple devices)