Package net.rim.device.api.lbs.maps.server

Examples of net.rim.device.api.lbs.maps.server.ReverseGeocoder


                                    .parseFloat(lon));
                    final AdminChoice choice =
                            (AdminChoice) _choiceField.getChoice(_choiceField
                                    .getSelectedIndex());

                    final ReverseGeocoder reverseGeocoder =
                            ReverseGeocoder.getInstance();

                    if (_blockingCheckBox.getChecked()) {
                        // We are making a blocking request, should not be
                        // called on event thread.
                        final Thread t = new Thread(new Runnable() {
                            /**
                             * @see java.lang.Runnable#run()
                             */
                            public void run() {
                                try {
                                    // This will check the cache first before
                                    // making
                                    // a request to the server. Passing null as
                                    // the
                                    // first argument to reverseGeocode()
                                    // results in
                                    // a blocking call.
                                    final ReverseGeocodeExchange ex =
                                            reverseGeocoder
                                                    .reverseGeocode(
                                                            null,
                                                            origin,
                                                            choice.getValue(),
                                                            Integer.parseInt(_bearingEditField
View Full Code Here

TOP

Related Classes of net.rim.device.api.lbs.maps.server.ReverseGeocoder

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.