是我还是我无法找到如何添加任何例子/ Microsoft Exchange配置编程?
Is it me or I can't find any example of how to add/configure Microsoft Exchange programatically?
看起来
的AccountManager ::
AccountManager ::
addAccount (String accountType, String authTokenType, String[] requiredFeatures, Bundle addAccountOptions, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler)
应该做的工作。 但是,我不知道如何为Microsoft Exchange帐户。 你可以点我到一个简单的工作例如code?
should do the work. However, I can't figure out how for Microsoft Exchange account. Could you point me to a simple working example code?
感谢你。
好像它不能由应用程序完成。
Seems like it can't be done by applications.
您会得到以下异常:
ERROR / AndroidRuntime(442):java.lang.SecurityException异常:产生的原因来电UID xxxxx是不是认证的uid不同
由于客户经理验证这写的交换身份验证的应用程序(谷歌)是同一个正在创建帐户,你会得到这个异常。 这里有一个帖子解释的AccountManager
在这种情况下的逻辑。
you'll get this exception because the account manager verifies that the application that wrote the exchange authenticator (Google) is the same one that is creating the account. here's a post that explains AccountManager
's logic in that case.
上一篇:如何等待TextToSpeech的初始化在Android初始化、TextToSpeech、Android
下一篇:k__BackingField 在 C# 中删除(通过 Swashbuckle/Swagger 看到)k__BackingField、Swashbuckle、Swagger