API's available for configuring email settings

by Ryan » Fri, 22 Apr 2011 03:39:21 GMT


Sponsored Links
 What API's are available for configuring the native android email
client's mail profiles?  I'd like to build an application to
automatically distribute out email settings to a group of devices so
the user does not have to do anything manually to configure email.
Ideally, I could also remove the email settings programatically when
desired, which would in turn get rid of the email associated with that
account.  As an added bonus, setting some of the things not available
thru the configuration wizard would be ideal as well, such as the
ActiveSync device ID in the case of an ActiveSync account.

Thanks in advance for any API help you can provide,
Ryan

-- 



Re: API's available for configuring email settings

by Marcin Orlowski » Fri, 22 Apr 2011 04:07:10 GMT


 Doubt there's any.

Regards,
Marcin Orlowski

*Tray Agenda < http://bit.ly/trayagenda> ;* - keep you daily schedule handy...
*Date In Tray* < http://bit.ly/dateintraypro> ; - current date at glance...
WebnetMobile on *Facebook < http://webnetmobile.com/fb/> ;* and
*Twitter< http://webnetmobile.com/twitter/> ;
*







-- 


Sponsored Links


Other Threads

1. Any idea for Augmented Reality??

Hey guys
can anyone guide me to the path of augmented reality some nice
tutorials, books ,special tips, platforms/sdk
video links which can do the magic,..


Thanks

-- 

2. Unable to send AT cmd to gsm modem to disconnect gprs on eclair

Hello,


I use the virtual channel daemon and the multiplex mode to create 2
channels to connect to GSM modem. One is for AT command and the other
one is for gprs connection.
The moment the APN is set, it will try to switch to data mode on the
GPRS channel by sending some related AT commands and start the PPP
daemon with it. Then the ppp net device is created and i am able to
send and receive data by java socket over this device.

But when I try to disconnect the gprs connection by changing APN, I
got a problem that I can't send any at command to GPRS channel and
always get writing error code 11 (EAGAIN).

Actually most of my code is based on freerunner froyo.

My GSM modem is SIM900A.

The gprs channel is opened by


                fd_gprs = open ("/dev/pts/1", O_RDWR | O_NONBLOCK);
                if ( fd_gprs >= 0 ) {
                    struct termios  ios;
                    tcgetattr(fd_gprs, &ios);
                    ios.c_lflag = 0;
                    cfsetispeed(&ios, B115200);
                    cfsetospeed(&ios, B115200);
                    tcsetattr(fd_gprs, TCSANOW, &ios );
                }

The pppd is started with the options:

/dev/pts/1
user
password
unit 1
noauth
nodetach
default-asyncmap
ipcp-accept-local
ipcp-accept-remote
usepeerdns
defaultroute



The disconnecting AT command I sent is


int at_deactivate_modem(struct ATChannels *ATch)
{
    ...
    ioctl(ATch->s_fd, TIOCSBRK, 0);
    ioctl(ATch->s_fd, TIOCSBRK, 0);
    ioctl(ATch->s_fd, TIOCSBRK, 0);

    err = at_send_command_full_nolock (ATch, "+++AT", NO_RESULT,
                                       NULL, NULL, CLOSE_TIMEOUT_MSEC,
                                       NULL);

    /* some stacks start with verbose off */
    err = at_send_command_full_nolock (ATch, "ATH", NO_RESULT,
                                       NULL, NULL, CLOSE_TIMEOUT_MSEC,
                                       NULL);

    err = at_send_command_full_nolock (ATch, "AT+CGACT=0", NO_RESULT,
                                       NULL, NULL, CLOSE_TIMEOUT_MSEC,
                                       NULL);

    err = at_send_command_full_nolock (ATch, "AT+CGATT=0", NO_RESULT,
                                       NULL, NULL, CLOSE_TIMEOUT_MSEC,
                                       NULL);
    ...
}

The err is always -1 and the errno is set to 11 accordingly.

Could anyone has any ideas on this issue?



Thanks,

Jack

-- 

3. Log every action/event to an external file

4. RSSI values

5. marketbilling project closed?

6. Renderscript vs WebGL

7. bitmap returning null