please check the following error while running the BluetoothLEExplorer.Droid project from http://developer.xamarin.com/content/BluetoothLEExplorer/.
D:\robotics programming\ys u\BluetoothLEExplorer_2\BluetoothLEExplorer.Droid\obj\Debug\android\src\bluetoothleexplorer\droid\ui\controls\ScanButton.java(3,3): Error: error: no suitable constructor found for Button(Context,AttributeSet,int,int)
super (p0, p1, p2, p3);
constructor Button.Button(Context) is not applicable
(actual and formal argument lists differ in length)
constructor Button.Button(Context,AttributeSet) is not applicable
(actual and formal argument lists differ in length)
constructor Button.Button(Context,AttributeSet,int) is not applicable
(actual and formal argument lists differ in length)
(BluetoothLEExplorer.Droid)
this is on line 43 in ScanButton.java file in the controls directory.
the following is ScanButton.java file
package bluetoothleexplorer.droid.ui.controls;
public class ScanButton
extends android.widget.Button
implements
mono.android.IGCUserPeer
{
static final String __md_methods;
static {
__md_methods =
"";
mono.android.Runtime.register ("BluetoothLEExplorer.Droid.UI.Controls.ScanButton, Xamarin.Robotics.BluetoothLEExplorer.Droid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", ScanButton.class, __md_methods);
}
public ScanButton (android.content.Context p0) throws java.lang.Throwable
{
super (p0);
if (getClass () == ScanButton.class)
mono.android.TypeManager.Activate ("BluetoothLEExplorer.Droid.UI.Controls.ScanButton, Xamarin.Robotics.BluetoothLEExplorer.Droid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Android.Content.Context, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065", this, new java.lang.Object[] { p0 });
}
public ScanButton (android.content.Context p0, android.util.AttributeSet p1) throws java.lang.Throwable
{
super (p0, p1);
if (getClass () == ScanButton.class)
mono.android.TypeManager.Activate ("BluetoothLEExplorer.Droid.UI.Controls.ScanButton, Xamarin.Robotics.BluetoothLEExplorer.Droid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Android.Content.Context, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065:Android.Util.IAttributeSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065", this, new java.lang.Object[] { p0, p1 });
}
public ScanButton (android.content.Context p0, android.util.AttributeSet p1, int p2) throws java.lang.Throwable
{
super (p0, p1, p2);
if (getClass () == ScanButton.class)
mono.android.TypeManager.Activate ("BluetoothLEExplorer.Droid.UI.Controls.ScanButton, Xamarin.Robotics.BluetoothLEExplorer.Droid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Android.Content.Context, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065:Android.Util.IAttributeSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065:System.Int32, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", this, new java.lang.Object[] { p0, p1, p2 });
}
public ScanButton (android.content.Context p0, android.util.AttributeSet p1, int p2, int p3) throws java.lang.Throwable
{
super (p0, p1, p2, p3);
if (getClass () == ScanButton.class)
mono.android.TypeManager.Activate ("BluetoothLEExplorer.Droid.UI.Controls.ScanButton, Xamarin.Robotics.BluetoothLEExplorer.Droid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null", "Android.Content.Context, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065:Android.Util.IAttributeSet, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065:System.Int32, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e:System.Int32, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", this, new java.lang.Object[] { p0, p1, p2, p3 });
}
java.util.ArrayList refList;
public void monodroidAddReference (java.lang.Object obj)
{
if (refList == null)
refList = new java.util.ArrayList ();
refList.add (obj);
}
public void monodroidClearReferences ()
{
if (refList != null)
refList.clear ();
}
}