Package net.rim.device.api.browser.field

Examples of net.rim.device.api.browser.field.RequestedResource


                        }
                    }
                }
            }

            RequestedResource resource = null;

            // Request next image.
            synchronized (_imageQueue) {
                if (_imageQueue.size() > 0) {
                    resource = (RequestedResource) _imageQueue.elementAt(0);
                    _imageQueue.removeElementAt(0);
                }
            }

            if (resource != null) {

                final HttpConnection connection =
                        Utilities.makeConnection(resource.getUrl(), resource
                                .getRequestHeaders(), null);
                resource.setHttpConnection(connection);

                // Signal to the browser field that resource is ready.
                if (_browserField != null) {
                    _browserField.resourceReady(resource);
                }
View Full Code Here

TOP

Related Classes of net.rim.device.api.browser.field.RequestedResource

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.