I have a problem with button module in Android (CPRO)

I should use "import com.mbient.lab.metawear.module.Switch;" for using button in CPRO sensor.
But I got an Error : 'android.widget.Switch'is already defined in a single-type import. 
I think "import android.widget.Swithch;" conflict with that.

I can't find solution with this error.

Comments

  • edited November 2016
    You can import one Switch class and use the fully qualified name for the other class.
This discussion has been closed.