switchModule?

Hi,
I tried start learning about the metawear board in android stuidio, but I'm sadly stuck on this early step. Sorry if my question is stupid for all you skilled ones. I try to follow this guide https://youtube.com/watch?v=Mbhov43b7z0&feature=youtu.be&t=1m34s and I am stuck on the step where I should write the code "switchModule" it does not appear in the list and don't turn purple like in the video. What should I do?

Thanks

Comments

  • That video is 2.5 years old, and as stated in the description, for an older API release.

    Follow the tutorials outlined on the website:
    http://mbientlab.com/tutorials/SDKs.html#java

  • edited March 5

    Thank you very much. I have now tried the other tutorial and I am stuck on the step http://mbientlab.com/tutorials/SDKs.html#modules (6.1.2.1.) I don't understand where I should find the "onServiceConnected" function. I should add the codes beneth it right? I am sorry for beginner questions - a video would really be good for in my case. It would still be very valuable for me to succeed making one simple java-app, if you know what I mean... Anyway I am very grateful for the support.

  • Huh, looks like that section was linking to the wrong code template. This is the project that tutorial is based on:
    https://github.com/mbientlab/MetaWear-Tutorial-Android/tree/master/starter

    The instructions will be much clearer with that code base.

    As this thread has deviated from the original topic, please post new questions in their own thread.

  • thank you! seems much clearer yep!

Sign In or Register to comment.