├── settings.gradle ├── rMapsFree ├── lint.xml ├── src │ └── main │ │ └── res │ │ └── values │ │ └── strings.xml └── build.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── mainActivity ├── lint.xml ├── src │ └── main │ │ ├── res │ │ ├── drawable │ │ │ ├── poi.png │ │ │ ├── arrow.png │ │ │ ├── icon.png │ │ │ ├── arrow_n.png │ │ │ ├── person.png │ │ │ ├── poi_stop.png │ │ │ ├── poiblue.png │ │ │ ├── poigreen.png │ │ │ ├── poiwhite.png │ │ │ ├── r_blank.png │ │ │ ├── r_close.png │ │ │ ├── r_mark.png │ │ │ ├── zoom_in.png │ │ │ ├── zoom_out.png │ │ │ ├── autofollow.png │ │ │ ├── bubble2.9.png │ │ │ ├── poi_stop2.png │ │ │ ├── poiyellow.png │ │ │ ├── r_divider.png │ │ │ ├── r_download.png │ │ │ ├── r_options.png │ │ │ ├── r_overlays.png │ │ │ ├── poi_bluefish.png │ │ │ ├── poi_bluegryb.png │ │ │ ├── poi_bluewood.png │ │ │ ├── poi_cyanfish.png │ │ │ ├── poi_cyangryb.png │ │ │ ├── poi_cyanwood.png │ │ │ ├── poi_greenfish.png │ │ │ ├── poi_greengryb.png │ │ │ ├── poi_greenwood.png │ │ │ ├── poi_redfish.png │ │ │ ├── poi_redgryb.png │ │ │ ├── poi_redwood.png │ │ │ ├── poi_yellfish.png │ │ │ ├── poi_yellgryb.png │ │ │ ├── poi_yellwood.png │ │ │ ├── r_action_menu.png │ │ │ ├── r_home_other1.png │ │ │ ├── ic_menu_archive.png │ │ │ ├── maptile_loading.png │ │ │ ├── maptile_notile.png │ │ │ ├── maptile_notile1.png │ │ │ ├── maptile_notile2.png │ │ │ ├── poi_bluebigfish.png │ │ │ ├── poi_cyanbigfish.png │ │ │ ├── poi_magentfish.png │ │ │ ├── poi_magentgryb.png │ │ │ ├── poi_magentwood.png │ │ │ ├── poi_redbigfish.png │ │ │ ├── poi_satttelite.png │ │ │ ├── poi_yellbigfish.png │ │ │ ├── popup_button.9.png │ │ │ ├── poi_greenbigfish.png │ │ │ ├── poi_magentbigfish.png │ │ │ ├── r_background_stripes.png │ │ │ ├── ric_menu_attachment.png │ │ │ ├── track_writer_service.png │ │ │ ├── btn_check_buttonless_on.png │ │ │ ├── btn_check_buttonless_off.png │ │ │ ├── r_back.xml │ │ │ ├── rect.xml │ │ │ └── track_checkbox.xml │ │ ├── drawable-hdpi │ │ │ ├── poi.png │ │ │ ├── arrow.png │ │ │ ├── icon.png │ │ │ ├── r_add.png │ │ │ ├── person.png │ │ │ ├── poi_stop.png │ │ │ ├── poiblue.png │ │ │ ├── poigreen.png │ │ │ ├── poiwhite.png │ │ │ ├── r_close.png │ │ │ ├── r_mark.png │ │ │ ├── zoom_in.png │ │ │ ├── zoom_out.png │ │ │ ├── autofollow.png │ │ │ ├── bubble2.9.png │ │ │ ├── poi_redkar.png │ │ │ ├── poi_stop2.png │ │ │ ├── poiyellow.png │ │ │ ├── r_divider.png │ │ │ ├── r_download.png │ │ │ ├── r_options.png │ │ │ ├── r_overlays.png │ │ │ ├── poi_blueberry.png │ │ │ ├── poi_blueboat.png │ │ │ ├── poi_bluefish.png │ │ │ ├── poi_bluegryb.png │ │ │ ├── poi_blueinfo.png │ │ │ ├── poi_bluekar.png │ │ │ ├── poi_bluewhat.png │ │ │ ├── poi_bluewood.png │ │ │ ├── poi_cyanberry.png │ │ │ ├── poi_cyanboat.png │ │ │ ├── poi_cyanfish.png │ │ │ ├── poi_cyangryb.png │ │ │ ├── poi_cyaninfo.png │ │ │ ├── poi_cyankar.png │ │ │ ├── poi_cyanwhat.png │ │ │ ├── poi_cyanwood.png │ │ │ ├── poi_grayberry.png │ │ │ ├── poi_grayboat.png │ │ │ ├── poi_grayfish.png │ │ │ ├── poi_graygryb.png │ │ │ ├── poi_grayinfo.png │ │ │ ├── poi_graykar.png │ │ │ ├── poi_graywhat.png │ │ │ ├── poi_graywood.png │ │ │ ├── poi_greenboat.png │ │ │ ├── poi_greenfish.png │ │ │ ├── poi_greengryb.png │ │ │ ├── poi_greeninfo.png │ │ │ ├── poi_greenkar.png │ │ │ ├── poi_greenwhat.png │ │ │ ├── poi_greenwood.png │ │ │ ├── poi_magentkar.png │ │ │ ├── poi_redanchor.png │ │ │ ├── poi_redberry.png │ │ │ ├── poi_redboat.png │ │ │ ├── poi_redfish.png │ │ │ ├── poi_redgryb.png │ │ │ ├── poi_redinfo.png │ │ │ ├── poi_redwhat.png │ │ │ ├── poi_redwood.png │ │ │ ├── poi_yellberry.png │ │ │ ├── poi_yellboat.png │ │ │ ├── poi_yellfish.png │ │ │ ├── poi_yellgryb.png │ │ │ ├── poi_yellinfo.png │ │ │ ├── poi_yellkar.png │ │ │ ├── poi_yellwhat.png │ │ │ ├── poi_yellwood.png │ │ │ ├── r_action_menu.png │ │ │ ├── r_home_other1.png │ │ │ ├── poi_blueanchor.png │ │ │ ├── poi_bluebigfish.png │ │ │ ├── poi_bluekemping.png │ │ │ ├── poi_cyananchor.png │ │ │ ├── poi_cyanbigfish.png │ │ │ ├── poi_cyankemping.png │ │ │ ├── poi_grayanchor.png │ │ │ ├── poi_graybigfish.png │ │ │ ├── poi_graykemping.png │ │ │ ├── poi_greenanchor.png │ │ │ ├── poi_greenberry.png │ │ │ ├── poi_magentberry.png │ │ │ ├── poi_magentboat.png │ │ │ ├── poi_magentfish.png │ │ │ ├── poi_magentgryb.png │ │ │ ├── poi_magentinfo.png │ │ │ ├── poi_magentwhat.png │ │ │ ├── poi_magentwood.png │ │ │ ├── poi_redbigfish.png │ │ │ ├── poi_redkemping.png │ │ │ ├── poi_satttelite.png │ │ │ ├── poi_yellanchor.png │ │ │ ├── poi_yellbigfish.png │ │ │ ├── poi_yellkemping.png │ │ │ ├── popup_button.9.png │ │ │ ├── poi_greenbigfish.png │ │ │ ├── poi_greenkemping.png │ │ │ ├── poi_magentanchor.png │ │ │ ├── poi_magentbigfish.png │ │ │ ├── poi_magentkemping.png │ │ │ └── r_back.xml │ │ ├── drawable-mdpi │ │ │ ├── r_add.png │ │ │ ├── r_close.png │ │ │ ├── r_mark.png │ │ │ └── r_action_menu.png │ │ ├── drawable-xhdpi │ │ │ ├── r_add.png │ │ │ ├── r_close.png │ │ │ ├── r_mark.png │ │ │ ├── bubble2.9.png │ │ │ ├── popup_button.9.png │ │ │ └── r_action_menu.png │ │ ├── drawable-nodpi │ │ │ ├── bubble2.9.png │ │ │ ├── popup_button.9.png │ │ │ └── r_coverbase240.png │ │ ├── values │ │ │ ├── griddimens.xml │ │ │ ├── MapViewAttrs.xml │ │ │ ├── integer.xml │ │ │ ├── themes.xml │ │ │ ├── colors.xml │ │ │ ├── strings_notranslate.xml │ │ │ └── ids.xml │ │ ├── layout │ │ │ ├── preference_widget_btn_clear.xml │ │ │ ├── poi_list.xml │ │ │ ├── poicategory_list.xml │ │ │ ├── label_map.xml │ │ │ ├── mapselector.xml │ │ │ ├── search_bubble.xml │ │ │ ├── searchresult.xml │ │ │ ├── geodata_activity.xml │ │ │ ├── poiiconset.xml │ │ │ ├── main.xml │ │ │ ├── poicategory_spinner.xml │ │ │ ├── poicategory_spinner_dropdown.xml │ │ │ ├── tabloid.xml │ │ │ ├── poicategoryselectlist_item.xml │ │ │ ├── screencell.xml │ │ │ ├── poicategorylist_item.xml │ │ │ ├── main_title.xml │ │ │ ├── indicator_simple.xml │ │ │ ├── error_message_box.xml │ │ │ ├── pref_offset.xml │ │ │ ├── filelist_item.xml │ │ │ ├── filedownloadlist_item.xml │ │ │ ├── measure_info_box.xml │ │ │ ├── poilist_item.xml │ │ │ ├── track_list.xml │ │ │ ├── importtrack.xml │ │ │ ├── offsetactivity.xml │ │ │ ├── poi_descr.xml │ │ │ ├── importpoi.xml │ │ │ ├── dialog_color_picker.xml │ │ │ ├── poicategory.xml │ │ │ ├── track.xml │ │ │ └── filelist.xml │ │ ├── menu │ │ │ ├── poicategorylist_menu.xml │ │ │ ├── tracklist.xml │ │ │ ├── poilist_select_menu.xml │ │ │ ├── poilist_menu.xml │ │ │ └── id.xml │ │ ├── xml │ │ │ ├── mixedmapspreference.xml │ │ │ └── searchable.xml │ │ ├── layout-hdpi │ │ │ └── poi_descr.xml │ │ ├── layout-land │ │ │ └── dialog_color_picker.xml │ │ └── values-zh-rCN │ │ │ └── array.xml │ │ ├── java │ │ ├── com │ │ │ ├── sm │ │ │ │ └── maps │ │ │ │ │ └── applib │ │ │ │ │ ├── route │ │ │ │ │ └── IRouteProvider.java │ │ │ │ │ ├── kml │ │ │ │ │ ├── RouteListActivity.java │ │ │ │ │ ├── PoiCategory.java │ │ │ │ │ ├── utils │ │ │ │ │ │ └── TrackStyleOverlay.java │ │ │ │ │ ├── PoiPoint.java │ │ │ │ │ ├── TrackStatHelper.java │ │ │ │ │ └── PoiIconSetActivity.java │ │ │ │ │ ├── view │ │ │ │ │ └── IMoveListener.java │ │ │ │ │ ├── constants │ │ │ │ │ └── PrefConstants.java │ │ │ │ │ ├── tileprovider │ │ │ │ │ ├── MessageHandlerConstants.java │ │ │ │ │ ├── TileURLGeneratorTAR.java │ │ │ │ │ ├── TileURLGeneratorVFR.java │ │ │ │ │ ├── TileURLGeneratorOSM.java │ │ │ │ │ ├── TileURLGeneratorVFRCB.java │ │ │ │ │ ├── TileURLGeneratorAVC.java │ │ │ │ │ ├── TileURLGeneratorYANDEX.java │ │ │ │ │ ├── TileURLGeneratorDOCELUPL.java │ │ │ │ │ ├── TileURLGeneratorGOOGLESAT.java │ │ │ │ │ ├── TileURLGeneratorGOOGLEMAP.java │ │ │ │ │ ├── TileURLGeneratorMS.java │ │ │ │ │ ├── TileURLGeneratorSovMilMap.java │ │ │ │ │ ├── TileURLGeneratorOrdnanceSurveyMap.java │ │ │ │ │ ├── TileURLGeneratorCustom.java │ │ │ │ │ └── TileURLGeneratorBase.java │ │ │ │ │ ├── utils │ │ │ │ │ ├── SimpleThreadFactory.java │ │ │ │ │ ├── ICacheProvider.java │ │ │ │ │ ├── SearchSuggestionsProvider.java │ │ │ │ │ ├── RException.java │ │ │ │ │ ├── CrashReportHandler.java │ │ │ │ │ ├── Units.java │ │ │ │ │ ├── CompassView.java │ │ │ │ │ ├── InternalCachePreference.java │ │ │ │ │ ├── IndexPreference.java │ │ │ │ │ ├── CheckBoxPreferenceExt.java │ │ │ │ │ └── OnlineCachePreference.java │ │ │ │ │ ├── mapselector │ │ │ │ │ └── MapSelectorActivity.java │ │ │ │ │ ├── trackwriter │ │ │ │ │ └── DatabaseHelper.java │ │ │ │ │ ├── data │ │ │ │ │ ├── GeoDataDatabaseOpenHelper.java │ │ │ │ │ └── SQLiteSDOpenHelper.java │ │ │ │ │ ├── dashboard │ │ │ │ │ └── IndicatorConst.java │ │ │ │ │ ├── MapApplication.java │ │ │ │ │ └── preference │ │ │ │ │ └── OffsetPreference.java │ │ │ └── commonsware │ │ │ │ └── cwac │ │ │ │ └── loaderex │ │ │ │ ├── acl │ │ │ │ ├── ContentChangingTask.java │ │ │ │ └── SharedPreferencesLoader.java │ │ │ │ ├── SQLiteDeleteTask.java │ │ │ │ └── SQLiteInsertTask.java │ │ └── org │ │ │ ├── openintents │ │ │ └── filemanager │ │ │ │ ├── DirectoryContents.java │ │ │ │ ├── IconifiedTextView.java │ │ │ │ └── IconifiedText.java │ │ │ └── andnav │ │ │ └── osm │ │ │ ├── util │ │ │ ├── constants │ │ │ │ ├── GeoConstants.java │ │ │ │ └── OpenStreetMapConstants.java │ │ │ ├── TypeConverter.java │ │ │ └── MyMath.java │ │ │ └── views │ │ │ └── util │ │ │ ├── constants │ │ │ ├── MathConstants.java │ │ │ └── OpenStreetMapViewConstants.java │ │ │ └── StreamUtils.java │ │ ├── aidl │ │ └── com │ │ │ └── sm │ │ │ └── maps │ │ │ └── applib │ │ │ ├── trackwriter │ │ │ ├── ITrackWriterCallback.aidl │ │ │ └── IRemoteService.aidl │ │ │ └── downloader │ │ │ ├── IDownloaderCallback.aidl │ │ │ └── IRemoteService.aidl │ │ └── AndroidManifest.xml └── build.gradle ├── .gitignore ├── RMaps.Free.iml └── gradlew.bat /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':mainActivity' 2 | include ':rMapsFree' 3 | -------------------------------------------------------------------------------- /rMapsFree/lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /rMapsFree/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | RMaps-ng 3 | 4 | -------------------------------------------------------------------------------- /mainActivity/lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/arrow.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/icon.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/arrow_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/arrow_n.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/person.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_stop.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poiblue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poiblue.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poigreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poigreen.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poiwhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poiwhite.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_blank.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_close.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_mark.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/zoom_in.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/zoom_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/zoom_out.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/arrow.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/r_add.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-mdpi/r_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-mdpi/r_add.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/autofollow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/autofollow.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/bubble2.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/bubble2.9.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_stop2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_stop2.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poiyellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poiyellow.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_divider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_divider.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_download.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_options.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_overlays.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_overlays.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build/* 2 | keystore/* 3 | mainActivity/build/* 4 | rMapsFree/build/* 5 | rMapsFree/release/* 6 | local.properties 7 | .gradle/* 8 | .idea/* 9 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/person.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/person.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_stop.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poiblue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poiblue.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poigreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poigreen.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poiwhite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poiwhite.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/r_close.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/r_mark.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/zoom_in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/zoom_in.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/zoom_out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/zoom_out.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-mdpi/r_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-mdpi/r_close.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-mdpi/r_mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-mdpi/r_mark.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-xhdpi/r_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-xhdpi/r_add.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-xhdpi/r_close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-xhdpi/r_close.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-xhdpi/r_mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-xhdpi/r_mark.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_bluefish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_bluefish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_bluegryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_bluegryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_bluewood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_bluewood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_cyanfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_cyanfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_cyangryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_cyangryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_cyanwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_cyanwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_greenfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_greenfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_greengryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_greengryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_greenwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_greenwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_redfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_redfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_redgryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_redgryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_redwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_redwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_yellfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_yellfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_yellgryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_yellgryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_yellwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_yellwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_action_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_action_menu.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_home_other1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_home_other1.png -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/route/IRouteProvider.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.route; 2 | 3 | public interface IRouteProvider { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/autofollow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/autofollow.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/bubble2.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/bubble2.9.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redkar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redkar.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_stop2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_stop2.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poiyellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poiyellow.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_divider.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/r_divider.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/r_download.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_options.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/r_options.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_overlays.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/r_overlays.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-nodpi/bubble2.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-nodpi/bubble2.9.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-xhdpi/bubble2.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-xhdpi/bubble2.9.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/ic_menu_archive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/ic_menu_archive.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/maptile_loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/maptile_loading.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/maptile_notile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/maptile_notile.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/maptile_notile1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/maptile_notile1.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/maptile_notile2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/maptile_notile2.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_bluebigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_bluebigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_cyanbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_cyanbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_magentfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_magentfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_magentgryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_magentgryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_magentwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_magentwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_redbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_redbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_satttelite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_satttelite.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_yellbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_yellbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/popup_button.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/popup_button.9.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_blueberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_blueberry.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_blueboat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_blueboat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_bluefish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_bluefish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_bluegryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_bluegryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_blueinfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_blueinfo.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_bluekar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_bluekar.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_bluewhat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_bluewhat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_bluewood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_bluewood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyanberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyanberry.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyanboat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyanboat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyanfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyanfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyangryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyangryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyaninfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyaninfo.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyankar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyankar.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyanwhat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyanwhat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyanwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyanwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_grayberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_grayberry.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_grayboat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_grayboat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_grayfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_grayfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_graygryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_graygryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_grayinfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_grayinfo.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_graykar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_graykar.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_graywhat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_graywhat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_graywood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_graywood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greenboat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greenboat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greenfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greenfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greengryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greengryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greeninfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greeninfo.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greenkar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greenkar.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greenwhat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greenwhat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greenwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greenwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentkar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentkar.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redanchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redanchor.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redberry.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redboat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redboat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redgryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redgryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redinfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redinfo.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redwhat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redwhat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellberry.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellboat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellboat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellgryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellgryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellinfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellinfo.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellkar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellkar.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellwhat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellwhat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_action_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/r_action_menu.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_home_other1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/r_home_other1.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-mdpi/r_action_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-mdpi/r_action_menu.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_greenbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_greenbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/poi_magentbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/poi_magentbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_blueanchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_blueanchor.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_bluebigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_bluebigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_bluekemping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_bluekemping.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyananchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyananchor.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyanbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyanbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_cyankemping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_cyankemping.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_grayanchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_grayanchor.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_graybigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_graybigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_graykemping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_graykemping.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greenanchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greenanchor.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greenberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greenberry.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentberry.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentberry.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentboat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentboat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentgryb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentgryb.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentinfo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentinfo.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentwhat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentwhat.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentwood.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentwood.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_redkemping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_redkemping.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_satttelite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_satttelite.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellanchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellanchor.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_yellkemping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_yellkemping.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/popup_button.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/popup_button.9.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-nodpi/popup_button.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-nodpi/popup_button.9.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-nodpi/r_coverbase240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-nodpi/r_coverbase240.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-xhdpi/popup_button.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-xhdpi/popup_button.9.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-xhdpi/r_action_menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-xhdpi/r_action_menu.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_background_stripes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/r_background_stripes.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/ric_menu_attachment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/ric_menu_attachment.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/track_writer_service.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/track_writer_service.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greenbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greenbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_greenkemping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_greenkemping.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentanchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentanchor.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentbigfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentbigfish.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/poi_magentkemping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable-hdpi/poi_magentkemping.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/btn_check_buttonless_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/btn_check_buttonless_on.png -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/btn_check_buttonless_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SM-Sergey/RMaps-ng/HEAD/mainActivity/src/main/res/drawable/btn_check_buttonless_off.png -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/kml/RouteListActivity.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.kml; 2 | 3 | import android.app.ListActivity; 4 | 5 | public class RouteListActivity extends ListActivity { 6 | 7 | } 8 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/values/griddimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 16dip 6 | 7 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/view/IMoveListener.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.view; 2 | 3 | public interface IMoveListener { 4 | public void onMoveDetected(); 5 | public void onZoomDetected(); 6 | public void onCenterDetected(); 7 | } 8 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/r_back.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable-hdpi/r_back.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Feb 01 17:55:43 MSK 2020 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip 7 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/constants/PrefConstants.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.constants; 2 | 3 | public interface PrefConstants { 4 | 5 | public static final String PREF_USERMAPS_ = "pref_usermaps_"; 6 | public static final String PREF_PREDEFMAPS_ = "pref_predefmaps_"; 7 | 8 | } 9 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/org/openintents/filemanager/DirectoryContents.java: -------------------------------------------------------------------------------- 1 | package org.openintents.filemanager; 2 | 3 | import java.util.List; 4 | 5 | class DirectoryContents { 6 | List listDir; 7 | List listFile; 8 | List listSdCard; 9 | 10 | } 11 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/preference_widget_btn_clear.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/menu/poicategorylist_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/rect.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/MessageHandlerConstants.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | public class MessageHandlerConstants { 4 | public final static int MAPTILEFSLOADER_SUCCESS_ID = 0; 5 | public final static int MAPTILEFSLOADER_FAIL_ID = 1; 6 | public final static int MAPTILEFSLOADER_INDEXIND_SUCCESS_ID = 2; 7 | } 8 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/poi_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/values/MapViewAttrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/poicategory_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/values/integer.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 0xff000000 4 | 0xff00ff00 5 | 4dp 6 | 12dp 7 | 12dp 8 | 210dp 9 | -------------------------------------------------------------------------------- /mainActivity/src/main/aidl/com/sm/maps/applib/trackwriter/ITrackWriterCallback.aidl: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.trackwriter; 2 | 3 | oneway interface ITrackWriterCallback { 4 | /** 5 | * Called when the service has a new value for you. 6 | */ 7 | void newPointWrited(double lat, double lon); 8 | void onTrackStatUpdate(int Cnt, double Distance, long Duration, double MaxSpeed, double AvgSpeed, long MoveTime, double AvgMoveSpeed); 9 | } 10 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/xml/mixedmapspreference.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/label_map.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | -------------------------------------------------------------------------------- /mainActivity/src/main/aidl/com/sm/maps/applib/downloader/IDownloaderCallback.aidl: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.downloader; 2 | 3 | oneway interface IDownloaderCallback { 4 | /** 5 | * Called when the service has a new value for you. 6 | */ 7 | void downloadDone(); 8 | void downloadStart(int tileCnt, long startTime, String fileName, String mapID, int zoom, int lat0, int lon0, int lat1, int lon1); 9 | void downloadTileDone(int tileCnt, int errorCnt, int x, int y, int z); 10 | } 11 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/utils/SimpleThreadFactory.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.utils; 2 | 3 | import java.util.concurrent.ThreadFactory; 4 | 5 | public class SimpleThreadFactory implements ThreadFactory { 6 | private final String mThreadName; 7 | 8 | public SimpleThreadFactory(final String threadName) { 9 | super(); 10 | mThreadName = threadName; 11 | } 12 | 13 | public Thread newThread(Runnable r) { 14 | return new Thread(r, mThreadName); 15 | } 16 | 17 | } 18 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/mapselector.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/search_bubble.xml: -------------------------------------------------------------------------------- 1 | 2 | 14 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/utils/ICacheProvider.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.utils; 2 | 3 | public interface ICacheProvider { 4 | public byte[] getTile(final String aURLstring, final int aX, final int aY, final int aZ); 5 | public void putTile(final String aURLstring, final int aX, final int aY, final int aZ, final byte[] aData) throws RException; 6 | public void Free(); 7 | public double getTileLenght(); 8 | public void deleteTile(final String aURLstring, final int aX, final int aY, final int aZ); 9 | } 10 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/utils/SearchSuggestionsProvider.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.utils; 2 | 3 | import android.content.SearchRecentSuggestionsProvider; 4 | 5 | public class SearchSuggestionsProvider extends SearchRecentSuggestionsProvider { 6 | public final static String AUTHORITY = "com.sm.maps.SuggestionProvider"; 7 | public final static int MODE = DATABASE_MODE_QUERIES; 8 | public SearchSuggestionsProvider() { 9 | super(); 10 | setupSuggestions(AUTHORITY, MODE); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorTAR.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | 4 | public class TileURLGeneratorTAR extends TileURLGeneratorBase { 5 | 6 | public TileURLGeneratorTAR(String mName) { 7 | super(mName); 8 | } 9 | 10 | public String Get(final int x, final int y, final int z) { 11 | return new StringBuilder() 12 | .append(0).append(z + 1).reverse().delete(2, 3).reverse() 13 | .append(SLASH) 14 | .append(getQRTS(x, y, z)) 15 | .toString(); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorVFR.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | 4 | public class TileURLGeneratorVFR extends TileURLGeneratorBase { 5 | 6 | public TileURLGeneratorVFR(String mName) { 7 | super(mName); 8 | } 9 | 10 | @Override 11 | public String Get(int x, int y, int z) { 12 | return new StringBuilder().append(getBase()) 13 | .append("x=") 14 | .append(x) 15 | .append("&y=") 16 | .append(y) 17 | .append("&z=") 18 | .append(18-z-1) 19 | .toString(); 20 | } 21 | 22 | } 23 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/searchresult.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/geodata_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/org/andnav/osm/util/constants/GeoConstants.java: -------------------------------------------------------------------------------- 1 | // Created by plusminus on 17:41:55 - 16.10.2008 2 | package org.andnav.osm.util.constants; 3 | 4 | 5 | public interface GeoConstants { 6 | // =========================================================== 7 | // Final Fields 8 | // =========================================================== 9 | 10 | public static final int RADIUS_EARTH_METERS = 6378140; 11 | 12 | // =========================================================== 13 | // Methods 14 | // =========================================================== 15 | } -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/mapselector/MapSelectorActivity.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.mapselector; 2 | 3 | import android.os.Bundle; 4 | import android.widget.ScrollView; 5 | 6 | import android.support.v7.app.AppCompatActivity; 7 | 8 | import com.sm.maps.applib.R; 9 | 10 | public class MapSelectorActivity extends AppCompatActivity { 11 | private ScrollView mScrollView; 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.mapselector); 17 | //mScrollView = (ScrollView) findViewById(R.id.GridInt); 18 | 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /mainActivity/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 22 5 | buildToolsVersion "29.0.3" 6 | 7 | defaultConfig { 8 | minSdkVersion 8 9 | targetSdkVersion 22 10 | } 11 | 12 | buildTypes { 13 | release { 14 | minifyEnabled false 15 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 16 | } 17 | } 18 | 19 | lintOptions { 20 | checkReleaseBuilds false 21 | } 22 | 23 | } 24 | 25 | dependencies { 26 | implementation 'com.android.support:appcompat-v7:22.2.1' 27 | } 28 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/drawable/track_checkbox.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | 6 | 8 | 9 | 11 | 12 | 14 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorOSM.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | 4 | public class TileURLGeneratorOSM extends TileURLGeneratorBase { 5 | private String IMAGE_FILENAMEENDING; 6 | 7 | public TileURLGeneratorOSM(String baseurl, String imagefilename) { 8 | super(baseurl); 9 | IMAGE_FILENAMEENDING = imagefilename; 10 | } 11 | 12 | @Override 13 | public String Get(int x, int y, int z) { 14 | return new StringBuilder().append(getBase()) 15 | .append(z) 16 | .append(SLASH) 17 | .append(x) 18 | .append(SLASH) 19 | .append(y) 20 | .append(this.IMAGE_FILENAMEENDING) 21 | .toString(); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorVFRCB.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | public class TileURLGeneratorVFRCB extends TileURLGeneratorBase { 4 | private String IMAGE_FILENAMEENDING; 5 | 6 | public TileURLGeneratorVFRCB(String mName, String imagefilename) { 7 | super(mName); 8 | IMAGE_FILENAMEENDING = imagefilename; 9 | } 10 | 11 | @Override 12 | public String Get(int x, int y, int z) { 13 | final int tilecount = (int) Math.pow(2, z); 14 | return new StringBuilder().append(getBase()) 15 | .append(SLASH) 16 | .append(tilecount - y - 1) 17 | .append(this.IMAGE_FILENAMEENDING) 18 | .toString(); 19 | } 20 | 21 | } 22 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorAVC.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | 4 | public class TileURLGeneratorAVC extends TileURLGeneratorBase { 5 | private final String mImageFileNaming; 6 | 7 | public TileURLGeneratorAVC(String mName, final String aImageFileNaming) { 8 | super(mName); 9 | mImageFileNaming = aImageFileNaming; 10 | } 11 | 12 | @Override 13 | public String Get(int x, int y, int z) { 14 | return new StringBuilder().append(getBase()) 15 | .append(z) 16 | .append(SLASH) 17 | .append(x) 18 | .append(SLASH) 19 | .append((1< 2 | 3 | 4 | #ffA565FE 5 | #A565FE 6 | #ffffff 7 | #424542 8 | #ffff7200 9 | #ffffffff 10 | 11 | #ff333333 12 | 13 | #FF3333 14 | #FF3333 15 | #000000 16 | #FFFFFF 17 | -------------------------------------------------------------------------------- /rMapsFree/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 22 5 | buildToolsVersion "29.0.3" 6 | 7 | defaultConfig { 8 | applicationId "com.sm.maps" 9 | minSdkVersion 8 10 | targetSdkVersion 22 11 | } 12 | 13 | buildTypes { 14 | release { 15 | minifyEnabled false 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' 17 | } 18 | } 19 | 20 | lintOptions { 21 | checkReleaseBuilds false 22 | } 23 | } 24 | 25 | dependencies { 26 | implementation project(':mainActivity') 27 | implementation 'com.android.support:appcompat-v7:22.2.1' 28 | } 29 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/trackwriter/DatabaseHelper.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.trackwriter; 2 | 3 | import android.content.Context; 4 | import android.database.sqlite.SQLiteDatabase; 5 | 6 | import com.sm.maps.applib.kml.constants.PoiConstants; 7 | import com.sm.maps.applib.utils.RSQLiteOpenHelper; 8 | 9 | public class DatabaseHelper extends RSQLiteOpenHelper { 10 | 11 | public DatabaseHelper(Context context, String name) { 12 | super(context, name, null, 1); 13 | } 14 | 15 | @Override 16 | public void onCreate(SQLiteDatabase db) { 17 | db.execSQL(PoiConstants.SQL_CREATE_trackpoints); 18 | } 19 | 20 | @Override 21 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/org/andnav/osm/util/constants/OpenStreetMapConstants.java: -------------------------------------------------------------------------------- 1 | // Created by plusminus on 23:11:31 - 22.09.2008 2 | package org.andnav.osm.util.constants; 3 | 4 | /** 5 | * 6 | * @author Nicolas Gramlich 7 | * 8 | */ 9 | public interface OpenStreetMapConstants { 10 | // =========================================================== 11 | // Final Fields 12 | // =========================================================== 13 | 14 | public static final String DEBUGTAG = "RMAPS"; 15 | 16 | public static final int NOT_SET = Integer.MIN_VALUE; 17 | public static final String GPS = "gps"; 18 | public static final String NETWORK = "network"; 19 | 20 | // =========================================================== 21 | // Methods 22 | // =========================================================== 23 | } 24 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/data/GeoDataDatabaseOpenHelper.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.data; 2 | 3 | import android.content.Context; 4 | import android.database.sqlite.SQLiteDatabase; 5 | import android.database.sqlite.SQLiteDatabase.CursorFactory; 6 | 7 | public class GeoDataDatabaseOpenHelper extends SQLiteSDOpenHelper { 8 | 9 | public GeoDataDatabaseOpenHelper(Context context, String name, 10 | CursorFactory factory, int version) { 11 | super(context, name, factory, version); 12 | // TODO Auto-generated constructor stub 13 | } 14 | 15 | @Override 16 | public void onCreate(SQLiteDatabase db) { 17 | // TODO Auto-generated method stub 18 | 19 | } 20 | 21 | @Override 22 | public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { 23 | // TODO Auto-generated method stub 24 | 25 | } 26 | 27 | } 28 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorDOCELUPL.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | 4 | public class TileURLGeneratorDOCELUPL extends TileURLGeneratorBase { 5 | 6 | public TileURLGeneratorDOCELUPL(String mName) { 7 | super(mName); 8 | } 9 | 10 | @Override 11 | public String Get(int x, int y, int z) { 12 | final String sy = String.format("%06x", y); 13 | final String sx = String.format("%06x", x); 14 | final char[] cx = sx.toCharArray(); 15 | final char[] cy = sy.toCharArray(); 16 | final String szoom = Integer.toHexString(z); 17 | 18 | String s = getBase() + szoom + SLASH + cx[4] + cy[4] + SLASH + cx[3] 19 | + cy[3] + SLASH + cx[2] + cy[2] + SLASH + cx[1] + cy[1] + SLASH + cx[0] + cy[0] 20 | + "/z" + szoom + "x" + sx + "y" + sy + ".png"; 21 | return s; 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorGOOGLESAT.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | 4 | public class TileURLGeneratorGOOGLESAT extends TileURLGeneratorBase { 5 | @SuppressWarnings("unused") 6 | private final String GOOGLE_LANG_CODE; 7 | 8 | public TileURLGeneratorGOOGLESAT(String mName, final String langCode) { 9 | super(mName); 10 | GOOGLE_LANG_CODE = langCode; 11 | } 12 | 13 | private static final String strGalileo = new String("Galileo"); 14 | 15 | @Override 16 | public String Get(int x, int y, int z) { 17 | return new StringBuilder() 18 | .append(getBase()) 19 | .append("x=") 20 | .append(x) 21 | .append("&y=") 22 | .append(y) 23 | .append("&z=") 24 | .append(z) 25 | .append("&s=") 26 | .append(strGalileo.substring(0, (x * 3 + y) % 8)) 27 | .toString(); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/kml/PoiCategory.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.kml; 2 | 3 | import com.sm.maps.applib.kml.constants.PoiConstants; 4 | 5 | public class PoiCategory implements PoiConstants { 6 | private final int Id; 7 | public String Title; 8 | public boolean Hidden; 9 | public int IconId; 10 | public int MinZoom; 11 | 12 | public PoiCategory(int id, String title, boolean hidden, int iconid, int minzoom) { 13 | super(); 14 | Id = id; 15 | Title = title; 16 | Hidden = hidden; 17 | IconId = iconid; 18 | MinZoom = minzoom; 19 | } 20 | 21 | public PoiCategory() { 22 | this(PoiConstants.EMPTY_ID, "", false, PoiConstants.POI_I_RED, 14); 23 | } 24 | 25 | public PoiCategory(String title) { 26 | this(PoiConstants.EMPTY_ID, title, false, PoiConstants.POI_I_RED, 14); 27 | } 28 | 29 | public int getId() { 30 | return Id; 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/data/SQLiteSDOpenHelper.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.data; 2 | 3 | import android.content.Context; 4 | import android.content.ContextWrapper; 5 | import android.database.sqlite.SQLiteDatabase; 6 | import android.database.sqlite.SQLiteDatabase.CursorFactory; 7 | import android.database.sqlite.SQLiteOpenHelper; 8 | 9 | public abstract class SQLiteSDOpenHelper extends SQLiteOpenHelper { 10 | 11 | public SQLiteSDOpenHelper(Context context, String name, 12 | CursorFactory factory, int version) { 13 | super(new ContextWrapper(context) { 14 | @Override 15 | public SQLiteDatabase openOrCreateDatabase(String name, int mode, 16 | SQLiteDatabase.CursorFactory factory) { 17 | 18 | return SQLiteDatabase.openDatabase(name, null, 19 | SQLiteDatabase.CREATE_IF_NECESSARY); 20 | } 21 | }, name, factory, version); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/utils/RException.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.utils; 2 | 3 | import android.content.Context; 4 | 5 | import com.sm.maps.applib.R; 6 | 7 | public class RException extends Exception { 8 | 9 | private static final long serialVersionUID = -8636414892868856061L; 10 | private int mStringResID; 11 | 12 | public RException() {} 13 | 14 | public RException(String error) { 15 | super(error); 16 | } 17 | 18 | public RException(final int aStringResID, String error) { 19 | super(error); 20 | mStringResID = aStringResID == 0 ? R.string.error_other : aStringResID; 21 | } 22 | 23 | public String getStringRes(Context context) { 24 | return context.getResources().getString(mStringResID, getMessage()); 25 | } 26 | 27 | public int getID() { 28 | return mStringResID; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/org/andnav/osm/views/util/constants/MathConstants.java: -------------------------------------------------------------------------------- 1 | // Created by plusminus on 17:27:54 - 30.09.2008 2 | package org.andnav.osm.views.util.constants; 3 | 4 | /** 5 | * 6 | * @author Nicolas Gramlich 7 | * 8 | */ 9 | public interface MathConstants { 10 | // =========================================================== 11 | // Final Fields 12 | // =========================================================== 13 | 14 | public static final float DEG2RAD = (float)(Math.PI / 180.0); 15 | public static final float RAD2DEG = (float)(180.0 / Math.PI); 16 | 17 | public static final float PI = (float)Math.PI; 18 | public static final float PI_2 = PI / 2.0f; 19 | public static final float PI_4 = PI / 4.0f; 20 | 21 | // =========================================================== 22 | // Methods 23 | // =========================================================== 24 | } 25 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/menu/tracklist.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/poiiconset.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/org/andnav/osm/views/util/constants/OpenStreetMapViewConstants.java: -------------------------------------------------------------------------------- 1 | // Created by plusminus on 18:00:24 - 25.09.2008 2 | package org.andnav.osm.views.util.constants; 3 | 4 | /** 5 | * 6 | * @author Nicolas Gramlich 7 | * 8 | */ 9 | public interface OpenStreetMapViewConstants { 10 | // =========================================================== 11 | // Final Fields 12 | // =========================================================== 13 | 14 | public static final boolean DEBUGMODE = false; 15 | 16 | 17 | public static final int MAPTILE_LATITUDE_INDEX = 0; 18 | public static final int MAPTILE_LONGITUDE_INDEX = 1; 19 | 20 | public static final int OpenSpaceUpperBoundArray[] = { 2, 5, 10, 25, 50, 100, 21 | 200, 500, 1000, 2000, 4000 }; 22 | 23 | // =========================================================== 24 | // Methods 25 | // =========================================================== 26 | } 27 | -------------------------------------------------------------------------------- /RMaps.Free.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorGOOGLEMAP.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | 4 | public class TileURLGeneratorGOOGLEMAP extends TileURLGeneratorBase { 5 | private final String GOOGLE_LANG_CODE; 6 | private final String GOOGLESCALE; 7 | 8 | public TileURLGeneratorGOOGLEMAP(String mName, final String langCode, final String googleScale) { 9 | super(mName); 10 | GOOGLE_LANG_CODE = langCode; 11 | GOOGLESCALE = googleScale; 12 | } 13 | 14 | private static final String strGalileo = new String("Galileo"); 15 | 16 | @Override 17 | public String Get(int x, int y, int z) { 18 | return new StringBuilder().append(getBase()) 19 | .append("hl=") 20 | .append(GOOGLE_LANG_CODE) 21 | .append("&x=") 22 | .append(x) 23 | .append("&y=") 24 | .append(y) 25 | .append("&z=") 26 | .append(z) 27 | .append("&scale=") 28 | .append(GOOGLESCALE) 29 | .append("&s=") 30 | .append(strGalileo.substring(0, (x*3+y)% 8)) 31 | .toString(); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 14 | 15 | 16 | 21 | 22 | 23 | 24 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/poicategory_spinner.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 15 | 16 | 26 | 27 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/menu/poilist_select_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 12 | 13 | 16 | 17 | 20 | 21 | 25 | 26 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/poicategory_spinner_dropdown.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 14 | 15 | 25 | 26 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorMS.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | 4 | public class TileURLGeneratorMS extends TileURLGeneratorBase { 5 | private final String mImageFileNaming; 6 | 7 | public TileURLGeneratorMS(String mName, final String aImageFileNaming) { 8 | super(mName); 9 | mImageFileNaming = aImageFileNaming; 10 | } 11 | 12 | @Override 13 | public String Get(int x, int y, int z) { 14 | return new StringBuilder().append(getBase()) 15 | .append(encodeQuadTree(z, x, y)) 16 | .append(mImageFileNaming) 17 | .toString(); 18 | } 19 | 20 | protected static final char[] NUM_CHAR = { '0', '1', '2', '3' }; 21 | 22 | private String encodeQuadTree(int zoom, int tilex, int tiley) { 23 | char[] tileNum = new char[zoom]; 24 | for (int i = zoom - 1; i >= 0; i--) { 25 | // Binary encoding using ones for tilex and twos for tiley. if a bit 26 | // is set in tilex and tiley we get a three. 27 | int num = (tilex % 2) | ((tiley % 2) << 1); 28 | tileNum[i] = NUM_CHAR[num]; 29 | tilex >>= 1; 30 | tiley >>= 1; 31 | } 32 | return new String(tileNum); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/tabloid.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 17 | 18 | 23 | 24 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/commonsware/cwac/loaderex/acl/ContentChangingTask.java: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2012 -- CommonsWare, LLC 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | */ 15 | 16 | package com.commonsware.cwac.loaderex.acl; 17 | 18 | import android.os.AsyncTask; 19 | import android.support.v4.content.Loader; 20 | 21 | public abstract class ContentChangingTask extends 22 | AsyncTask { 23 | private Loader loader=null; 24 | 25 | public ContentChangingTask(Loader loader) { 26 | this.loader=loader; 27 | } 28 | 29 | @Override 30 | protected void onPostExecute(Void param) { 31 | loader.onContentChanged(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/poicategoryselectlist_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 18 | 19 | 28 | 29 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorSovMilMap.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | public class TileURLGeneratorSovMilMap extends TileURLGeneratorBase { 4 | protected static final String F = "%f"; 5 | protected static final String PART_END = "&WIDTH=256&HEIGHT=256"; 6 | protected static final String COMMA = ","; 7 | protected static final String DOT = "."; 8 | 9 | public TileURLGeneratorSovMilMap(String mName) { 10 | super(mName); 11 | } 12 | 13 | @Override 14 | public String Get(int x, int y1, int z) { 15 | final double g = 20037508.34; 16 | final int tilecount = (int) Math.pow(2, z); 17 | final double delta = g * 2 / tilecount; 18 | final int y2 = tilecount - 1 - y1; 19 | 20 | 21 | return new StringBuilder() 22 | .append(getBase()) 23 | .append(String.format(F, delta * x - g).replace(COMMA, DOT)) 24 | .append(COMMA) 25 | .append(String.format(F, delta * y2 - g).replace(COMMA, DOT)) 26 | .append(COMMA) 27 | .append(String.format(F, delta * (x + 1) - g).replace(COMMA, DOT)) 28 | .append(COMMA) 29 | .append(String.format(F, delta * (y2 + 1) - g).replace(COMMA, DOT)) 30 | .append(PART_END) 31 | .toString(); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/xml/searchable.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 28 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/values/strings_notranslate.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Sergey.Markov 7 | RMaps-ng 8 | .mnm 9 | .tar 10 | .sqlitedb 11 | .mbtiles 12 | km 13 | km/h 14 | min/km 15 | m 16 | ml 17 | ft 18 | Mercator Spheroid 19 | Mercator Ellipsoid 20 | OSGB 36 British national grid reference system 21 | GPS Status 22 | RMaps-ng.Donation… 23 | MyMapFileName 24 | %s 25 | RMaps/0.10.0 26 | image/* 27 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/kml/utils/TrackStyleOverlay.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.kml.utils; 2 | 3 | import android.graphics.Canvas; 4 | import android.graphics.Paint; 5 | import android.graphics.Path; 6 | 7 | import com.sm.maps.applib.view.TileView; 8 | import com.sm.maps.applib.view.TileViewOverlay; 9 | 10 | public class TrackStyleOverlay extends TileViewOverlay { 11 | private Paint mPaint = null; 12 | private Path mPath = null; 13 | 14 | public void setPaint(final Paint paint) { 15 | mPaint = paint; 16 | } 17 | 18 | @Override 19 | protected void onDraw(Canvas c, TileView tileView) { 20 | if(mPaint == null) return; 21 | if(mPath == null) { 22 | final int left = tileView.getWidth() / 10; 23 | final int step = (tileView.getWidth() - 2 * left) / 3; 24 | final int top = tileView.getHeight() / 4; 25 | final int cent_v = tileView.getHeight() / 2; 26 | 27 | mPath = new Path(); 28 | mPath.setLastPoint(left, cent_v); 29 | mPath.lineTo(left + step, top); 30 | mPath.lineTo(left + 2 * step, tileView.getHeight() - top); 31 | mPath.lineTo(left + 3 * step, cent_v); 32 | } 33 | 34 | c.drawPath(mPath, mPaint); 35 | } 36 | 37 | @Override 38 | protected void onDrawFinished(Canvas c, TileView tileView) { 39 | } 40 | 41 | } 42 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/values/ids.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 5dp 28 | 29 | 30 | -------------------------------------------------------------------------------- /mainActivity/src/main/aidl/com/sm/maps/applib/downloader/IRemoteService.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.sm.maps.applib.downloader; 18 | 19 | import com.sm.maps.applib.downloader.IDownloaderCallback; 20 | 21 | interface IRemoteService { 22 | /** 23 | * Often you want to allow a service to call back to its clients. 24 | * This shows how to do so, by registering a callback interface with 25 | * the service. 26 | */ 27 | void registerCallback(IDownloaderCallback cb); 28 | 29 | /** 30 | * Remove a previously registered callback interface. 31 | */ 32 | void unregisterCallback(IDownloaderCallback cb); 33 | } 34 | -------------------------------------------------------------------------------- /mainActivity/src/main/aidl/com/sm/maps/applib/trackwriter/IRemoteService.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2007 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.sm.maps.applib.trackwriter; 18 | 19 | import com.sm.maps.applib.trackwriter.ITrackWriterCallback; 20 | 21 | interface IRemoteService { 22 | /** 23 | * Often you want to allow a service to call back to its clients. 24 | * This shows how to do so, by registering a callback interface with 25 | * the service. 26 | */ 27 | void registerCallback(ITrackWriterCallback cb); 28 | 29 | /** 30 | * Remove a previously registered callback interface. 31 | */ 32 | void unregisterCallback(ITrackWriterCallback cb); 33 | } 34 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorOrdnanceSurveyMap.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | 4 | public class TileURLGeneratorOrdnanceSurveyMap extends TileURLGeneratorBase { 5 | private static final int OpenSpaceLayersArray[] = {2500, 1000, 500, 200, 100, 50, 25, 10, 5, 2, 1}; 6 | private static final int OpenSpaceUpperBoundArray[] = { 2, 5, 10, 25 , 50, 100, 200, 500, 1000, 2000, 4000}; 7 | 8 | private int mZoomMinLevel; 9 | 10 | public TileURLGeneratorOrdnanceSurveyMap(String mName, final int aZoomMinLevel) { 11 | super(mName); 12 | mZoomMinLevel = aZoomMinLevel; 13 | } 14 | 15 | @Override 16 | public String Get(int x, int y, int z) { 17 | final int million = 1000000 / OpenSpaceUpperBoundArray[z - mZoomMinLevel]; 18 | final int size = OpenSpaceLayersArray[z-mZoomMinLevel] < 5 ? 250 : 200; 19 | return new StringBuilder() 20 | .append(getBase()) 21 | .append("LAYERS=").append(OpenSpaceLayersArray[z-mZoomMinLevel]) 22 | .append("&SRS=EPSG%3A27700&BBOX=") 23 | .append(million*x) 24 | .append(",") 25 | .append(million*(OpenSpaceUpperBoundArray[z - mZoomMinLevel]-1-y)) 26 | .append(",") 27 | .append(million*(1+x)) 28 | .append(",") 29 | .append(million*(1+(OpenSpaceUpperBoundArray[z - mZoomMinLevel]-1-y))) 30 | .append("&WIDTH=").append(size).append("&HEIGHT=").append(size) 31 | .toString(); 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /mainActivity/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 28 | 29 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/screencell.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 13 | 14 | 23 | 24 | 36 | 37 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/utils/CrashReportHandler.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.utils; 2 | 3 | import java.io.PrintWriter; 4 | import java.io.StringWriter; 5 | import java.lang.Thread.UncaughtExceptionHandler; 6 | 7 | import android.app.Activity; 8 | import android.content.SharedPreferences; 9 | import android.os.Process; 10 | 11 | public class CrashReportHandler implements UncaughtExceptionHandler { 12 | private Activity m_context; 13 | private String mLogFileName; 14 | 15 | public static void attach(Activity context) { 16 | Thread.setDefaultUncaughtExceptionHandler( 17 | new CrashReportHandler(context) 18 | ); 19 | } 20 | 21 | ///////////////////////////////////////////// implementation 22 | 23 | private CrashReportHandler(Activity context) { 24 | m_context=context; 25 | mLogFileName = Ut.getRMapsMainDir(context, "")+"/log.txt"; 26 | } 27 | 28 | public void uncaughtException(Thread thread, Throwable exception) { 29 | StringWriter stackTrace=new StringWriter(); 30 | exception.printStackTrace(new PrintWriter(stackTrace)); 31 | 32 | SharedPreferences uiState = m_context.getPreferences(0); 33 | SharedPreferences.Editor editor = uiState.edit(); 34 | editor.putString("error", stackTrace.toString()); 35 | editor.commit(); 36 | 37 | Ut.appendLog(mLogFileName, String.format("%tc", System.currentTimeMillis())); 38 | Ut.appendLog(mLogFileName, stackTrace.toString()); 39 | 40 | // from RuntimeInit.crash() 41 | Process.killProcess(Process.myPid()); 42 | System.exit(10); 43 | } 44 | 45 | } 46 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/poicategorylist_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 18 | 19 | 28 | 29 | 37 | 38 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/kml/PoiPoint.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.kml; 2 | 3 | import org.andnav.osm.util.GeoPoint; 4 | 5 | import com.sm.maps.applib.R; 6 | import com.sm.maps.applib.kml.constants.PoiConstants; 7 | 8 | public class PoiPoint implements PoiConstants { 9 | 10 | private final int Id; 11 | public String Title; 12 | public String Descr; 13 | public GeoPoint GeoPoint; 14 | public int IconId; 15 | public double Alt; 16 | public int CategoryId; 17 | public int PointSourceId; 18 | public boolean Hidden; 19 | 20 | public PoiPoint(int id, String mTitle, String mDescr, GeoPoint mGeoPoint, 21 | int iconid, int categoryid, double alt, int sourseid, int hidden) { 22 | this.Id = id; 23 | this.Title = mTitle; 24 | this.Descr = mDescr; 25 | this.GeoPoint = mGeoPoint; 26 | this.IconId = iconid; 27 | this.Alt = alt; 28 | this.CategoryId = categoryid; 29 | this.PointSourceId = sourseid; 30 | this.Hidden = hidden == 1 ? true : false; 31 | } 32 | 33 | public PoiPoint(){ 34 | this(EMPTY_ID, "", "", null, R.drawable.poi, 0, 0, 0, 0); 35 | } 36 | 37 | public PoiPoint(int id, String mTitle, String mDescr, GeoPoint mGeoPoint, int categoryid, int iconid) { 38 | this(id, mTitle, mDescr, mGeoPoint, iconid, categoryid, 0, 0, 0); 39 | } 40 | 41 | public PoiPoint(String mTitle, String mDescr, GeoPoint mGeoPoint, int iconid) { 42 | this(EMPTY_ID, mTitle, mDescr, mGeoPoint, iconid, 0, 0, 0, 0); 43 | } 44 | 45 | public int getId() { 46 | return Id; 47 | } 48 | 49 | public static int EMPTY_ID(){ 50 | return EMPTY_ID; 51 | } 52 | 53 | } 54 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/commonsware/cwac/loaderex/SQLiteDeleteTask.java: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011-2012 -- CommonsWare, LLC 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | */ 15 | 16 | package com.commonsware.cwac.loaderex; 17 | 18 | import android.database.sqlite.SQLiteDatabase; 19 | import android.os.AsyncTask; 20 | 21 | @Deprecated 22 | public class SQLiteDeleteTask 23 | extends AsyncTask { 24 | SQLiteDatabase db; 25 | String table; 26 | String selection; 27 | String[] args; 28 | 29 | public SQLiteDeleteTask(SQLiteDatabase db, String table, 30 | String selection, 31 | String[] args) { 32 | this.db=db; 33 | this.table=table; 34 | this.selection=selection; 35 | this.args=args; 36 | } 37 | 38 | @Override 39 | protected Exception doInBackground(Void... params) { 40 | try { 41 | db.delete(table, selection, args); 42 | } 43 | catch (Exception e) { 44 | return(e); 45 | } 46 | 47 | return(null); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/org/andnav/osm/util/TypeConverter.java: -------------------------------------------------------------------------------- 1 | // Created by plusminus on 00:47:05 - 02.10.2008 2 | package org.andnav.osm.util; 3 | 4 | 5 | import android.location.Location; 6 | 7 | /** 8 | * Converts some usual types from one to another. 9 | * @author Nicolas Gramlich 10 | * 11 | */ 12 | public class TypeConverter { 13 | // =========================================================== 14 | // Constants 15 | // =========================================================== 16 | 17 | // =========================================================== 18 | // Fields 19 | // =========================================================== 20 | 21 | // =========================================================== 22 | // Constructors 23 | // =========================================================== 24 | 25 | // =========================================================== 26 | // Getter & Setter 27 | // =========================================================== 28 | 29 | // =========================================================== 30 | // Methods from SuperClass/Interfaces 31 | // =========================================================== 32 | 33 | // =========================================================== 34 | // Methods 35 | // =========================================================== 36 | 37 | public static GeoPoint locationToGeoPoint(final Location aLoc){ 38 | return new GeoPoint((int)(aLoc.getLatitude() * 1E6), (int)(aLoc.getLongitude() * 1E6)); 39 | } 40 | 41 | // =========================================================== 42 | // Inner and Anonymous Classes 43 | // =========================================================== 44 | } 45 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/main_title.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 19 | 20 | 25 | 26 | 34 | 35 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/commonsware/cwac/loaderex/SQLiteInsertTask.java: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2011-2012 -- CommonsWare, LLC 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | */ 15 | 16 | package com.commonsware.cwac.loaderex; 17 | 18 | import android.content.ContentValues; 19 | import android.database.sqlite.SQLiteDatabase; 20 | import android.os.AsyncTask; 21 | 22 | @Deprecated 23 | public class SQLiteInsertTask 24 | extends AsyncTask { 25 | SQLiteDatabase db; 26 | String table; 27 | String nullColumnHack; 28 | ContentValues values; 29 | 30 | public SQLiteInsertTask(SQLiteDatabase db, String table, 31 | String nullColumnHack, 32 | ContentValues values) { 33 | this.db=db; 34 | this.table=table; 35 | this.nullColumnHack=nullColumnHack; 36 | this.values=values; 37 | } 38 | 39 | @Override 40 | protected Exception doInBackground(Void... params) { 41 | try { 42 | db.insert(table, nullColumnHack, values); 43 | } 44 | catch (Exception e) { 45 | return(e); 46 | } 47 | 48 | return(null); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/utils/Units.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.utils; 2 | 3 | import android.content.SharedPreferences; 4 | 5 | public class Units { 6 | public static final String KM = "km"; 7 | public static final String ML = "ml"; 8 | public static final String KMH = "km/h"; 9 | public static final String MLH = "ml/h"; 10 | public static final String M = "m"; 11 | public static final String FT = "ft"; 12 | public static final String MINKM = "min/km"; 13 | public static final String MINML = "min/ml"; 14 | 15 | public static final double ML_IN_KM = 0.621371192; 16 | public static final double FT_IN_M = 3.2808399; 17 | 18 | private boolean mMetricSystem; 19 | 20 | public Units(SharedPreferences aPref) { 21 | super(); 22 | 23 | mMetricSystem = Integer.parseInt(aPref.getString("pref_units", "0")) == 0 ? true : false; 24 | } 25 | 26 | public String KM() { 27 | return mMetricSystem ? KM : ML; 28 | } 29 | 30 | public String KMH() { 31 | return mMetricSystem ? KMH : MLH; 32 | } 33 | 34 | public String M() { 35 | return mMetricSystem ? M : FT; 36 | } 37 | 38 | public String MINKM() { 39 | return mMetricSystem ? MINKM : MINML; 40 | } 41 | 42 | 43 | public double KM(final double aValue) { 44 | return mMetricSystem ? aValue : aValue * ML_IN_KM; 45 | } 46 | 47 | public double KMH(final double aValue) { 48 | return mMetricSystem ? aValue : aValue * ML_IN_KM; 49 | } 50 | 51 | public double M(final double aValue) { 52 | return mMetricSystem ? aValue : aValue * FT_IN_M; 53 | } 54 | 55 | public double MINKM(final double aValue) { 56 | return mMetricSystem ? aValue : aValue / ML_IN_KM; 57 | } 58 | 59 | 60 | } 61 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/org/openintents/filemanager/IconifiedTextView.java: -------------------------------------------------------------------------------- 1 | package org.openintents.filemanager; 2 | 3 | /* $Id: BulletedTextView.java 57 2007-11-21 18:31:52Z steven $ 4 | * 5 | * Copyright 2007 Steven Osborn 6 | * 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | */ 19 | 20 | /** 21 | * Dec 7, 2008: Peli: Use inflated layout. 22 | */ 23 | 24 | import android.content.Context; 25 | import android.view.LayoutInflater; 26 | import android.widget.LinearLayout; 27 | import android.widget.TextView; 28 | 29 | import com.sm.maps.applib.R; 30 | 31 | public class IconifiedTextView extends LinearLayout { 32 | 33 | private TextView mText; 34 | private TextView mInfo; 35 | 36 | public IconifiedTextView(Context context, IconifiedText aIconifiedText) { 37 | super(context); 38 | 39 | // inflate rating 40 | LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); 41 | 42 | inflater.inflate(R.layout.filelist_item, this, true); 43 | 44 | mText = (TextView) findViewById(R.id.text); 45 | mInfo = (TextView) findViewById(R.id.info); 46 | } 47 | 48 | public void setText(String words) { 49 | mText.setText(words); 50 | } 51 | 52 | public void setInfo(String info) { 53 | mInfo.setText(info); 54 | } 55 | 56 | } -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/indicator_simple.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 20 | 21 | 22 | 23 | 32 | 33 | 34 | 35 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/tileprovider/TileURLGeneratorCustom.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.tileprovider; 2 | 3 | public class TileURLGeneratorCustom extends TileURLGeneratorBase { 4 | private final static String X = "{x}"; 5 | private final static String Y = "{y}"; 6 | private final static String XD = "{xd}"; 7 | private final static String YD = "{yd}"; 8 | private final static String BX = "{bx}"; 9 | private final static String BY = "{by}"; 10 | private final static String RY = "{ry}"; 11 | private final static String Z = "{z}"; 12 | private final static String ZP = "{z+1}"; 13 | private final static String ZM = "{z-1}"; 14 | private final static String ZR = "{17-z}"; 15 | private final static String strGalileo = "Galileo"; 16 | private final static String GALILEO = "{galileo}"; 17 | 18 | public TileURLGeneratorCustom(String baseurl) { 19 | super(baseurl); 20 | } 21 | 22 | 23 | private int mod (int a, int b){ 24 | int r = a%b; 25 | return r < 0 ? r+b : r; 26 | } 27 | 28 | @Override 29 | public String Get(int x, int y, int z) { 30 | 31 | int bx = mod(x - (1 << (z-1)), (1 << z)); 32 | int by = (1 << z) - 1 - mod(y - (1 << (z-1)), (1 << z)); 33 | 34 | int xxd = x / 1024; 35 | int yyd = y / 1024; 36 | 37 | return getBase() 38 | .replace(X, Integer.toString(x)) 39 | .replace(Y, Integer.toString(y)) 40 | .replace(XD, Integer.toString(xxd)) 41 | .replace(YD, Integer.toString(yyd)) 42 | .replace(BX, Integer.toString(bx)) 43 | .replace(BY, Integer.toString(by)) 44 | .replace(RY, Integer.toString((1< 2 | 6 | 7 | 14 | 15 | 25 | 26 | 34 | 35 | 36 | 43 | 44 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/menu/poilist_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | 16 | 17 | 20 | 23 | 26 | 27 | 28 | 32 | 33 | 37 | 38 | 42 | 43 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/com/sm/maps/applib/utils/CompassView.java: -------------------------------------------------------------------------------- 1 | package com.sm.maps.applib.utils; 2 | 3 | import android.content.Context; 4 | import android.graphics.Canvas; 5 | import android.graphics.drawable.Drawable; 6 | import android.view.View; 7 | 8 | import com.sm.maps.applib.R; 9 | 10 | public class CompassView extends View { 11 | private Drawable mCompass; 12 | private float mAzimuth = 0; 13 | private boolean mSideBottom; 14 | private int PADDING = 2; 15 | private Context mCtx; 16 | 17 | public CompassView(Context ctx, final boolean sideBottom) { 18 | super(ctx); 19 | 20 | mCtx = ctx; 21 | mSideBottom = sideBottom; 22 | } 23 | 24 | private boolean getCompassImg(){ 25 | if(mCompass == null){ 26 | try { 27 | this.mCompass = mCtx.getResources().getDrawable(R.drawable.arrow_n); 28 | } catch (OutOfMemoryError e) { 29 | Ut.w("OutOfMemoryError"); 30 | e.printStackTrace(); 31 | return false; 32 | } 33 | return true; 34 | } else 35 | return true; 36 | } 37 | 38 | @Override 39 | protected void onDraw(Canvas canvas) { 40 | if(getCompassImg()){ 41 | canvas.save(); 42 | if (mSideBottom) { 43 | canvas.rotate(360 - mAzimuth, PADDING + mCompass.getMinimumWidth() / 2, PADDING + mCompass.getMinimumHeight() / 2); 44 | mCompass.setBounds(PADDING, PADDING, PADDING + mCompass.getMinimumWidth(), PADDING 45 | + mCompass.getMinimumHeight()); 46 | } else { 47 | canvas.rotate(360 - mAzimuth, PADDING + mCompass.getMinimumWidth() / 2, this.getHeight() - mCompass.getMinimumHeight() /2 - PADDING); 48 | mCompass.setBounds(PADDING, this.getHeight() - mCompass.getMinimumHeight() - PADDING, PADDING 49 | + mCompass.getMinimumWidth(), this.getHeight() - PADDING); 50 | } 51 | mCompass.draw(canvas); 52 | canvas.restore(); 53 | } 54 | 55 | super.onDraw(canvas); 56 | } 57 | 58 | public void setAzimuth(float aAzimuth) { 59 | mAzimuth = aAzimuth; 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /mainActivity/src/main/java/org/andnav/osm/util/MyMath.java: -------------------------------------------------------------------------------- 1 | // Created by plusminus on 20:36:01 - 26.09.2008 2 | package org.andnav.osm.util; 3 | 4 | import org.andnav.osm.views.util.constants.MathConstants; 5 | 6 | /** 7 | * 8 | * @author Nicolas Gramlich 9 | * 10 | */ 11 | public class MyMath implements MathConstants { 12 | // =========================================================== 13 | // Constants 14 | // =========================================================== 15 | 16 | // =========================================================== 17 | // Fields 18 | // =========================================================== 19 | 20 | // =========================================================== 21 | // Constructors 22 | // =========================================================== 23 | 24 | // =========================================================== 25 | // Getter & Setter 26 | // =========================================================== 27 | 28 | // =========================================================== 29 | // Methods from SuperClass/Interfaces 30 | // =========================================================== 31 | 32 | // =========================================================== 33 | // Methods 34 | // =========================================================== 35 | 36 | 37 | public static double gudermannInverse(double aLatitude){ 38 | return Math.log(Math.tan(PI_4 + (DEG2RAD * aLatitude / 2))); 39 | } 40 | 41 | public static double gudermann(double y){ 42 | return RAD2DEG * Math.atan(Math.sinh(y)); 43 | } 44 | 45 | 46 | public static int mod(int number, final int modulus){ 47 | if(number > 0) 48 | return number % modulus; 49 | 50 | while(number < 0) 51 | number += modulus; 52 | 53 | return number; 54 | } 55 | 56 | // =========================================================== 57 | // Inner and Anonymous Classes 58 | // =========================================================== 59 | } 60 | -------------------------------------------------------------------------------- /mainActivity/src/main/res/layout/pref_offset.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 23 | 24 | 25 | 26 | 27 | 34 | 35 | 42 | 43 |