Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 没有';t在Moto Xoom平板电脑上启动应用程序_Android_Xamarin_Motorola Droid - Fatal编程技术网

Android 没有';t在Moto Xoom平板电脑上启动应用程序

Android 没有';t在Moto Xoom平板电脑上启动应用程序,android,xamarin,motorola-droid,Android,Xamarin,Motorola Droid,我正在开发android应用程序,它只能在没有打开的MOTOXOOM(10英寸标签)上运行,只能在白色屏幕上显示 雄激素单 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" android:versionName="2.4" packag

我正在开发android应用程序,它只能在没有打开的MOTOXOOM(10英寸标签)上运行,只能在白色屏幕上显示

雄激素单

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="auto" android:versionName="2.4" package="lionbridge.tms.notification" android:versionCode="5">
    <uses-sdk android:minSdkVersion="15" />

    <application android:label="TMS Tasks" android:icon="@drawable/Icon"></application>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
  <uses-permission android:name="android.permission.INTERNET" />
</manifest>

清单本身肯定没有足够的信息,发布一些C代码或启动的logcat转储。没有更多信息,无法进行诊断。更好的方法是:)如果您还可以获取logcat捕获,这也会有所帮助。事实上,matthewrdev我的设备(Moto Xoom)在我的电脑中未被检测到,因此我无法获取logcat文件:(清单本身绝对没有足够的信息,发布一些C#代码或启动的logcat转储。没有更多信息无法诊断。更好的感谢:)如果您还可以获取logcat捕获,这也会有所帮助。实际上matthewrdev my device(Moto Xoom)在我的pc中没有检测到,因此我无法获取logcat文件:(
namespace Mobile.UI.Droid
{
    [Activity(
        Label = "Mobile Tasks"
        , MainLauncher = true
        , Icon = "@drawable/icon"
        , Theme = "@style/Theme.AppCompat.Light.NoTitle"
        //, Theme = "@style/Theme.Splash"// Theme = "@style/Theme.AppCompat.Light"
        , NoHistory = true)]
        // ScreenOrientation = ScreenOrientation.Portrait)]
    public class SplashScreen : MvxSplashScreenActivity
    {
        public SplashScreen()
            : base(Resource.Layout.SplashScreen)
        {
        }
        protected override void OnCreate(Android.OS.Bundle bundle)
        {
            base.OnCreate(bundle);
            if (IsTablet(this))
            {
            }
            else
            {
                RequestedOrientation = Android.Content.PM.ScreenOrientation.Portrait;
            }
        }

        #region Check android device/Tablet
        public static bool IsTablet(Context context)
        {
            return (context.Resources.Configuration.ScreenLayout & ScreenLayout.SizeMask) >= ScreenLayout.SizeLarge;
        }

        #endregion

    }
}