Note that there are some explanatory texts on larger screens.

plurals
  1. POCreate Email account from type existing Account Services
    primarykey
    data
    text
    <p>I have gone through <strong><em>SampleSyncAdapter</em></strong> sample project provided by Android doc, but as I understand, there we need to add an account of custom Account service. <em>But my need is to create an email account from existing account services on device.</em></p> <hr> <p><strong><em>To be more clear about my question, I am giving an example</em></strong></p> <p>Here are the Account services available on my Device <img src="https://i.stack.imgur.com/9O0wp.png" alt="enter image description here"></p> <p>and I guess 'Google' and 'Email' account services are available on each Android device.</p> <p>Now I want to configure an 'Email' account, so I must follow these below steps: </p> <p><strong><em>Step 1:</em></strong> Enter existing email id and password</p> <p><strong><em>Step 2: [a]</em></strong> General Settings Attributes : - (Account name, Real Name, Email Address)</p> <p><strong><em>Step 2: [b]</em></strong> Incoming server Attributes : - (POP or IMAP mail server, Server Address, user name, password)</p> <p><strong><em>Step 2: [c]</em></strong> Outgoing server Attributes : - (SMTP server, user name, password)</p> <p><strong><em>Step 3:</em></strong> By choosing Advanced settings, we can configure port and certificate options. </p> <p>And we need to go through the above steps manually, <em>but I want to create an Email account programmatically</em> by using all above settings. </p> <hr> <p><strong><em>So how can I create new email account from existing Account Services progrmatically?</em></strong> I need this functionality for MDM.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload