Package net.rim.device.api.io.transport.options

Examples of net.rim.device.api.io.transport.options.TcpCellularOptions


        // Set TCP Cellular options
        if (_tcpApn.getText().trim().length() != 0
                || _tcpApnUser.getText().trim().length() != 0
                || _tcpApnPassword.getText().trim().length() != 0) {

            final TcpCellularOptions tcpOptions = new TcpCellularOptions();
            tcpOptions.setApn(_tcpApn.getText().trim());
            tcpOptions.setTunnelAuthUsername(_tcpApnUser.getText().trim());
            tcpOptions.setTunnelAuthPassword(_tcpApnPassword.getText().trim());

            factory.setTransportTypeOptions(
                    TransportInfo.TRANSPORT_TCP_CELLULAR, tcpOptions);
        }
View Full Code Here

TOP

Related Classes of net.rim.device.api.io.transport.options.TcpCellularOptions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.