From 226dd49b2bd96f792f37d0133225c1a38d764e7c Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Fri, 4 Dec 2015 18:05:07 +0200 Subject: [PATCH] Live updates start. --- OsmAnd/AndroidManifest.xml | 695 +++-- OsmAnd/res/layout/activity_livie_updates.xml | 28 + OsmAnd/res/layout/fragment_live_updates.xml | 106 + OsmAnd/res/values/dimens.xml | 12 +- OsmAnd/res/values/strings.xml | 2290 ++++++++--------- .../plus/LiveUpdates/LiveUpdatesFragment.java | 31 + .../LiveUpdates/LivieUpdatesActivity.java | 56 + .../plus/activities/MapActivityActions.java | 10 + 8 files changed, 1823 insertions(+), 1405 deletions(-) create mode 100644 OsmAnd/res/layout/activity_livie_updates.xml create mode 100644 OsmAnd/res/layout/fragment_live_updates.xml create mode 100644 OsmAnd/src/net/osmand/plus/LiveUpdates/LiveUpdatesFragment.java create mode 100644 OsmAnd/src/net/osmand/plus/LiveUpdates/LivieUpdatesActivity.java diff --git a/OsmAnd/AndroidManifest.xml b/OsmAnd/AndroidManifest.xml index bc259e33b1..a773f2b8c3 100644 --- a/OsmAnd/AndroidManifest.xml +++ b/OsmAnd/AndroidManifest.xml @@ -1,292 +1,479 @@ - + - + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + + - - - - - - - - - - - - - - - + android:grantUriPermissions="true"> + android:resource="@xml/paths"/> - - - - - - - - + + + + - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - + + + + + + + - - - - - - - - + - - - - - - + + + + + + + + + + + - - - - - - + - - - - + + + + + + + - - - - - - - - + + + + + - - - - - - - - - + + + + + + + + + + + - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + --> + + + - - + + + + + + - - - - - - + - - - - - + - - - - - - - + + + + + + + + + + + + + + diff --git a/OsmAnd/res/layout/activity_livie_updates.xml b/OsmAnd/res/layout/activity_livie_updates.xml new file mode 100644 index 0000000000..2126b7c031 --- /dev/null +++ b/OsmAnd/res/layout/activity_livie_updates.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/OsmAnd/res/layout/fragment_live_updates.xml b/OsmAnd/res/layout/fragment_live_updates.xml new file mode 100644 index 0000000000..66ed3ba820 --- /dev/null +++ b/OsmAnd/res/layout/fragment_live_updates.xml @@ -0,0 +1,106 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/OsmAnd/res/values/dimens.xml b/OsmAnd/res/values/dimens.xml index e83ac0b6a9..0b176feba0 100644 --- a/OsmAnd/res/values/dimens.xml +++ b/OsmAnd/res/values/dimens.xml @@ -1,8 +1,8 @@ -640dip - 400dip - 400dip - 200dip - 87dp - 35sp + 640dip + 400dip + 400dip + 200dip + 87dp + 35sp \ No newline at end of file diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index d41ea4fef3..ae065d2f90 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -10,7 +10,7 @@ PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy --> - Near + Near Hide Lowest resolution Highest resolution @@ -44,23 +44,23 @@ Reopened OSM Note Commented OSM Note Deleted OSM Note - Created OSM Note - OSM Note - Create note - Add comment - Reopen note - Close note - Note successfully created - Exception occurred: note was not created - Note was successfully closed - Exception occurred: note was not closed - OSM password (optional) - Message - Author name - Exception occurred: comment was not added - Comment was successfully added - Commit - + Created OSM Note + OSM Note + Create note + Add comment + Reopen note + Close note + Note successfully created + Exception occurred: note was not created + Note was successfully closed + Exception occurred: note was not closed + OSM password (optional) + Message + Author name + Exception occurred: comment was not added + Comment was successfully added + Commit + Delete GPX waypoint? Edit GPX waypoint Location @@ -75,7 +75,7 @@ Update Upload Created OSM POI - + World basemap (covering the whole world at small zooms) is missing or outdated. Please consider downloading World basemap for a complete environment. QR-code Map downloaded @@ -114,21 +114,21 @@ Navigation Running in background GPS wake-up interval - Favorite information + Favorite information Stop simulating your position Simulate using a calculated route or a recorded GPX Address is not known yet GPX file with note locations Locations Plugins - Avoid shuttle train - Avoid shuttle train + Avoid shuttle train + Avoid shuttle train Hazard Bold outline No updates available Live updates - Default (13) - Default (translucent cyan) + Default (13) + Default (translucent cyan) GPX color GPX color GPX width @@ -216,42 +216,42 @@ Type to search all Open OSM mapper assistant - A-GPS info - Manage - Edit - Places - Search - Show description - Message - A-GPS data last downloaded: %1$s + A-GPS info + Manage + Edit + Places + Search + Show description + Message + A-GPS data last downloaded: %1$s In many countries (Germany, France, Italy, and others) the use of speed camera warnings is not permitted by law. OsmAnd does not assume any liability if you violate the law. Please click yes only if you are eligible to use this feature. - Download maps - To correctly reflect your traffic signs and regulations, please select your driving region: - OsmAnd provides global offline map browsing, and global offline navigation! - Welcome + Download maps + To correctly reflect your traffic signs and regulations, please select your driving region: + OsmAnd provides global offline map browsing, and global offline navigation! + Welcome Current route OSM changes added to local changeset - Mark to delete - Group name should be at least 3 characters long! - You are going to delete %1$d notes. Are you sure? - You are going to upload %1$d changes to OSM. Are you sure? + Mark to delete + Group name should be at least 3 characters long! + You are going to delete %1$d notes. Are you sure? + You are going to upload %1$d changes to OSM. Are you sure? Do you want to clear the history? Specify wait time to remain on the route planning screen Start turn-by-turn navigation after… Go - overdue - Action create - Action modify - Action delete - OSM edits - - h - - min - Parking time limited to - - left - Your edits + overdue + Action create + Action modify + Action delete + OSM edits + + h + + min + Parking time limited to + + left + Your edits Visit after Visit before Simulate your position @@ -260,106 +260,106 @@ Frequently asked questions, recent changes, and others Navigation settings General settings - - OK - Cancel - Dismiss - Yes - Do not use - No - On - Off - Previous - Next - Enable - Disable - Enabled - Disabled - Selected - selected - Never - None - and - or - Help - Settings - History - Select on map - Select all - Deselect - Deselect all - Clear - Clear all - Save - Save as GPX track - Rename - Delete - Delete all - Share - Apply - Start - Stop - Import - Export - More… - More actions - Do not show again - Remember my choice - Refresh - Download - Downloading - Download successful - I/O error occurred - Unexpected error occurred - Action {0} - Close - Exit - Show - Show all - Collapse - Show on map - Map - Favorite - Favorites - Address - Add - Add to Favorites - My Position - My Places - My Favorites - My Tracks - Currently recording track - Audio - Video - Photo - Route points - Track segments - Track points - Online maps + + OK + Cancel + Dismiss + Yes + Do not use + No + On + Off + Previous + Next + Enable + Disable + Enabled + Disabled + Selected + selected + Never + None + and + or + Help + Settings + History + Select on map + Select all + Deselect + Deselect all + Clear + Clear all + Save + Save as GPX track + Rename + Delete + Delete all + Share + Apply + Start + Stop + Import + Export + More… + More actions + Do not show again + Remember my choice + Refresh + Download + Downloading + Download successful + I/O error occurred + Unexpected error occurred + Action {0} + Close + Exit + Show + Show all + Collapse + Show on map + Map + Favorite + Favorites + Address + Add + Add to Favorites + My Position + My Places + My Favorites + My Tracks + Currently recording track + Audio + Video + Photo + Route points + Track segments + Track points + Online maps With this plugin you can access many types of online (so called tile or raster) maps, from predefined Openstreetmap tiles (like Mapnik) to satellite images and special purpose layers like weather maps, climate maps, geological maps, hillshade layers, etc. \n\nAny of these maps can either be used as the main (base) map to be displayed on the OsmAnd map screen, or as an overlay or underlay to another base map (like OsmAnd\'s standard offline maps). In order to make any underlay map more visible, certain elements of the OsmAnd vector maps can easily be hidden via the \'Configure map\' menu as desired. \n\nTile maps can be obtained directly via online sources, or can be prepared for offline use (and manually copied to OsmAnd\'s data folder) as an sqlite database which can be produced by a variety of 3rd party map preparation tools. - Trip recording + Trip recording This plugin activates the functionality to record and save your tracks by manually touching the GPX logging widget on the map screen, or also to automatically log all of your navigation routes to a GPX file. \n\nRecorded tracks can be shared with your friends or be used for OSM contributions. Athletes can use recorded tracks to monitor their trainings. Some basic track analysis can be performed directly in OsmAnd, like lap times, average speed etc., and tracks can of course also later be analyzed in special 3rd party analysis tools. - OsMo (OSM Monitoring) + OsMo (OSM Monitoring) This Plugin provides the functionality of the so-called OsMo advanced live monitoring, see http://osmo.mobi. \n\nYou can track all devices of a participating group in real time, and communicate with each other. Comes with various options for session tracking or permanent tracking. \n\nAnonymous groups can be created spontaneously for a specified number of days and are limited to defined features, i.e. there is no remote control and no group administrator. Fully functional groups, on the other hand, can be created on the website and only registered users have access to them. - Contour lines plugin - OsmAnd plugin for offline contour lines + Contour lines plugin + OsmAnd plugin for offline contour lines This plugin provides both a contour line overlay and a (relief) hillshade layer to be displayed on top of OsmAnd\'s standard maps. This functionality will be much appreciated by athletes, hikers, trekkers, and anybody interested in the relief structure of a landscape. \n\nThe global data (between 70 degrees north and 70 degrees south) is based on measurements by SRTM (Shuttle Radar Topography Mission) and ASTER (Advanced Spaceborne Thermal Emission and Reflection Radiometer), an imaging instrument onboard Terra, the flagship satellite of NASA\'s Earth Observing System. ASTER is a cooperative effort between NASA, Japan\'s Ministry of Economy, Trade and Industry (METI), and Japan Space Systems (J-spacesystems). - Contour Lines + Contour Lines This plugin provides both a contour line overlay and a (relief) hillshade layer to be displayed on top of OsmAnd\'s standard maps. This functionality will be much appreciated by athletes, hikers, trekkers, and anybody interested in the relief structure of a landscape. \n\nThe global data (between 70 degrees north and 70 degrees south) is based on measurements by SRTM (Shuttle Radar Topography Mission) and ASTER (Advanced Spaceborne Thermal Emission and Reflection Radiometer), an imaging instrument onboard Terra, the flagship satellite of NASA\'s Earth Observing System. ASTER is a cooperative effort between NASA, Japan\'s Ministry of Economy, Trade and Industry (METI), and Japan Space Systems (J-spacesystems). - Touring map view + Touring map view Activating this view changes OsmAnd\'s map style to \'Touring view\', this is a special high-detail view for travelers and professional drivers. \n\nThis view provides, at any given map zoom, the maximum amount of travel details available in the map data (particularly roads, tracks, paths, and orientation marks). \n\nIt also clearly depicts all types of roads unambiguously by color coding, which is useful when e.g. driving large vehicles. @@ -367,44 +367,44 @@ \n\nA special map download is not needed, the view is created from our standard maps. \n\nThis view can be reverted by either de-activating it again here, or by changing the \'Map style\' under \'Configure map\' as desired. - Nautical map view + Nautical map view This plugin enriches the OsmAnd map and navigation app to also produce nautical maps for boating, sailing, and other types of watersports. \n\nA special map add-on for OsmAnd will provide all nautical navigation marks and chart symbols, for inland as well as for nearshore navigation. The description of each navigation mark provides the details needed to identify them and their meaning (category, shape, color, sequence, reference, etc.). \n\nTo return to one of OsmAnd\'s conventional map styles, simply either de-activate this plugin again, or change the \'Map style\' under \'Configure map\' as desired. - Ski map view + Ski map view This plugin for OsmAnd puts at your fingertips details of global downhill ski slopes, cross country ski runs, Alpine ski routes, cable cars and ski lifts. Routes and pistes are shown color-coded by difficulty, and depicted in a special \'Winter\' map style which assimilates a snow-colored winter landscape. \n\nActivating this view changes the map style to \'Winter and ski\', showing all landscape features under wintry conditions. This view can be reverted by either de-activating it again here, or by changing the \'Map style\' under \'Configure map\' as desired. - Audio/video notes - The Audio/video notes plugin provides the functionality to take audio/photography/video notes during a trip, using either a button on the map screen, or directly the context menu for any position on the map. - Parking Position + Audio/video notes + The Audio/video notes plugin provides the functionality to take audio/photography/video notes during a trip, using either a button on the map screen, or directly the context menu for any position on the map. + Parking Position The parking position plugin lets you memorize when your car is parked and how much parking time is left (if there is a time limit). \nBoth the location and time are visible on the OsmAnd dashboard as well as in widget on the map screen. An alarm can be added to the Android calendar as a reminder. - Distance calculator & planning tool - This plugin provides a map screen widget allowing to create paths by tapping on the map, or use or modify existing GPX files, to plan a trip and measure the distance between points. The results can be saved as a GPX file, which can later be used for guidance. - Accessibility - This plugin makes the device\'s accessibility features available directly in OsmAnd. It facilitates e.g. adjusting the speech rate for TTS voices, configuring directional-pad screen navigation, using a trackball for zoom control, or using text-to-speech feedback, like for auto announcing your position. - OSM editing - Via this plugin OsmAnd can be used to make OSM contributions like creating or modifying OSM POI objects, opening or commenting OSM bugs, and contributing recorded GPX files. OSM is a community driven, global public domain mapping project. For details please refer to http://openstreetmap.org. Active participation is appreciated, and contributions can be made directly from OsmAnd, if you specify your personal OSM credentials in the app. - This plugin displays settings for development and debugging features like to test or simulate routing, the screen rendering performance, or voice prompting. These settings are intended for developers and are not needed for the general user. - OsmAnd development - Rename failed. - days behind - Back to map - Share note + Distance calculator & planning tool + This plugin provides a map screen widget allowing to create paths by tapping on the map, or use or modify existing GPX files, to plan a trip and measure the distance between points. The results can be saved as a GPX file, which can later be used for guidance. + Accessibility + This plugin makes the device\'s accessibility features available directly in OsmAnd. It facilitates e.g. adjusting the speech rate for TTS voices, configuring directional-pad screen navigation, using a trackball for zoom control, or using text-to-speech feedback, like for auto announcing your position. + OSM editing + Via this plugin OsmAnd can be used to make OSM contributions like creating or modifying OSM POI objects, opening or commenting OSM bugs, and contributing recorded GPX files. OSM is a community driven, global public domain mapping project. For details please refer to http://openstreetmap.org. Active participation is appreciated, and contributions can be made directly from OsmAnd, if you specify your personal OSM credentials in the app. + This plugin displays settings for development and debugging features like to test or simulate routing, the screen rendering performance, or voice prompting. These settings are intended for developers and are not needed for the general user. + OsmAnd development + Rename failed. + days behind + Back to map + Share note Location:\n Lat %1$s\n Lon %2$s - Watch - Notes - Online map - Roads only + Watch + Notes + Online map + Roads only Ski slopes - Free %1$s - Device memory + Free %1$s + Device memory Piste grooming In order to display ski maps, the special offline map needs to be downloaded In order to display nautical maps, the special offline map needs to be downloaded - Edit group + Edit group Parking place REMOVE THE TAG GPS status @@ -415,19 +415,19 @@ Setup a proxy internet communication Privacy Points - Start navigation along track? - You can trigger an alternative route by selecting roads to avoid - Pedestrian crosswalks + Start navigation along track? + You can trigger an alternative route by selecting roads to avoid + Pedestrian crosswalks Road style Road style Default Default German road atlas High contrast roads - Railroad crossing - Pedestrian crosswalk - Show railroad crossings - Show pedestrian crosswalks + Railroad crossing + Pedestrian crosswalk + Show railroad crossings + Show pedestrian crosswalks American road atlas No v1.9 routing rules Do not use routing rules introduced in v1.9 @@ -444,7 +444,7 @@ All Downloads Updates Local - Downloading not possible, please check your Internet connection. + Downloading not possible, please check your Internet connection. All files up to date Use OpenGL rendering Use hardware accelerated OpenGL rendering (may not work on some devices) @@ -452,12 +452,12 @@ Home Use secure connection to server Use HTTPS - Updates available for %1$s maps - Search for - Coordinates - Bus, trolleybus, shuttle routes - Tram and train routes - Subway routes + Updates available for %1$s maps + Search for + Coordinates + Bus, trolleybus, shuttle routes + Tram and train routes + Subway routes %1$s needs this permission to turn off the screen for the power saving feature. Turn screen on Turn on device screen (if off) when approaching a turn @@ -475,18 +475,18 @@ Remaining elements Rendering attributes Status bar - Right panel - Left panel - Configure map + Right panel + Left panel + Configure map In proximity of Device not found OsMo service is not available:\n- check the connection;\n- check the settings;\n- check out our Twitter: https://twitter.com/OsMomobi An anonymous user can not:\n- create groups;\n- synchronize groups and devices with the server;\n- manage groups and devices in a private office. Anonymous user Logged in as %1$s - Speed limit tolerance - Select speed limit tolerance margin, above which you will receive a voice warning. - The favorite point name has been modified to %1$s to facilitate properly saving the string with emoticons to a file. + Speed limit tolerance + Select speed limit tolerance margin, above which you will receive a voice warning. + The favorite point name has been modified to %1$s to facilitate properly saving the string with emoticons to a file. Print route Favorite point name duplicate Specified favorite name already in use, was changed to %1$s to avoid duplication. @@ -499,36 +499,36 @@ Traffic calming Speed camera Traffic warning - Nearby Favorites - Nearby POI - Traffic warnings - OsmAnd background service is still running. Do you want to interrupt it, too? - Interrupt GPS background mode? - Interrupt - Always ask - Choose logging interval for the general track recording (enabled via the GPX logging widget on the map) - General logging interval - GPS Wake-up interval - Enable GPS background mode - Log track to GPX file - On demand track logging - General position logging to a GPX file can be turned on or off using the GPX logging widget on the map screen - Save current track to SD now - Save current GPX track - Log track to GPX file during navigation - Tracks will be saved to the tracks folder during navigation - Logging interval - Logging interval during navigation - Choose logging interval for track recording during navigation - Select voice guidance for navigation - Voice guidance + Nearby Favorites + Nearby POI + Traffic warnings + OsmAnd background service is still running. Do you want to interrupt it, too? + Interrupt GPS background mode? + Interrupt + Always ask + Choose logging interval for the general track recording (enabled via the GPX logging widget on the map) + General logging interval + GPS Wake-up interval + Enable GPS background mode + Log track to GPX file + On demand track logging + General position logging to a GPX file can be turned on or off using the GPX logging widget on the map screen + Save current track to SD now + Save current GPX track + Log track to GPX file during navigation + Tracks will be saved to the tracks folder during navigation + Logging interval + Logging interval during navigation + Choose logging interval for track recording during navigation + Select voice guidance for navigation + Voice guidance - Enable HTTP Proxy - Configure HTTP Proxy for all network requests - Proxy Host - Configure your proxy\'s hostname (e.g. 127.0.0.1) - Proxy Port - Configure your proxy\'s port number (e.g. 8118) + Enable HTTP Proxy + Configure HTTP Proxy for all network requests + Proxy Host + Configure your proxy\'s hostname (e.g. 127.0.0.1) + Proxy Port + Configure your proxy\'s port number (e.g. 8118) Trip recording Configure how to record your trips h @@ -550,8 +550,8 @@ Please specify id Continue Navigation Pause Navigation - Keep - Preferred language for labels on the map (if it is not available will switch to English or to local names) + Keep + Preferred language for labels on the map (if it is not available will switch to English or to local names) Map preferred language Local names Swahili @@ -559,11 +559,11 @@ Forward Dashboard Send tracking data to a specified web service if GPX logging is enabled. - Online tracking (GPX required) + Online tracking (GPX required) Start online tracking - Stop online tracking - Start GPX logging - Stop GPX logging + Stop online tracking + Start GPX logging + Stop GPX logging Start new segment Hide buildings Hide non-vehicle highways @@ -613,18 +613,18 @@ \n\nPress and hold to see on map Start turn-by-turn guidance automatically \n\nPress and hold for options - Subtracks: %1$s - Waypoints: %1$s - Distance: %1$s (%2$s points) - Start time: %1$tF, %1$tT - End time: %1$tF, %1$tT - Average speed: %1$s - Maximum speed: %1$s - Average altitude: %1$s - Altitude range: %1$s - Descent/ascent: %1$s + Subtracks: %1$s + Waypoints: %1$s + Distance: %1$s (%2$s points) + Start time: %1$tF, %1$tT + End time: %1$tF, %1$tT + Average speed: %1$s + Maximum speed: %1$s + Average altitude: %1$s + Altitude range: %1$s + Descent/ascent: %1$s Time span: %1$s - Time moving: %1$s + Time moving: %1$s Segment %1$s points Point %1$s @@ -661,7 +661,7 @@ Session url to track device (%1$s) In order to Connect to the target device %2$s, click on the link %3$s or specify tracker id (%1$s) Logging interval - Choose time interval to send location + Choose time interval to send location days Connect Expires in @@ -702,66 +702,66 @@ Debug information Configure monitoring settings and setup personal monitoring channel OsMo - Display position always in center + Display position always in center Voice Miscellaneous Localization addresses nationwide - World altitude correction - World seamarks - World bitcoin payments - World overview map + World altitude correction + World seamarks + World bitcoin payments + World overview map World ski map Chinese Portuguese (Brazil) English - Afrikaans - Albanian - Arabic - Armenian - Basque - Belarusian - Bosnian - Bulgarian - Catalan - Croatian - Czech - Danish - Dutch - Finnish - French - Georgian - German - Greek - Hebrew - Hindi - Hungarian - Indonesian - Italian - Japanese - Korean - Latvian - Lithuanian - Marathi - Norwegian - Persian - Polish - Portuguese - Romanian - Russian - Sardinian - Serbian - Simplified Chinese - Slovak - Slovenian - Spanish - Swedish - Traditional Chinese - Turkish - Ukrainian - Vietnamese - Welsh - North America - Canada + Afrikaans + Albanian + Arabic + Armenian + Basque + Belarusian + Bosnian + Bulgarian + Catalan + Croatian + Czech + Danish + Dutch + Finnish + French + Georgian + German + Greek + Hebrew + Hindi + Hungarian + Indonesian + Italian + Japanese + Korean + Latvian + Lithuanian + Marathi + Norwegian + Persian + Polish + Portuguese + Romanian + Russian + Sardinian + Serbian + Simplified Chinese + Slovak + Slovenian + Spanish + Swedish + Traditional Chinese + Turkish + Ukrainian + Vietnamese + Welsh + North America - Canada Europe - Italy Europe - Great Britain Calculate OsmAnd route segment without Internet @@ -773,25 +773,25 @@ Route preferences Route information Prefer motorways - Prefer motorways - Shortest way - Use shortest way - Avoid toll roads - Avoid toll roads - Avoid unpaved roads - Avoid unpaved roads - Avoid ferries - Avoid ferries - Avoid motorways - Avoid motorways - Avoid stairs - Avoid stairs - Avoid border crossing - Avoid crossing a border into another country - Weight limit - Specify vehicle weight to be permitted on routes - Height limit - Specify vehicle height to be permitted on routes + Prefer motorways + Shortest way + Use shortest way + Avoid toll roads + Avoid toll roads + Avoid unpaved roads + Avoid unpaved roads + Avoid ferries + Avoid ferries + Avoid motorways + Avoid motorways + Avoid stairs + Avoid stairs + Avoid border crossing + Avoid crossing a border into another country + Weight limit + Specify vehicle weight to be permitted on routes + Height limit + Specify vehicle height to be permitted on routes Since Android version 4.4 (KitKat) you cannot download and update maps to the previous storage folder (%s). Do you want to change to the permitted storage location and copy all OsmAnd files there? \n Note 1: Your old files will remain untouched (but can be deleted manually). \n Note 2: In the new storage location it will not be possible to share files between OsmAnd and OsmAnd+. @@ -810,7 +810,7 @@ Seamark Choose use profiles visible in application Application Profiles - Map rendering + Map rendering Hiking Motorcycle Boat @@ -819,13 +819,13 @@ Please calculate the route first Simulate using calculated route Simulate using GPX track - OsmAnd offline routing may take very long (or sometimes not work) for points more than 200km apart. You may want to add intermediate waypoints for better performance. - No auto zoom - To close-up - To mid-range - To long-range - Map magnifier - World basemap + OsmAnd offline routing may take very long (or sometimes not work) for points more than 200km apart. You may want to add intermediate waypoints for better performance. + No auto zoom + To close-up + To mid-range + To long-range + Map magnifier + World basemap Version : About Version info, licenses, project members @@ -844,20 +844,20 @@ Choose existing… Name Define/Edit… - FPS debug info - Select driving region: US, Europe, UK, Asia, and Others - Driving region - Japan - United States - Canada - Europe & Asia - UK, India, Australia & Others + FPS debug info + Select driving region: US, Europe, UK, Asia, and Others + Driving region + Japan + United States + Canada + Europe & Asia + UK, India, Australia & Others Announce… - Configure to announce street names, traffic warnings (forced stops, speed bumps), speed camera warnings, speed limits - Street names (TTS) + Configure to announce street names, traffic warnings (forced stops, speed bumps), speed camera warnings, speed limits + Street names (TTS) Speed limit Speed cameras - Traffic warnings + Traffic warnings Please specify OSM user and password in Settings Clear intermediate points Keep intermediate points @@ -872,9 +872,9 @@ Via: From: - Browse map - Default profile - Map view and navigation settings are remembered per use profile. Set your default profile here. + Browse map + Default profile + Map view and navigation settings are remembered per use profile. Set your default profile here. Destination %1$s Set as destination Select city or street first @@ -916,9 +916,9 @@ Clear destination Wi-Fi is currently not connected. Do you want to use the current Internet connection for downloading? Street name - House number + House number Web site - Phone + Phone Shows the settings to enable tracking and navigation in background (screen off) mode via periodically waking up the GPS device. Install version Choose application theme @@ -933,8 +933,8 @@ checked unchecked Prefer motorways - Prefer… - Prefer motorways + Prefer… + Prefer motorways none OpenMaps EU Wikipedia @@ -997,30 +997,30 @@ Hiking symbol overlay Render paths according to OSMC traces - Hide boundaries - Suppress display of regional boundaries (admin levels 5-9) + Hide boundaries + Suppress display of regional boundaries (admin levels 5-9) Speed limit GPX No buildings found. Search city incrementally Search more villages/postcode - Select when to display roads-only maps: - Roads-only maps + Select when to display roads-only maps: + Roads-only maps Run the application in safe mode (using slower Android instead of native code). Safe mode The application is running in safe mode (disable it in the Settings). Close changeset - ZXing Barcode Scanner application not installed. Search in Market? - Select a road color scheme: - Road color scheme + ZXing Barcode Scanner application not installed. Search in Market? + Select a road color scheme: + Road color scheme Show destination direction Enable the Trip recording plugin to use position logging services (GPX logging, online tracking) Calculate possibly non-optimal route over long distances - Please enable GPS in the settings - Logging services - No route - Remove waypoint - Waypoint %1$s + Please enable GPS in the settings + Logging services + No route + Remove waypoint + Waypoint %1$s Waypoint %1$s Add as last waypoint Add as first waypoint @@ -1045,22 +1045,22 @@ Restaurants Sightseeing Car aid - Food shop - For tourists - Fuel - Show alarms… - Configure traffic warnings (speed limits, forced stops, speed bumps), speed camera warnings, and lane information - Use the compass when no heading is detected otherwise - Use compass - Avoid motorways - Auto zoom map according to your speed (while map is synchronized with current position) - Auto zoom map - Snap position to roads during navigation - Snap to road - Interrupt music when making announcement - Interrupt music - OsmAnd Maps & Navigation - Global Mobile Map Viewing & Navigation for Offline and Online OSM Maps + Food shop + For tourists + Fuel + Show alarms… + Configure traffic warnings (speed limits, forced stops, speed bumps), speed camera warnings, and lane information + Use the compass when no heading is detected otherwise + Use compass + Avoid motorways + Auto zoom map according to your speed (while map is synchronized with current position) + Auto zoom map + Snap position to roads during navigation + Snap to road + Interrupt music when making announcement + Interrupt music + OsmAnd Maps & Navigation + Global Mobile Map Viewing & Navigation for Offline and Online OSM Maps OsmAnd (OSM Automated Navigation Directions) @@ -1156,8 +1156,8 @@ Approximate map coverage and quality: List of countries supported (basically world wide!): Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, Argentina, Armenia, Aruba, Australia, Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados, Belarus, Belgium, Belize, Benin, Bermuda, Bhutan, Bolivia, Bonaire, Bosnia and Herzegovina, Botswana, Brazil, British Virgin Islands, Brunei, Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Cape Verde, Central African Republic, Chad, Chile, China, Colombia, Comoros, Congo, Costa Rica, Ivory Coast, Croatia, Cuba, Curaçao, Cyprus, Czech Republic, Denmark, Djibouti, Dominica, Dominican Republic, Ecuador, Egypt, El Salvador, Equatorial Guinea, Eritrea, Estonia, Ethiopia, Fiji, Finland, France, French Guiana, French Polynesia, Gabon, Gambia, Georgia, Germany, Ghana, Gibraltar, Greece, Greenland, Grenada, Guadeloupe, Guam, Guatemala, Guernsey, Guinea, Guinea-Bissau, Guyana, Haiti, Vatican, Honduras, Hong Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Isle of Man, Israel, Italy, Jamaica, Japan, Jersey, Jordan, Kazakhstan, Kenya, Kiribati, North Korea and South Korea, Kuwait, Kyrgyzstan, Laos, Latvia, Lebanon, Lesotho, Liberia, Libya, Liechtenstein, Lithuania, Luxembourg, Macao, Macedonia, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Martinique, Mauritania, Mauritius, Mayotte, Mexico, Micronesia, Moldova, Monaco, Mongolia, Montenegro, Montserrat, Morocco, Mozambique, Myanmar, Namibia, Nauru, Nepal, Netherlands, Netherlands Antilles, New Caledonia, New Zealand, Nicaragua, Niger, Nigeria, Norway, Oman, Pakistan, Palau, Palestinian Territory, Panama, Papua New Guinea, Paraguay, Peru, Philippines, Poland, Portugal, Puerto Rico, Qatar, Romania, Russia, Rwanda, Saint Barthelemy, Saint Helena, Saint Kitts and Nevis, Saint Lucia, Saint Martin, Saint Pierre and Miquelon, Saint Vincent and the Grenadines, Samoa, San Marino, Saudi Arabia, Senegal, Serbia, Seychelles, Sierra Leone, Singapore, Slovakia, Slovenia, Somalia, South Africa, South Georgia, South Sudan, Spain, Sri Lanka, Sudan, Suriname, Swaziland, Sweden, Switzerland, Syria, Taiwan, Tajikistan, Tanzania, Thailand, Timor-Leste, Togo, Tokelau, Tonga, Trinidad and Tobago, Tunisia, Turkey, Turkmenistan, Tuvalu, Uganda, Ukraine, United Arab Emirates, United Kingdom (UK), United States of America (USA), Uruguay, Uzbekistan, Vanuatu, Venezuela, Vietnam, Wallis and Futuna, Western Sahara, Yemen, Zambia, Zimbabwe. - OsmAnd+ Maps & Navigation - Global Mobile Map Viewing & Navigation for Offline and Online OSM Maps + OsmAnd+ Maps & Navigation + Global Mobile Map Viewing & Navigation for Offline and Online OSM Maps OsmAnd+ (OSM Automated Navigation Directions) @@ -1252,198 +1252,198 @@ Approximate map coverage and quality: List of countries supported (basically world wide!): Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, Argentina, Armenia, Aruba, Australia, Austria, Azerbaijan, Bahamas, Bahrain, Bangladesh, Barbados, Belarus, Belgium, Belize, Benin, Bermuda, Bhutan, Bolivia, Bonaire, Bosnia and Herzegovina, Botswana, Brazil, British Virgin Islands, Brunei, Bulgaria, Burkina Faso, Burundi, Cambodia, Cameroon, Canada, Cape Verde, Central African Republic, Chad, Chile, China, Colombia, Comoros, Congo, Costa Rica, Ivory Coast, Croatia, Cuba, Curaçao, Cyprus, Czech Republic, Denmark, Djibouti, Dominica, Dominican Republic, Ecuador, Egypt, El Salvador, Equatorial Guinea, Eritrea, Estonia, Ethiopia, Fiji, Finland, France, French Guiana, French Polynesia, Gabon, Gambia, Georgia, Germany, Ghana, Gibraltar, Greece, Greenland, Grenada, Guadeloupe, Guam, Guatemala, Guernsey, Guinea, Guinea-Bissau, Guyana, Haiti, Vatican, Honduras, Hong Kong, Hungary, Iceland, India, Indonesia, Iran, Iraq, Ireland, Isle of Man, Israel, Italy, Jamaica, Japan, Jersey, Jordan, Kazakhstan, Kenya, Kiribati, North Korea and South Korea, Kuwait, Kyrgyzstan, Laos, Latvia, Lebanon, Lesotho, Liberia, Libya, Liechtenstein, Lithuania, Luxembourg, Macao, Macedonia, Madagascar, Malawi, Malaysia, Maldives, Mali, Malta, Martinique, Mauritania, Mauritius, Mayotte, Mexico, Micronesia, Moldova, Monaco, Mongolia, Montenegro, Montserrat, Morocco, Mozambique, Myanmar, Namibia, Nauru, Nepal, Netherlands, Netherlands Antilles, New Caledonia, New Zealand, Nicaragua, Niger, Nigeria, Norway, Oman, Pakistan, Palau, Palestinian Territory, Panama, Papua New Guinea, Paraguay, Peru, Philippines, Poland, Portugal, Puerto Rico, Qatar, Romania, Russia, Rwanda, Saint Barthelemy, Saint Helena, Saint Kitts and Nevis, Saint Lucia, Saint Martin, Saint Pierre and Miquelon, Saint Vincent and the Grenadines, Samoa, San Marino, Saudi Arabia, Senegal, Serbia, Seychelles, Sierra Leone, Singapore, Slovakia, Slovenia, Somalia, South Africa, South Georgia, South Sudan, Spain, Sri Lanka, Sudan, Suriname, Swaziland, Sweden, Switzerland, Syria, Taiwan, Tajikistan, Tanzania, Thailand, Timor-Leste, Togo, Tokelau, Tonga, Trinidad and Tobago, Tunisia, Turkey, Turkmenistan, Tuvalu, Uganda, Ukraine, United Arab Emirates, United Kingdom (UK), United States of America (USA), Uruguay, Uzbekistan, Vanuatu, Venezuela, Vietnam, Wallis and Futuna, Western Sahara, Yemen, Zambia, Zimbabwe. - Create POI filter - Transport mode: - Select transport mode - Sunrise: %1$s \nSunset: %2$s - Day/night info - Day/night map - Map style - Configure screen - Show lanes - Avoid unpaved roads - Avoid ferries - Avoid… - Avoid toll roads, unpaved, ferries - Fluorescent routes - Ruler - Viewing direction - Transparent skin - Run\n app in background - Stop\n running in background - GPS wake-up interval: %s - Continuous - To unlock screen press lock icon - Street name - Configure screen - Where am I - Lock screen - Compass - Reset to default - Parking - GPX logging - Speed - Destination - Altitude - Time to go - Next turn - Next turn (small) - Second next turn - Mini route map - Lock screen - Unlock screen - The screen is locked - Set wake-up interval: - Show speed cameras - Show traffic warnings - Avoid toll roads - Previous navigation was unfinished. Continue following it? (%1$s seconds) - Route will be calculated once position is found - Hours - Minutes - The car was parked at - Select speed of route simulation - Allocated memory %1$s MB (Android limit %2$s MB, Dalvik %3$s MB). - Allocated memory + Create POI filter + Transport mode: + Select transport mode + Sunrise: %1$s \nSunset: %2$s + Day/night info + Day/night map + Map style + Configure screen + Show lanes + Avoid unpaved roads + Avoid ferries + Avoid… + Avoid toll roads, unpaved, ferries + Fluorescent routes + Ruler + Viewing direction + Transparent skin + Run\n app in background + Stop\n running in background + GPS wake-up interval: %s + Continuous + To unlock screen press lock icon + Street name + Configure screen + Where am I + Lock screen + Compass + Reset to default + Parking + GPX logging + Speed + Destination + Altitude + Time to go + Next turn + Next turn (small) + Second next turn + Mini route map + Lock screen + Unlock screen + The screen is locked + Set wake-up interval: + Show speed cameras + Show traffic warnings + Avoid toll roads + Previous navigation was unfinished. Continue following it? (%1$s seconds) + Route will be calculated once position is found + Hours + Minutes + The car was parked at + Select speed of route simulation + Allocated memory %1$s MB (Android limit %2$s MB, Dalvik %3$s MB). + Allocated memory Total native memory allocated by app %1$s MB (Dalvik %2$s MB, other %3$s MB). Proportional memory %4$s MB (Android limit %5$s MB, Dalvik %6$s MB). - Total native memory - Starting point too far from nearest road. - Shared location - Pick up the car from parking - Warning - Notification to pick up your car was previously added to your Calendar. It will remain there until you will delete it manually. - Set the time limit of parking - Do you want to remove the location of the parked car? - Delete a parking marker - Choose the type of parking - Time-limited - Time-unlimited - Add a notification to Calendar application - Time-limited parking - Time-unlimited parking - The position of your parked car. %1$s - To pick up the car at: - PM - AM - Parking point - Mark as a parking position - Delete a parking marker - Public - Identifiable - Trackable - Private - ASAP - Share route as GPX file - Route shared via OsmAnd - Roundabout: take %1$d exit and go - Keep left and go - Keep right and go - Make all areal land features on map transparent - Hide polygons - Rendering mode - Optimize map for - - Display from zoom level (requires contour data): - Show contour lines - Increase amount of map detail shown - Show more map detail - Routing data - Format - POI (Point of interest) search - Address search - Coordinates - Public transport search - Favorites search - OsmAnd offline navigation is temporarily not available. - Left-hand driving - Select for countries with left-hand traffic - Click any existing item to see more details, press and hold to deactivate or delete. Current data on device (%1$s free): - Starting point is not yet determined - Position not yet known - Modify transparency (0 - transparent, 255 - opaque) - Do you want to interrupt file downloading? - Thank you for using OsmAnd. For many features of this application you need some regional offline data which you can download via \'Settings\' → \'Manage map files\'. Afterwards you will be able to view maps, locate addresses, look up POIs, and find public transport. - Basemap is required for proper application functioning and was selected to download. - Online and cached tile maps - Standard maps (vector) - Download and manage offline map files stored on your device - Enable the Online maps plugin to select different map sources - Online and tile maps - Use online maps (download and cache tiles on SD card) - Configure online or cached tile map sources - Plugins - Plugins activate advanced settings and additional functionality - Plugins - Vector maps likely display faster. May not work well on some devices. - Play commands of selected voice - Native rendering - Test voice prompts - No offline vector map present for this location. You can download one in Settings (Manage map files), or switch to online maps (enable online maps plugin for this). - Send GPX files to OSM? - Visibility - Tags - Description - Please specify OSM user name and password to upload GPX files. - Support - Support new features - Donate to see new features implemented in the application - Display ruler - Info - Back to position + Total native memory + Starting point too far from nearest road. + Shared location + Pick up the car from parking + Warning + Notification to pick up your car was previously added to your Calendar. It will remain there until you will delete it manually. + Set the time limit of parking + Do you want to remove the location of the parked car? + Delete a parking marker + Choose the type of parking + Time-limited + Time-unlimited + Add a notification to Calendar application + Time-limited parking + Time-unlimited parking + The position of your parked car. %1$s + To pick up the car at: + PM + AM + Parking point + Mark as a parking position + Delete a parking marker + Public + Identifiable + Trackable + Private + ASAP + Share route as GPX file + Route shared via OsmAnd + Roundabout: take %1$d exit and go + Keep left and go + Keep right and go + Make all areal land features on map transparent + Hide polygons + Rendering mode + Optimize map for + + Display from zoom level (requires contour data): + Show contour lines + Increase amount of map detail shown + Show more map detail + Routing data + Format + POI (Point of interest) search + Address search + Coordinates + Public transport search + Favorites search + OsmAnd offline navigation is temporarily not available. + Left-hand driving + Select for countries with left-hand traffic + Click any existing item to see more details, press and hold to deactivate or delete. Current data on device (%1$s free): + Starting point is not yet determined + Position not yet known + Modify transparency (0 - transparent, 255 - opaque) + Do you want to interrupt file downloading? + Thank you for using OsmAnd. For many features of this application you need some regional offline data which you can download via \'Settings\' → \'Manage map files\'. Afterwards you will be able to view maps, locate addresses, look up POIs, and find public transport. + Basemap is required for proper application functioning and was selected to download. + Online and cached tile maps + Standard maps (vector) + Download and manage offline map files stored on your device + Enable the Online maps plugin to select different map sources + Online and tile maps + Use online maps (download and cache tiles on SD card) + Configure online or cached tile map sources + Plugins + Plugins activate advanced settings and additional functionality + Plugins + Vector maps likely display faster. May not work well on some devices. + Play commands of selected voice + Native rendering + Test voice prompts + No offline vector map present for this location. You can download one in Settings (Manage map files), or switch to online maps (enable online maps plugin for this). + Send GPX files to OSM? + Visibility + Tags + Description + Please specify OSM user name and password to upload GPX files. + Support + Support new features + Donate to see new features implemented in the application + Display ruler + Info + Back to position - Accessibility extensions for old Android versions - Accessibility extensions - Accessibility mode - Turns on the accessibility features - According to the global system setting - Back To Menu - Zoom out - Zoom in - Zoom level is - north - north-north-east - north-east - east-north-east - east - east-south-east - south-east - south-south-east - south - south-south-west - south-west - west-south-west - west - west-north-west - north-west - north-north-west - forward - right-forward - to the right - right-backward - backward - left-backward - to the left - left-forward - o\'clock - towards - Accuracy - Altitude - No info - Sidewise (8 sectors) - Clockwise (12 sectors) - Direction style - Choose style to express relative directions while moving - Start auto announcing - Stop auto announcing - Scroll map by gestures on the touchscreen - Natural map scrolling - I am here - Change map zooming by horizontal trackball moves - Use trackball for zoom control - Use short object names in touch exploration mode - Use object names - Accessibility related preferences + Accessibility extensions for old Android versions + Accessibility extensions + Accessibility mode + Turns on the accessibility features + According to the global system setting + Back To Menu + Zoom out + Zoom in + Zoom level is + north + north-north-east + north-east + east-north-east + east + east-south-east + south-east + south-south-east + south + south-south-west + south-west + west-south-west + west + west-north-west + north-west + north-north-west + forward + right-forward + to the right + right-backward + backward + left-backward + to the left + left-forward + o\'clock + towards + Accuracy + Altitude + No info + Sidewise (8 sectors) + Clockwise (12 sectors) + Direction style + Choose style to express relative directions while moving + Start auto announcing + Stop auto announcing + Scroll map by gestures on the touchscreen + Natural map scrolling + I am here + Change map zooming by horizontal trackball moves + Use trackball for zoom control + Use short object names in touch exploration mode + Use object names + Accessibility related preferences Early Normal Late @@ -1451,614 +1451,614 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A Arrival announcement How soon do you want the arrival announcement? Not enough process memory to display selected area - Fluorescent overlays - Use fluorescent colors to display tracks and routes - Offline editing - Always use offline editing - POI changes inside application do not affect downloaded map files, changes are saved to local file instead. - Uploading … - {0} POI/Notes were uploaded - Upload all - Upload modification to OSM - Delete modification - Asynchronous OSM editing: - Locally saved OSM POIs/Notes - Show and manage OSM POIs/Notes noted in local database - Specify online tracking interval - Online tracking interval - Specify the web address with parameter syntax: lat={0}, lon={1}, timestamp={2}, hdop={3}, altitude={4}, speed={5}, bearing={6} - Online tracking web address - Log track using GPX widget or via \'Trip recording\' settings. - Show current track - This free OsmAnd version is limited to %1$s downloads and does not support offline Wikipedia articles. - Free version - Show POI description - North America - Europe - Netherlands - North America - United States - Central America - South America - Europe - Europe - France - Europe - Germany - Russia - Africa - Asia - Australia and Oceania - Worldwide and topic maps - Worldwide Wikipedia POIs - Voice prompts (recorded, limited features) - Voice prompts (TTS-synthesized, prefer) - Wikipedia (offline) - User defined - File with previously exported favorites already exists. Do you want to replace it? - Profile Specific Settings - Navigation - Specify options for the navigation - Global Settings - Manage map files - General - Configure display and common settings for the application - Global app settings - Your OSM user name - Needed for openstreetmap.org submissions - Your OSM password - Needed for openstreetmap.org submissions - Background mode - OsmAnd runs in background while screen is off - There is not enough free space to download %1$s MB (free: %2$s). - Free space now {2} MB! Download {0} file(s) ({1} MB)? - Transparent theme - Native library is not supported on this device. - Initializing native library… - Auto-center map view - Time until map view synchronizes with current position - Never (tap \'Go\' to start guidance manually) - Only manually (tap arrow) + Fluorescent overlays + Use fluorescent colors to display tracks and routes + Offline editing + Always use offline editing + POI changes inside application do not affect downloaded map files, changes are saved to local file instead. + Uploading … + {0} POI/Notes were uploaded + Upload all + Upload modification to OSM + Delete modification + Asynchronous OSM editing: + Locally saved OSM POIs/Notes + Show and manage OSM POIs/Notes noted in local database + Specify online tracking interval + Online tracking interval + Specify the web address with parameter syntax: lat={0}, lon={1}, timestamp={2}, hdop={3}, altitude={4}, speed={5}, bearing={6} + Online tracking web address + Log track using GPX widget or via \'Trip recording\' settings. + Show current track + This free OsmAnd version is limited to %1$s downloads and does not support offline Wikipedia articles. + Free version + Show POI description + North America + Europe - Netherlands + North America - United States + Central America + South America + Europe + Europe - France + Europe - Germany + Russia + Africa + Asia + Australia and Oceania + Worldwide and topic maps + Worldwide Wikipedia POIs + Voice prompts (recorded, limited features) + Voice prompts (TTS-synthesized, prefer) + Wikipedia (offline) + User defined + File with previously exported favorites already exists. Do you want to replace it? + Profile Specific Settings + Navigation + Specify options for the navigation + Global Settings + Manage map files + General + Configure display and common settings for the application + Global app settings + Your OSM user name + Needed for openstreetmap.org submissions + Your OSM password + Needed for openstreetmap.org submissions + Background mode + OsmAnd runs in background while screen is off + There is not enough free space to download %1$s MB (free: %2$s). + Free space now {2} MB! Download {0} file(s) ({1} MB)? + Transparent theme + Native library is not supported on this device. + Initializing native library… + Auto-center map view + Time until map view synchronizes with current position + Never (tap \'Go\' to start guidance manually) + Only manually (tap arrow) Re-announce navigation instructions at regular intervals Repeat navigation instructions - Auto-center nav only - Auto-center map view only while navigating. - Auto-center map view in use. - Vector renderer specific options - Overlay / underlay - Map source settings - Vector map settings - Delete %1$s? - Suburb - Hamlet - Village - Town - City + Auto-center nav only + Auto-center map view only while navigating. + Auto-center map view in use. + Vector renderer specific options + Overlay / underlay + Map source settings + Vector map settings + Delete %1$s? + Suburb + Hamlet + Village + Town + City - Stop simulation - Start simulation - File can not be renamed. - File with that name already exists. - GPX route - Several POI categories found matching the query: - Local data to search POI is not present. - Search by name - The POI data file \'%1$s\' is redundant and can be deleted. - Local file to maintain POI changes not found and could not be created. - Upgrade OsmAnd+ - Server contains map files not compatible with your current version of the application. To download and use them, please upgrade the application to newer version. - Online Nominatim - Searching position… - Position (found) - Address… - Favorites… - Undefined - Current position… - Current map center - Origin: - Search near here - Route successfully saved as \'%1$s\'. - File name: - File with same name already exists. - Upload GPX files to OSM community. They will be used to improve maps. - %1$d of %2$d item(s) successfully uploaded. - Send to OSM - Show more map detail - Show some vector map detail (roads etc.) at lower zooms already - Favorite point(s) deleted successfully. - You are going to delete %1$d favorite(s) and %2$d favorite group(s). Are you sure? - Home - Friends - Places - Others - Name - Category - No, thanks - Base world map (covering the whole world at small zooms) is missing. Please consider downloading World_basemap_x.obf for a complete environment. - On board (\'offline\') data is missing on SD card. Please consider to download it in order to use maps offline. - Released - Local version - %1$d of %2$d item(s) successfully deactivated. - %1$d of %2$d item(s) successfully deleted. - %1$d of %2$d item(s) successfully activated. - No items to %1$s - You are about to %1$s %2$s item(s). Continue? - Manage map files - Activate - Deactivate - Reload from sdcard - POI data - Address data - Public transport data - Map data - Deactivated - Voice prompts (TTS) - Voice prompts (recorded) - - POI data - TTS voice - New Search - Select text size for names on the map - Map font size - Rendering debug info - Display rendering performance - Unpacking new data… - An online navigation service is selected but no Internet connection is available. - Language not supported - The selected language is not supported by the installed Android TTS (text-to-speech) engine. Do you want to look for another TTS engine in Market? Otherwise the preset TTS language will be used. - Missing data - No data for the selected language is installed. Do you want to go to Market to install? - Reverse GPX direction - Use current destination - Pass along entire track - Offline vector map present for this location. \n\t\n\tTo use activate \'Menu\' → \'Configure map\' → \'Map Source…\' → \'Offline vector maps\'. - Voice guidance output - Choose channel to play voice guidance (system-dependent) - Voice call audio - Notification audio - Media/music audio - Application cannot download map layer %1$s, please try to reinstall it. - Modify overlay transparency - Overlay transparency - Modify base map transparency - Base map transparency - Underlay map… - Underlay map - Choose underlay map - Overlay map… - Overlay map - Choose overlay map - Map is already installed, settings will be updated - Select (tile) maps to install or update - An Internet connection is required for this operation but is not available - Install more… - Minimum zoom level to use vector maps - Min. vector zoom level - Online OSM map classification with images - Error occurred in offline search - Could not parse geo intent \'%s\' - Search geo location - System - Select display language (please restart OsmAnd after changing) - Display language - incomplete - Change units of length and speed - Unit of measure - Miles/feet - Miles/yards - Kilometers/meters - yd - ft - mph - mi - Share location using - Location: %1$s\n%2$s - To see location follow the web browser link %1$s or android intent link %2$s - Send location - Share location - GPX Waypoint \'\'{0}\'\' was successfully added - Add waypoint to recorded GPX track - Add GPX waypoint - Administrative - Barrier - Education - Emergency - Entertainment - Finance - Geocache - Healthcare - Historic - Landuse - Leisure - Man made - Military - Natural - Office - Other - Shop - Sport - Sustenance - Tourism - Transport - Indexing address… - Indexing map… - Indexing POI… - Indexing transport… - km - km/h - m - Deprecated map data format \'\'{0}\'\' is not supported - Nearest POIs - Custom filter - Online NameFinder - Reading cached tiles… - The index \'\'{0}\'\' did not fit into memory - The version of index \'\'{0}\'\' is not supported - OsmAnd navigation >20km - Use OsmAnd offline navigation applies only to routes > 20 km (experimental) - OsmAnd offline navigation is an experimental feature and it does not work for distances of more than about 20 km.\n\nNavigation service is temporarily switched to online CloudMade. - Can not find the specified folder. + Stop simulation + Start simulation + File can not be renamed. + File with that name already exists. + GPX route + Several POI categories found matching the query: + Local data to search POI is not present. + Search by name + The POI data file \'%1$s\' is redundant and can be deleted. + Local file to maintain POI changes not found and could not be created. + Upgrade OsmAnd+ + Server contains map files not compatible with your current version of the application. To download and use them, please upgrade the application to newer version. + Online Nominatim + Searching position… + Position (found) + Address… + Favorites… + Undefined + Current position… + Current map center + Origin: + Search near here + Route successfully saved as \'%1$s\'. + File name: + File with same name already exists. + Upload GPX files to OSM community. They will be used to improve maps. + %1$d of %2$d item(s) successfully uploaded. + Send to OSM + Show more map detail + Show some vector map detail (roads etc.) at lower zooms already + Favorite point(s) deleted successfully. + You are going to delete %1$d favorite(s) and %2$d favorite group(s). Are you sure? + Home + Friends + Places + Others + Name + Category + No, thanks + Base world map (covering the whole world at small zooms) is missing. Please consider downloading World_basemap_x.obf for a complete environment. + On board (\'offline\') data is missing on SD card. Please consider to download it in order to use maps offline. + Released + Local version + %1$d of %2$d item(s) successfully deactivated. + %1$d of %2$d item(s) successfully deleted. + %1$d of %2$d item(s) successfully activated. + No items to %1$s + You are about to %1$s %2$s item(s). Continue? + Manage map files + Activate + Deactivate + Reload from sdcard + POI data + Address data + Public transport data + Map data + Deactivated + Voice prompts (TTS) + Voice prompts (recorded) + + POI data + TTS voice + New Search + Select text size for names on the map + Map font size + Rendering debug info + Display rendering performance + Unpacking new data… + An online navigation service is selected but no Internet connection is available. + Language not supported + The selected language is not supported by the installed Android TTS (text-to-speech) engine. Do you want to look for another TTS engine in Market? Otherwise the preset TTS language will be used. + Missing data + No data for the selected language is installed. Do you want to go to Market to install? + Reverse GPX direction + Use current destination + Pass along entire track + Offline vector map present for this location. \n\t\n\tTo use activate \'Menu\' → \'Configure map\' → \'Map Source…\' → \'Offline vector maps\'. + Voice guidance output + Choose channel to play voice guidance (system-dependent) + Voice call audio + Notification audio + Media/music audio + Application cannot download map layer %1$s, please try to reinstall it. + Modify overlay transparency + Overlay transparency + Modify base map transparency + Base map transparency + Underlay map… + Underlay map + Choose underlay map + Overlay map… + Overlay map + Choose overlay map + Map is already installed, settings will be updated + Select (tile) maps to install or update + An Internet connection is required for this operation but is not available + Install more… + Minimum zoom level to use vector maps + Min. vector zoom level + Online OSM map classification with images + Error occurred in offline search + Could not parse geo intent \'%s\' + Search geo location + System + Select display language (please restart OsmAnd after changing) + Display language + incomplete + Change units of length and speed + Unit of measure + Miles/feet + Miles/yards + Kilometers/meters + yd + ft + mph + mi + Share location using + Location: %1$s\n%2$s + To see location follow the web browser link %1$s or android intent link %2$s + Send location + Share location + GPX Waypoint \'\'{0}\'\' was successfully added + Add waypoint to recorded GPX track + Add GPX waypoint + Administrative + Barrier + Education + Emergency + Entertainment + Finance + Geocache + Healthcare + Historic + Landuse + Leisure + Man made + Military + Natural + Office + Other + Shop + Sport + Sustenance + Tourism + Transport + Indexing address… + Indexing map… + Indexing POI… + Indexing transport… + km + km/h + m + Deprecated map data format \'\'{0}\'\' is not supported + Nearest POIs + Custom filter + Online NameFinder + Reading cached tiles… + The index \'\'{0}\'\' did not fit into memory + The version of index \'\'{0}\'\' is not supported + OsmAnd navigation >20km + Use OsmAnd offline navigation applies only to routes > 20 km (experimental) + OsmAnd offline navigation is an experimental feature and it does not work for distances of more than about 20 km.\n\nNavigation service is temporarily switched to online CloudMade. + Can not find the specified folder. - A previous OsmAnd version is installed. All offline data will be supported by the new application. But Favorite points should be exported in the old application and later imported by the new one. - Build {0} successfully installed ({1}). - Downloading build… - Do you want to install OsmAnd - {0} of {1} {2} MB ? - Retrieving the list of OsmAnd builds failed - Loading OsmAnd builds… - Select an OsmAnd build to install - GPS status application not installed. Search in Market? - No voice guidance available, please go to \'Settings\' → \'General\' → \'Voice guidance\' and select or download a voice prompt package. - No voice guidance selected - Day - Night - Sunrise/sunset - Light sensor - Choose day/night mode switching rule - Day/night mode - Download {0} file(s) ({1} MB)? - {0} item(s) selected - Downloaded - Fastest route - Enable to calculate fastest route or disable for shortest route - At zoom {0} download {1} tiles ({2} MB) - Download map - Select maximum zoom to preload - This map could not be downloaded - Continuous rendering - Display continuous rendering instead of image-at-once - Error occurred while rendering selected area - Use location … - Renderer successfully loaded - Exception occurred: renderer was not loaded - Vector renderer - Choose rendering appearance - Show POI website - Show POI phone - type to filter - High resolution display - Do not stretch (and blur) map tiles on high density displays - Search public transport - Transport results (no destination): - Transport results ({0} to destination): - Reset transport search - Recorded voice - Voice prompts - Vector maps were not loaded - Navigate using GPX - No GPX files found in the tracks folder - GPX track… - Error reading GPX data - Offline vector maps - Search transport at stop - Modify POI - Delete POI - To compass - To direction of movement - Don\'t rotate (north is up) - Select map screen alignment - Map orientation - Route details - Favorites successfully imported - Save points as GPX file or import them into favorites? - GPX file containing favorites is not found at {0} - Favorites successfully saved to {0} - No favorite points to save - Favorites shared via OsmAnd - Error occurred while loading GPX - Send report - No offline data for regions found on SD card. Download regions from the Internet. - Input search query to find POI - Any - Transport route - Thanks to Yandex for traffic information. - Yandex traffic - Route - OSM Notes (online) - Transport stops - POI… - Map source… - Map layers - Search POI - Use trackball to move map - Use trackball - Set maximum waiting time for each background position fix - Maximum wait for fix - Where am I? - OsmAnd navigation service - Network - GPS - seconds - min. - Set wake-up interval used by background service - Choose location provider used by background service - Location provider - Runs OsmAnd in the background to track your position while screen is off - Run OsmAnd in background - The background navigation service requires a location provider to be turned on. - Hide filter - Show filter - Filter - Sound is on - Sound is off - Initializing voice data… - Unsupported version of voice data - Specified voice data is corrupted - Selected voice data is not available - SD card is not accessible.\nYou won\'t be able to see maps or find things. - SD card is read-only.\nYou can only see the preloaded map and can\'t download from the Internet. - Unzipping file… - Turn right and go - Turn sharply right and go - Turn slightly right and go - Turn left and go - Turn sharply left and go - Turn slightly left and go - Make U-turn and go - Head - Later - Download regions - Searching for signal… - Search near current map center - Search nearby - Same as device - Portrait - Landscape - Screen orientation - Portrait, landscape, or device - Opening hours format is not supported for editing - Add new rule - Routes - Stop - stops - Subsequent itinerary - Prior itinerary - Finish search - Choose stop to get off - prior distance - subsequent distance - stops to pass - Itinerary distance - Transport - Show public transport stops on map - Show transport stops - Navigation application OsmAnd - POI data was updated successfully ({0} were loaded) - Error updating local POI list - Error while loading data from server - No offline POI data available for this area - Updating POIs is not available for small zoom levels - Update POI - Update local data via Internet? - City: {0} - Street: {0}, {1} - Intersection: {0} x {1} in {2} - Building: {0}, {1}, {2} - Favorite - Uploading data… - Uploading… - Nothing found - Searching… - Searching address… - Online search using OSM Nominatim - Online search: House number, street, city - Offline search - Online search - Max. online zoom - Choose maximum zoom level to download for online map tiles - Total distance %1$s, travelling time %2$d h %3$d m. - Choose an online or offline navigation service - Navigation service - The data storage folder on the SD card is not accessible! - Download {0} - {1} ? - Offline data for {0} already exists ({1}). Do you want to update it ({2}) ? - Address - Downloading list of available regions… - The list of regions was not retrieved from osmand.net. - Favorite point was edited - No favorite points exist - Replace - Display route - Start navigation - Please select destination first - Directions - Opening hours - Opening changeset… - Closing changeset… - Committing node… - Loading POI… - Authorization failed - failed - Converting native/English names… - Loading streets/buildings… - Loading postcodes… - Loading streets… - Loading cities… - POI - Error while saving GPX - Error calculating route - Error occurred while calculating route - Error: Calculated route is empty - New route calculated, distance - You have arrived at your destination - Coordinates are invalid! - Go back to OsmAnd map - Loading data… - Reading local data… - Last OsmAnd run crashed. Log file is at {0}. Please report the issue and attach the log file. - Saving GPX tracks to SD… - Finished - Use Internet to calculate route - Use online navigation - Specify Openstreetmap.org (OSM) settings needed for OSM submissions - Specify language, download/reload data - Data - Additional settings - Update map - Reload tile - Target - Select between native and English names - Use English names in maps - Application settings - Search address - Choose building - Choose street - Choose city - Choose country - Display viewing direction - Enable 3D view of the map - Map View 3D - Show POI over map (use last chosen filter) - Show POI - Choose the source of online or cached map tiles - Tile map source - Map source - Use Internet - Show your position - Show GPS coordinates on map - Use Internet to download missing map tiles - Navigation application - Search - Search - Choose POI - Find more - Search street incrementally - Search building incrementally - Choose region from list - Choose intersecting street - Closest amenities - Car - Bicycle - Pedestrian - Center - Bottom - Input latitude & longitude in the selected format (D - degrees, M - minutes, S - seconds) - Latitude - Longitude - DDD.DD - DDD MM.MM - DDD MM SS.SS - Select address - Region - City - Street - Building - Building - Intersecting street - Location - Update map - - Create POI - Enter favorite name - Favorite - Favorite point \'\'{0}\'\' was added successfully. - Add favorite - Edit favorite - Delete favorite - Remove favorite point \'%s\'? - Favorite point {0} was successfully deleted. - Edit POI - Create POI - Node cannot be found or amenity is not a single node - Delete {0} (enter comment)? - Delete POI - POI was successfully deleted - add - change - delete - Action {0} completed successfully. - Unexpected error occurred while performing action {0}. - I/O error occurred while performing action {0}. - Info about node was not loaded - Name - Open - Comment - Reopen - POI changing - All other tags are preserved - Commit - Filter - Save As - Delete selected filter? - Filter {0} has been deleted - Filter {0} has been created - email - Camera focus type - Select internal camera focus type - Auto focus - Hyperfocal focus - Extended depth of field (EDOF) - Focus is set at infinity - Macro (close-up) focus mode - The camera continuously tries to focus - Play sound on photo shot - Choose whether to play a sound when shooting photos - Camera Picture Size - Select internal camera Picture Size + A previous OsmAnd version is installed. All offline data will be supported by the new application. But Favorite points should be exported in the old application and later imported by the new one. + Build {0} successfully installed ({1}). + Downloading build… + Do you want to install OsmAnd - {0} of {1} {2} MB ? + Retrieving the list of OsmAnd builds failed + Loading OsmAnd builds… + Select an OsmAnd build to install + GPS status application not installed. Search in Market? + No voice guidance available, please go to \'Settings\' → \'General\' → \'Voice guidance\' and select or download a voice prompt package. + No voice guidance selected + Day + Night + Sunrise/sunset + Light sensor + Choose day/night mode switching rule + Day/night mode + Download {0} file(s) ({1} MB)? + {0} item(s) selected + Downloaded + Fastest route + Enable to calculate fastest route or disable for shortest route + At zoom {0} download {1} tiles ({2} MB) + Download map + Select maximum zoom to preload + This map could not be downloaded + Continuous rendering + Display continuous rendering instead of image-at-once + Error occurred while rendering selected area + Use location … + Renderer successfully loaded + Exception occurred: renderer was not loaded + Vector renderer + Choose rendering appearance + Show POI website + Show POI phone + type to filter + High resolution display + Do not stretch (and blur) map tiles on high density displays + Search public transport + Transport results (no destination): + Transport results ({0} to destination): + Reset transport search + Recorded voice + Voice prompts + Vector maps were not loaded + Navigate using GPX + No GPX files found in the tracks folder + GPX track… + Error reading GPX data + Offline vector maps + Search transport at stop + Modify POI + Delete POI + To compass + To direction of movement + Don\'t rotate (north is up) + Select map screen alignment + Map orientation + Route details + Favorites successfully imported + Save points as GPX file or import them into favorites? + GPX file containing favorites is not found at {0} + Favorites successfully saved to {0} + No favorite points to save + Favorites shared via OsmAnd + Error occurred while loading GPX + Send report + No offline data for regions found on SD card. Download regions from the Internet. + Input search query to find POI + Any + Transport route + Thanks to Yandex for traffic information. + Yandex traffic + Route + OSM Notes (online) + Transport stops + POI… + Map source… + Map layers + Search POI + Use trackball to move map + Use trackball + Set maximum waiting time for each background position fix + Maximum wait for fix + Where am I? + OsmAnd navigation service + Network + GPS + seconds + min. + Set wake-up interval used by background service + Choose location provider used by background service + Location provider + Runs OsmAnd in the background to track your position while screen is off + Run OsmAnd in background + The background navigation service requires a location provider to be turned on. + Hide filter + Show filter + Filter + Sound is on + Sound is off + Initializing voice data… + Unsupported version of voice data + Specified voice data is corrupted + Selected voice data is not available + SD card is not accessible.\nYou won\'t be able to see maps or find things. + SD card is read-only.\nYou can only see the preloaded map and can\'t download from the Internet. + Unzipping file… + Turn right and go + Turn sharply right and go + Turn slightly right and go + Turn left and go + Turn sharply left and go + Turn slightly left and go + Make U-turn and go + Head + Later + Download regions + Searching for signal… + Search near current map center + Search nearby + Same as device + Portrait + Landscape + Screen orientation + Portrait, landscape, or device + Opening hours format is not supported for editing + Add new rule + Routes + Stop + stops + Subsequent itinerary + Prior itinerary + Finish search + Choose stop to get off + prior distance + subsequent distance + stops to pass + Itinerary distance + Transport + Show public transport stops on map + Show transport stops + Navigation application OsmAnd + POI data was updated successfully ({0} were loaded) + Error updating local POI list + Error while loading data from server + No offline POI data available for this area + Updating POIs is not available for small zoom levels + Update POI + Update local data via Internet? + City: {0} + Street: {0}, {1} + Intersection: {0} x {1} in {2} + Building: {0}, {1}, {2} + Favorite + Uploading data… + Uploading… + Nothing found + Searching… + Searching address… + Online search using OSM Nominatim + Online search: House number, street, city + Offline search + Online search + Max. online zoom + Choose maximum zoom level to download for online map tiles + Total distance %1$s, travelling time %2$d h %3$d m. + Choose an online or offline navigation service + Navigation service + The data storage folder on the SD card is not accessible! + Download {0} - {1} ? + Offline data for {0} already exists ({1}). Do you want to update it ({2}) ? + Address + Downloading list of available regions… + The list of regions was not retrieved from osmand.net. + Favorite point was edited + No favorite points exist + Replace + Display route + Start navigation + Please select destination first + Directions + Opening hours + Opening changeset… + Closing changeset… + Committing node… + Loading POI… + Authorization failed + failed + Converting native/English names… + Loading streets/buildings… + Loading postcodes… + Loading streets… + Loading cities… + POI + Error while saving GPX + Error calculating route + Error occurred while calculating route + Error: Calculated route is empty + New route calculated, distance + You have arrived at your destination + Coordinates are invalid! + Go back to OsmAnd map + Loading data… + Reading local data… + Last OsmAnd run crashed. Log file is at {0}. Please report the issue and attach the log file. + Saving GPX tracks to SD… + Finished + Use Internet to calculate route + Use online navigation + Specify Openstreetmap.org (OSM) settings needed for OSM submissions + Specify language, download/reload data + Data + Additional settings + Update map + Reload tile + Target + Select between native and English names + Use English names in maps + Application settings + Search address + Choose building + Choose street + Choose city + Choose country + Display viewing direction + Enable 3D view of the map + Map View 3D + Show POI over map (use last chosen filter) + Show POI + Choose the source of online or cached map tiles + Tile map source + Map source + Use Internet + Show your position + Show GPS coordinates on map + Use Internet to download missing map tiles + Navigation application + Search + Search + Choose POI + Find more + Search street incrementally + Search building incrementally + Choose region from list + Choose intersecting street + Closest amenities + Car + Bicycle + Pedestrian + Center + Bottom + Input latitude & longitude in the selected format (D - degrees, M - minutes, S - seconds) + Latitude + Longitude + DDD.DD + DDD MM.MM + DDD MM SS.SS + Select address + Region + City + Street + Building + Building + Intersecting street + Location + Update map + + Create POI + Enter favorite name + Favorite + Favorite point \'\'{0}\'\' was added successfully. + Add favorite + Edit favorite + Delete favorite + Remove favorite point \'%s\'? + Favorite point {0} was successfully deleted. + Edit POI + Create POI + Node cannot be found or amenity is not a single node + Delete {0} (enter comment)? + Delete POI + POI was successfully deleted + add + change + delete + Action {0} completed successfully. + Unexpected error occurred while performing action {0}. + I/O error occurred while performing action {0}. + Info about node was not loaded + Name + Open + Comment + Reopen + POI changing + All other tags are preserved + Commit + Filter + Save As + Delete selected filter? + Filter {0} has been deleted + Filter {0} has been created + email + Camera focus type + Select internal camera focus type + Auto focus + Hyperfocal focus + Extended depth of field (EDOF) + Focus is set at infinity + Macro (close-up) focus mode + The camera continuously tries to focus + Play sound on photo shot + Choose whether to play a sound when shooting photos + Camera Picture Size + Select internal camera Picture Size Invalid format: %s - Description - You need an Internet connection to install this plugin. - Get - Smart route recalculation - Recalculate only initial part of the route for long trips - Do you like OsmAnd? - We care much about your opinion and it is important for us to hear you back. - Rate this app - Please give OsmAnd a score on Google Play - Tell us why. - Please tell us what would you want to change in this app. - Failed to upload - Delete change - Successfully uploaded {0}/{1} - Try again - Error: {0} - Configure dashboard - - Card was hidden - UNDO - Skip - OsmAnd - - Commit POI - Basic - Advanced - Building Number - Next - Opening at - Closing at - Contact info - Description - Add opening hours - POI Type - Number of rows in dash %1$s - Please specify POI type. - Working days - Recent places - Favorites - Successfully saved at: %1$s - POI will be deleted once you upload your changes - Show GPX - Count of lines - Are you sure? - Any unsaved changes will be lost. Continue? - %1$s downloads left - Roads + Description + You need an Internet connection to install this plugin. + Get + Smart route recalculation + Recalculate only initial part of the route for long trips + Do you like OsmAnd? + We care much about your opinion and it is important for us to hear you back. + Rate this app + Please give OsmAnd a score on Google Play + Tell us why. + Please tell us what would you want to change in this app. + Failed to upload + Delete change + Successfully uploaded {0}/{1} + Try again + Error: {0} + Configure dashboard + + Card was hidden + UNDO + Skip + OsmAnd + + Commit POI + Basic + Advanced + Building Number + Next + Opening at + Closing at + Contact info + Description + Add opening hours + POI Type + Number of rows in dash %1$s + Please specify POI type. + Working days + Recent places + Favorites + Successfully saved at: %1$s + POI will be deleted once you upload your changes + Show GPX + Count of lines + Are you sure? + Any unsaved changes will be lost. Continue? + %1$s downloads left + Roads Downloading - %1$d file Show free version banner Even if you have paid version you still can see free version banner @@ -2076,7 +2076,7 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A Displays the used free downloads Choose where you want to save map files. - + Enter country name New version First steps with OsmAnd diff --git a/OsmAnd/src/net/osmand/plus/LiveUpdates/LiveUpdatesFragment.java b/OsmAnd/src/net/osmand/plus/LiveUpdates/LiveUpdatesFragment.java new file mode 100644 index 0000000000..a890c9f7d0 --- /dev/null +++ b/OsmAnd/src/net/osmand/plus/LiveUpdates/LiveUpdatesFragment.java @@ -0,0 +1,31 @@ +package net.osmand.plus.liveupdates; + + +import android.os.Bundle; +import android.support.v4.app.Fragment; +import android.view.LayoutInflater; +import android.view.View; +import android.view.ViewGroup; + +import net.osmand.plus.R; + +/** + * A simple {@link Fragment} subclass. + * Use the {@link LiveUpdatesFragment#newInstance} factory method to + * create an instance of this fragment. + */ +public class LiveUpdatesFragment extends Fragment { + public static final String TITILE = "Live Updates"; + + @Override + public void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + } + + @Override + public View onCreateView(LayoutInflater inflater, ViewGroup container, + Bundle savedInstanceState) { + return inflater.inflate(R.layout.fragment_live_updates, container, false); + } + +} diff --git a/OsmAnd/src/net/osmand/plus/LiveUpdates/LivieUpdatesActivity.java b/OsmAnd/src/net/osmand/plus/LiveUpdates/LivieUpdatesActivity.java new file mode 100644 index 0000000000..954af1ef0b --- /dev/null +++ b/OsmAnd/src/net/osmand/plus/LiveUpdates/LivieUpdatesActivity.java @@ -0,0 +1,56 @@ +package net.osmand.plus.liveupdates; + +import android.os.Bundle; +import android.support.design.widget.TabLayout; +import android.support.v4.app.Fragment; +import android.support.v4.app.FragmentManager; +import android.support.v4.app.FragmentPagerAdapter; +import android.support.v4.view.ViewPager; + +import net.osmand.plus.R; +import net.osmand.plus.activities.OsmandActionBarActivity; + +public class LivieUpdatesActivity extends OsmandActionBarActivity { + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_livie_updates); + + ViewPager viewPager = (ViewPager) findViewById(R.id.viewpager); + String basicTitle = getResources().getString(R.string.tab_title_basic); + String extendedTitle = getResources().getString(R.string.tab_title_advanced); + final MyAdapter pagerAdapter = new MyAdapter(getSupportFragmentManager()); + viewPager.setAdapter(pagerAdapter); + + final TabLayout tabLayout = (TabLayout) findViewById(R.id.tab_layout); + tabLayout.setTabMode(TabLayout.MODE_SCROLLABLE); + tabLayout.setupWithViewPager(viewPager); + } + + public static class MyAdapter extends FragmentPagerAdapter { + private final Fragment[] fragments = new Fragment[]{new LiveUpdatesFragment()}; + private final String[] titles = new String[] {LiveUpdatesFragment.TITILE}; + + public MyAdapter(FragmentManager fm) { + super(fm); + } + + @Override + public int getCount() { + return fragments.length; + } + + @Override + public Fragment getItem(int position) { + return fragments[position]; + } + + @Override + public CharSequence getPageTitle(int position) { + return titles[position]; + } + + + } +} diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java index 69cbfd552f..5e63585cdc 100644 --- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java +++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java @@ -44,6 +44,7 @@ import net.osmand.plus.activities.search.SearchActivity; import net.osmand.plus.dashboard.DashboardOnMap.DashboardType; import net.osmand.plus.dialogs.FavoriteDialogs; import net.osmand.plus.download.IndexItem; +import net.osmand.plus.liveupdates.LivieUpdatesActivity; import net.osmand.plus.routing.RouteProvider.GPXRouteParamsBuilder; import net.osmand.plus.routing.RoutingHelper; import net.osmand.plus.views.BaseMapLayer; @@ -645,6 +646,15 @@ public class MapActivityActions implements DialogProvider { return false; } }).reg(); + optionsMenuHelper.item(R.string.download_live_updates).iconColor(R.drawable.ic_configure_screen_dark) + .listen(new OnContextMenuClick() { + @Override + public boolean onContextMenuClick(ArrayAdapter adapter, int itemId, int pos, boolean isChecked) { + Intent intent = new Intent(mapActivity, LivieUpdatesActivity.class); + mapActivity.startActivity(intent); + return false; + } + }).reg(); String d = getString(R.string.index_settings); if (app.getDownloadThread().getIndexes().isDownloadedFromInternet) { List updt = app.getDownloadThread().getIndexes().getItemsToUpdate();