-
Notifications
You must be signed in to change notification settings - Fork 39
Adding manet manager to a new app #24
Copy link
Copy link
Open
Labels
Description
Hi!
I've been trying to add the manet manager to an app that i'm building, but with no success.
I've created the JAR from the MM and imported to my app. I try to start de ad-hoc like this:
manet = new ManetHelper(this);
manet.registerObserver(this);
EulaHelper eula = new EulaHelper(this, this);
eula.showDialog();
manet.connectToService();
I'll started creating a simple app that only starts an ad-hoc network with a button but every time I recive an error:
03-04 11:01:03.930: E/ManetHelper::sendMessage(4021): You must connect to the ManetService before sending messages to it!
I understand I have some error with the service but don't know what i'm doing wrong.. Anyone can help me?
Reactions are currently unavailable