小编Ard*_*tin的帖子

Android Studio找不到与com.android.support:appcompat-v7:+匹配的任何版本

在Android Studio中运行项目失败,并显示以下错误: could not find any version that matches com.android.support:appcompat-v7:+

我该如何解决这个错误?

android android-studio

101
推荐指数
5
解决办法
8万
查看次数

使用Windows Phone 8.1返回键按事件

我正在使用我的Windows Phone 8.1应用程序.我想在用户按回键时显示消息.我知道代码,但出了点问题.Visual Studio在MessageBox,MessageBoxResult下显示红线.

如何在Windows Phone 8.1中显示消息?我认为在WP7操作系统之后它已经改变了.

这是我的代码示例.

public MainPage()
    {
        this.InitializeComponent();
        progRing.IsActive = true;
        Window.Current.SizeChanged += Current_SizeChanged;
        Windows.Phone.UI.Input.HardwareButtons.BackPressed += HardwareButtons_BackPressed;
        this.NavigationCacheMode = NavigationCacheMode.Required;
    }
    protected override void OnNavigatedTo(NavigationEventArgs e)
    {

    }

    private void HardwareButtons_BackPressed(object sender, Windows.Phone.UI.Input.BackPressedEventArgs e)
    {

    }

    protected override void OnBackKeyPress(System.ComponentModel.CancelEventArgs e)
    {
        string caption = "Stop music and exit?";
        string message = "If you want to continue listen music while doing other stuff, please use Home key instead of Back key. Do you still want to …
Run Code Online (Sandbox Code Playgroud)

c# messagebox windows-phone-8

5
推荐指数
1
解决办法
1万
查看次数

如何部署我的Windows Phone 8.1应用程序?

我刚刚使用update 2 RC更新了我的Visual Studio Professional 2013.我做了一个简单的应用程序尝试.我选择发布并单击项目中的构建按钮,但它不适用于创建xxxx.appx文件.它正在创建xxx.exe和其他文件.

如何在8.1中创建.appx包?

windows-phone-8.1

2
推荐指数
1
解决办法
8246
查看次数