Examples of FireAndForgetDestination


Examples of net.rim.device.api.io.messaging.FireAndForgetDestination

     *
     * @param uriSenderStr
     *            Sender destination URI
     */
    public void sendFireForget(final String uriSenderStr) {
        FireAndForgetDestination fireForgetDest = null;
        try {
            fireForgetDest =
                    (FireAndForgetDestination) DestinationFactory
                            .getSenderDestination(_context.getName(), URI
                                    .create(uriSenderStr));

            if (fireForgetDest == null) {
                fireForgetDest =
                        DestinationFactory.createFireAndForgetDestination(
                                _context, URI.create(uriSenderStr));
            }
            final int msgId = fireForgetDest.sendNoResponse();

            alertDialog("Message [id:" + msgId + "] has been sent!");
        } catch (final Exception e) {
            alertDialog(e.toString());
        }
View Full Code Here

Examples of net.rim.device.api.io.messaging.FireAndForgetDestination

     *
     * @param uriSenderStr
     *            Sender destination URI
     */
    public void sendFireForget(final String uriSenderStr) {
        FireAndForgetDestination fireForgetDest = null;

        try {
            fireForgetDest =
                    (FireAndForgetDestination) DestinationFactory
                            .getSenderDestination(_context.getName(), URI
                                    .create(uriSenderStr));

            if (fireForgetDest == null) {
                fireForgetDest =
                        DestinationFactory.createFireAndForgetDestination(
                                _context, URI.create(uriSenderStr));
            }

            final int msgId = fireForgetDest.sendNoResponse();

            alertDialog("Message [id:" + msgId + "] has been sent!");
        } catch (final Exception e) {
            alertDialog(e.toString());
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.