Pierre Hébert I tried your Compass script.

Pierre Hébert I tried your Compass script. It throws an android is not defined error. I think you should check the full qualified class names syntax, because I’ts not working for me at all.

]]>

2 Commentsto Pierre Hébert I tried your Compass script.

  1. Anonymous says:

    < ![CDATA[

    Weird, it works for me. How does it work if you replace direct android.hardware.* references with their simple name and a call to LL.bindClass first at startup ?



    LL.bindClass(“android.hardware.Sensor”);


    LL.bindClass(“android.hardware.SensorEventListener”);


    LL.bindClass(“android.hardware.SensorManager”);

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Works

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *