Skip to content

Adding manet manager to a new app #24

Description

@aleixsb

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions