Action_Call不适用于Galaxy S3?

时间:2012-10-17 14:42:18

标签: c# android xamarin.android

我的问题是,当我尝试使用Action_Call意图拨打电话时,应用程序崩溃并退出菜单。我已经在许多其他设备上测试了我的代码,它运行良好!问题是什么?这是我的代码:

    String encodedHash = Uri.encode("#");
    String ussd = "*" + encodedHash + "105" + encodedHash;
    startActivityForResult(new Intent("android.intent.action.CALL",
    Uri.parse("tel:" + ussd)), 1);

请记住我的问题仅在Galaxy S3上,我也在使用Mono for Android。

0 个答案:

没有答案