Android How to add/configure Exchange setting programmatically?

前端 未结 2 336
清酒与你
清酒与你 2021-01-20 10:36

Is it me or I can\'t find any example of how to add/configure Microsoft Exchange programatically?

It seems like

AccountManager ::

addAccou         


        
2条回答
  •  清酒与你
    2021-01-20 11:29

    Android's AccountManager only adds sync based accounts, binding the provider and authenticator, helping authenticate credentials of the given account. Even after you would have taken care of the UID warning, you still need to populate the Exchange account settings properly, including those of sync look back etc. In short, you might need to be a system user app to work with the restricted content URI from email account.

提交回复
热议问题