Package net.rim.device.api.system

Examples of net.rim.device.api.system.ApplicationDescriptor


            _defaultRegistry.setDefaultContentHandler(DemoContentHandler.TYPES,
                    DemoContentHandler.SUFFIXES, DemoContentHandler.ACTIONS,
                    newDefaultHandlerId);

            // Get the handler app name from the descriptor
            final ApplicationDescriptor handlerDescriptor =
                    _defaultRegistry
                            .getApplicationDescriptor(newDefaultHandlerId);
            newDefaultHandlerName = handlerDescriptor.getName();
        } catch (final IOException e) {
            errorDialog("Can't set default handler: " + e.getMessage());
        }

        return newDefaultHandlerName;
View Full Code Here


            try {
                final Invocation invocation = getInvocation();
                final ContentHandler defaultHandler =
                        _defaultRegistry.getDefaultContentHandler(invocation);
                final String id = defaultHandler.getID();
                final ApplicationDescriptor handlerDescriptor =
                        _defaultRegistry.getApplicationDescriptor(id);
                defaultHandlerName = handlerDescriptor.getName();
            } catch (final IOException e) {
                defaultHandlerName = toggleDefaultHandler();
            }

            _toggleButton =
View Full Code Here

TOP

Related Classes of net.rim.device.api.system.ApplicationDescriptor

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.