Comments (1)
My guess is that you have to wait for the onServiceConnected() callback to be invoked after calling manet.connectToService(). You can then do what you need to do next in the body of onServiceConnected(), or set a flag there that you read elsewhere. Refer to how this class does it:
https://github.com/ProjectSPAN/android-manet-manager/blob/master/AndroidManetManager/src/org/span/manager/MainActivity.java
from android-manet-manager.
Related Issues (20)
- Interaction between connectToService/sendStartAdhocCommand and disconnectFromService/sendStopAdhocCommand HOT 38
- Manet Manager can get into a funky state where it will refuse to setup the manet HOT 3
- Adding support for Samsung Galaxy S4 HOT 25
- is there any way to get tx power in android...? HOT 1
- Bluetooth tethering + Wifi appears to drop OLSR packets HOT 4
- Does DNS work? HOT 3
- Is there any APIs for developers to do further work? HOT 2
- Adding support for multiple radios HOT 1
- How to connect application to manet manager (use olsr) HOT 3
- Detect other device IP HOT 5
- Manet application not working HOT 6
- Implementing willingness HOT 2
- searching for a .config for galaxy s4 sgh-i337 HOT 2
- Manet unable to interact properly with more than 2 devices
- compile edify
- How to build manet manager using android studio
- Error in executing the app on androoid studio HOT 1
- Where are the ad-hoc kernels? HOT 1
- How do I modify OLSR? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-manet-manager.