Is it possible to run an Xamarin.Fors.Platform.Android.ForsApplicationActivity
on an Android Wear Device? The call base.OnCreate(bundle)
in the constructor of my class always throws an RuntimeException "You cannot use indeterminate progress on a watch".
Here is my code:
namespace Test
{
[Activity (Label = "Temp.Droid", Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsApplicationActivity
{
protected override void OnCreate (Bundle bundle)
{
base.OnCreate (bundle);
global::Xamarin.Forms.Forms.Init (this, bundle);
LoadApplication (new App ());
}
}
}