diff --git a/DataExtractionOSM/src/net/osmand/Algoritms.java b/DataExtractionOSM/src/net/osmand/Algoritms.java
index aea642ff95..7067ed3c86 100644
--- a/DataExtractionOSM/src/net/osmand/Algoritms.java
+++ b/DataExtractionOSM/src/net/osmand/Algoritms.java
@@ -6,7 +6,7 @@ import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
-import net.osmand.LogUtil;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java b/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java
index 80043126e7..07d525064f 100644
--- a/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java
+++ b/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java
@@ -12,7 +12,6 @@ import java.util.List;
import java.util.Map;
import net.osmand.Algoritms;
-import net.osmand.LogUtil;
import net.osmand.StringMatcher;
import net.osmand.binary.BinaryMapAddressReaderAdapter.AddressRegion;
import net.osmand.binary.BinaryMapTransportReaderAdapter.TransportIndex;
@@ -24,6 +23,7 @@ import net.osmand.osm.LatLon;
import net.osmand.osm.MapRenderingTypes;
import net.osmand.osm.MapUtils;
import net.osmand.osm.MapRenderingTypes.MapRulType;
+import net.osmand.plus.LogUtil;
import net.sf.junidecode.Junidecode;
import org.apache.commons.logging.Log;
diff --git a/DataExtractionOSM/src/net/osmand/binary/BinaryRouteDataReader.java b/DataExtractionOSM/src/net/osmand/binary/BinaryRouteDataReader.java
index cecb32357b..deba1721ae 100644
--- a/DataExtractionOSM/src/net/osmand/binary/BinaryRouteDataReader.java
+++ b/DataExtractionOSM/src/net/osmand/binary/BinaryRouteDataReader.java
@@ -18,13 +18,13 @@ import java.util.List;
import java.util.Map;
import java.util.PriorityQueue;
-import net.osmand.LogUtil;
import net.osmand.binary.BinaryMapIndexReader.MapIndex;
import net.osmand.binary.BinaryMapIndexReader.SearchRequest;
import net.osmand.binary.BinaryMapIndexReader.TagValuePair;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapRenderingTypes;
import net.osmand.osm.MapUtils;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/DataExtractionOSM/src/net/osmand/data/index/DataIndexReader.java b/DataExtractionOSM/src/net/osmand/data/index/DataIndexReader.java
index 35cb11abcf..52c5e8d050 100644
--- a/DataExtractionOSM/src/net/osmand/data/index/DataIndexReader.java
+++ b/DataExtractionOSM/src/net/osmand/data/index/DataIndexReader.java
@@ -12,12 +12,12 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
-import net.osmand.LogUtil;
import net.osmand.data.Building;
import net.osmand.data.City;
import net.osmand.data.Street;
import net.osmand.data.City.CityType;
import net.osmand.osm.Node;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/DataExtractionOSM/src/net/osmand/data/index/DownloaderIndexFromGoogleCode.java b/DataExtractionOSM/src/net/osmand/data/index/DownloaderIndexFromGoogleCode.java
index f197a34f18..cc0953920d 100644
--- a/DataExtractionOSM/src/net/osmand/data/index/DownloaderIndexFromGoogleCode.java
+++ b/DataExtractionOSM/src/net/osmand/data/index/DownloaderIndexFromGoogleCode.java
@@ -21,7 +21,7 @@ import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
-import net.osmand.LogUtil;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/DataExtractionOSM/src/net/osmand/data/index/GoogleCodeUploadIndex.java b/DataExtractionOSM/src/net/osmand/data/index/GoogleCodeUploadIndex.java
index b276da1548..f08c1e904d 100644
--- a/DataExtractionOSM/src/net/osmand/data/index/GoogleCodeUploadIndex.java
+++ b/DataExtractionOSM/src/net/osmand/data/index/GoogleCodeUploadIndex.java
@@ -15,7 +15,7 @@ import java.net.MalformedURLException;
import java.net.URL;
import net.osmand.Base64;
-import net.osmand.LogUtil;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/DataExtractionOSM/src/net/osmand/data/preparation/MapTileDownloader.java b/DataExtractionOSM/src/net/osmand/data/preparation/MapTileDownloader.java
index 1b0cd3338a..f018b965cd 100644
--- a/DataExtractionOSM/src/net/osmand/data/preparation/MapTileDownloader.java
+++ b/DataExtractionOSM/src/net/osmand/data/preparation/MapTileDownloader.java
@@ -17,8 +17,8 @@ import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;
import net.osmand.Algoritms;
-import net.osmand.LogUtil;
import net.osmand.Version;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/DataExtractionOSM/src/net/osmand/impl/ConsoleProgressImplementation.java b/DataExtractionOSM/src/net/osmand/impl/ConsoleProgressImplementation.java
index cfc1d8e1f8..8fc4f22c72 100644
--- a/DataExtractionOSM/src/net/osmand/impl/ConsoleProgressImplementation.java
+++ b/DataExtractionOSM/src/net/osmand/impl/ConsoleProgressImplementation.java
@@ -4,7 +4,7 @@ import java.text.MessageFormat;
import net.osmand.Algoritms;
import net.osmand.IProgress;
-import net.osmand.LogUtil;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/DataExtractionOSM/src/net/osmand/map/TileSourceManager.java b/DataExtractionOSM/src/net/osmand/map/TileSourceManager.java
index 8bec721da4..8763ddb268 100644
--- a/DataExtractionOSM/src/net/osmand/map/TileSourceManager.java
+++ b/DataExtractionOSM/src/net/osmand/map/TileSourceManager.java
@@ -10,8 +10,8 @@ import java.util.ArrayList;
import java.util.regex.Pattern;
import net.osmand.Algoritms;
-import net.osmand.LogUtil;
import net.osmand.osm.MapUtils;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/DataExtractionOSM/src/net/osmand/osm/MapRenderingTypes.java b/DataExtractionOSM/src/net/osmand/osm/MapRenderingTypes.java
index b5c4dc1b8e..e9098ed6e7 100644
--- a/DataExtractionOSM/src/net/osmand/osm/MapRenderingTypes.java
+++ b/DataExtractionOSM/src/net/osmand/osm/MapRenderingTypes.java
@@ -16,9 +16,9 @@ import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
-import net.osmand.LogUtil;
import net.osmand.data.AmenityType;
import net.osmand.osm.OSMSettings.OSMTagKey;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
import org.xml.sax.Attributes;
diff --git a/DataExtractionOSM/src/net/osmand/render/OsmandRenderingRulesParser.java b/DataExtractionOSM/src/net/osmand/render/OsmandRenderingRulesParser.java
index aa9166226f..1708963cb5 100644
--- a/DataExtractionOSM/src/net/osmand/render/OsmandRenderingRulesParser.java
+++ b/DataExtractionOSM/src/net/osmand/render/OsmandRenderingRulesParser.java
@@ -11,8 +11,8 @@ import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
-import net.osmand.LogUtil;
import net.osmand.osm.MapRenderingTypes;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
import org.xml.sax.Attributes;
diff --git a/OsmAnd/AndroidManifest.xml b/OsmAnd/AndroidManifest.xml
index 19784422ea..2cb2770462 100644
--- a/OsmAnd/AndroidManifest.xml
+++ b/OsmAnd/AndroidManifest.xml
@@ -30,8 +30,8 @@
-
-
+
+
diff --git a/OsmAnd/res/layout-large/main.xml b/OsmAnd/res/layout-large/main.xml
index 63a580f101..5e46727e3c 100644
--- a/OsmAnd/res/layout-large/main.xml
+++ b/OsmAnd/res/layout-large/main.xml
@@ -3,8 +3,8 @@
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
-
-
+
diff --git a/OsmAnd/res/layout/main.xml b/OsmAnd/res/layout/main.xml
index 75e75e0a2f..ac0a87bb5f 100644
--- a/OsmAnd/res/layout/main.xml
+++ b/OsmAnd/res/layout/main.xml
@@ -3,11 +3,11 @@
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
-
+
-
diff --git a/OsmAnd/src/net/osmand/AmenityIndexRepository.java b/OsmAnd/src/net/osmand/plus/AmenityIndexRepository.java
similarity index 94%
rename from OsmAnd/src/net/osmand/AmenityIndexRepository.java
rename to OsmAnd/src/net/osmand/plus/AmenityIndexRepository.java
index bccc23692d..44c1e7e0cf 100644
--- a/OsmAnd/src/net/osmand/AmenityIndexRepository.java
+++ b/OsmAnd/src/net/osmand/plus/AmenityIndexRepository.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.util.List;
diff --git a/OsmAnd/src/net/osmand/AmenityIndexRepositoryBinary.java b/OsmAnd/src/net/osmand/plus/AmenityIndexRepositoryBinary.java
similarity index 96%
rename from OsmAnd/src/net/osmand/AmenityIndexRepositoryBinary.java
rename to OsmAnd/src/net/osmand/plus/AmenityIndexRepositoryBinary.java
index d31d70b365..aba6b5ead3 100644
--- a/OsmAnd/src/net/osmand/AmenityIndexRepositoryBinary.java
+++ b/OsmAnd/src/net/osmand/plus/AmenityIndexRepositoryBinary.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import gnu.trove.list.array.TIntArrayList;
@@ -6,8 +6,7 @@ import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
-import org.apache.commons.logging.Log;
-
+import net.osmand.Algoritms;
import net.osmand.binary.BinaryIndexPart;
import net.osmand.binary.BinaryMapDataObject;
import net.osmand.binary.BinaryMapIndexReader;
@@ -23,6 +22,8 @@ import net.osmand.osm.MapRenderingTypes;
import net.osmand.osm.MapUtils;
import net.sf.junidecode.Junidecode;
+import org.apache.commons.logging.Log;
+
public class AmenityIndexRepositoryBinary implements AmenityIndexRepository {
private final static Log log = LogUtil.getLog(AmenityIndexRepositoryBinary.class);
diff --git a/OsmAnd/src/net/osmand/AmenityIndexRepositoryOdb.java b/OsmAnd/src/net/osmand/plus/AmenityIndexRepositoryOdb.java
similarity index 96%
rename from OsmAnd/src/net/osmand/AmenityIndexRepositoryOdb.java
rename to OsmAnd/src/net/osmand/plus/AmenityIndexRepositoryOdb.java
index 3aadc579e5..c9b2f8db17 100644
--- a/OsmAnd/src/net/osmand/AmenityIndexRepositoryOdb.java
+++ b/OsmAnd/src/net/osmand/plus/AmenityIndexRepositoryOdb.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.File;
import java.io.IOException;
@@ -11,6 +11,8 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
+import net.osmand.Algoritms;
+import net.osmand.IProgress;
import net.osmand.data.Amenity;
import net.osmand.data.AmenityType;
import net.osmand.data.index.IndexConstants;
diff --git a/OsmAnd/src/net/osmand/BaseLocationIndexRepository.java b/OsmAnd/src/net/osmand/plus/BaseLocationIndexRepository.java
similarity index 96%
rename from OsmAnd/src/net/osmand/BaseLocationIndexRepository.java
rename to OsmAnd/src/net/osmand/plus/BaseLocationIndexRepository.java
index 87c6b590db..0d14e9189e 100644
--- a/OsmAnd/src/net/osmand/BaseLocationIndexRepository.java
+++ b/OsmAnd/src/net/osmand/plus/BaseLocationIndexRepository.java
@@ -1,9 +1,10 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
+import net.osmand.IProgress;
import net.osmand.data.MapObject;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
diff --git a/OsmAnd/src/net/osmand/BusyIndicator.java b/OsmAnd/src/net/osmand/plus/BusyIndicator.java
similarity index 94%
rename from OsmAnd/src/net/osmand/BusyIndicator.java
rename to OsmAnd/src/net/osmand/plus/BusyIndicator.java
index 8e80570990..fe19e212db 100644
--- a/OsmAnd/src/net/osmand/BusyIndicator.java
+++ b/OsmAnd/src/net/osmand/plus/BusyIndicator.java
@@ -1,5 +1,6 @@
-package net.osmand;
+package net.osmand.plus;
+import net.osmand.plus.R;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.os.Handler;
diff --git a/OsmAnd/src/net/osmand/CollatorStringMatcher.java b/OsmAnd/src/net/osmand/plus/CollatorStringMatcher.java
similarity index 92%
rename from OsmAnd/src/net/osmand/CollatorStringMatcher.java
rename to OsmAnd/src/net/osmand/plus/CollatorStringMatcher.java
index a079b0b961..99820a7fea 100644
--- a/OsmAnd/src/net/osmand/CollatorStringMatcher.java
+++ b/OsmAnd/src/net/osmand/plus/CollatorStringMatcher.java
@@ -1,7 +1,9 @@
-package net.osmand;
+package net.osmand.plus;
import java.text.Collator;
+import net.osmand.StringMatcher;
+
/**
* Abstract collator matcher that basically supports subclasses with some collator
* matching.
diff --git a/OsmAnd/src/net/osmand/ContainsStringMatcher.java b/OsmAnd/src/net/osmand/plus/ContainsStringMatcher.java
similarity index 91%
rename from OsmAnd/src/net/osmand/ContainsStringMatcher.java
rename to OsmAnd/src/net/osmand/plus/ContainsStringMatcher.java
index f067d3b5bd..f75f53b82d 100644
--- a/OsmAnd/src/net/osmand/ContainsStringMatcher.java
+++ b/OsmAnd/src/net/osmand/plus/ContainsStringMatcher.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.text.Collator;
diff --git a/OsmAnd/src/net/osmand/DownloadOsmandIndexesHelper.java b/OsmAnd/src/net/osmand/plus/DownloadOsmandIndexesHelper.java
similarity index 99%
rename from OsmAnd/src/net/osmand/DownloadOsmandIndexesHelper.java
rename to OsmAnd/src/net/osmand/plus/DownloadOsmandIndexesHelper.java
index 2e5857bb15..dc0b3c6597 100644
--- a/OsmAnd/src/net/osmand/DownloadOsmandIndexesHelper.java
+++ b/OsmAnd/src/net/osmand/plus/DownloadOsmandIndexesHelper.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.IOException;
import java.net.URL;
@@ -7,6 +7,7 @@ import java.util.Map;
import java.util.TreeMap;
import net.osmand.data.index.IndexConstants;
+import net.osmand.plus.R;
import org.apache.commons.logging.Log;
import org.xmlpull.v1.XmlPullParser;
diff --git a/OsmAnd/src/net/osmand/FavouritePoint.java b/OsmAnd/src/net/osmand/plus/FavouritePoint.java
similarity index 92%
rename from OsmAnd/src/net/osmand/FavouritePoint.java
rename to OsmAnd/src/net/osmand/plus/FavouritePoint.java
index 8ad9211345..26c519422d 100644
--- a/OsmAnd/src/net/osmand/FavouritePoint.java
+++ b/OsmAnd/src/net/osmand/plus/FavouritePoint.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
public class FavouritePoint {
private String name;
private double latitude;
diff --git a/OsmAnd/src/net/osmand/FavouritesDbHelper.java b/OsmAnd/src/net/osmand/plus/FavouritesDbHelper.java
similarity index 96%
rename from OsmAnd/src/net/osmand/FavouritesDbHelper.java
rename to OsmAnd/src/net/osmand/plus/FavouritesDbHelper.java
index f78f5aea07..6b4c37f135 100644
--- a/OsmAnd/src/net/osmand/FavouritesDbHelper.java
+++ b/OsmAnd/src/net/osmand/plus/FavouritesDbHelper.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.util.Collection;
import java.util.LinkedHashMap;
diff --git a/OsmAnd/src/net/osmand/GPXUtilities.java b/OsmAnd/src/net/osmand/plus/GPXUtilities.java
similarity index 96%
rename from OsmAnd/src/net/osmand/GPXUtilities.java
rename to OsmAnd/src/net/osmand/plus/GPXUtilities.java
index 56e9437a52..f7fa4c5888 100644
--- a/OsmAnd/src/net/osmand/GPXUtilities.java
+++ b/OsmAnd/src/net/osmand/plus/GPXUtilities.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.File;
import java.io.FileInputStream;
@@ -11,6 +11,9 @@ import java.util.List;
import java.util.Map;
import java.util.TimeZone;
+import net.osmand.Version;
+import net.osmand.plus.R;
+
import org.apache.commons.logging.Log;
import org.xmlpull.v1.XmlPullParser;
import org.xmlpull.v1.XmlPullParserException;
diff --git a/OsmAnd/src/net/osmand/LogUtil.java b/OsmAnd/src/net/osmand/plus/LogUtil.java
similarity index 95%
rename from OsmAnd/src/net/osmand/LogUtil.java
rename to OsmAnd/src/net/osmand/plus/LogUtil.java
index 0aef04c813..b5acdee174 100644
--- a/OsmAnd/src/net/osmand/LogUtil.java
+++ b/OsmAnd/src/net/osmand/plus/LogUtil.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/NameFinderPoiFilter.java b/OsmAnd/src/net/osmand/plus/NameFinderPoiFilter.java
similarity index 94%
rename from OsmAnd/src/net/osmand/NameFinderPoiFilter.java
rename to OsmAnd/src/net/osmand/plus/NameFinderPoiFilter.java
index 025892349a..1dcbfdc087 100644
--- a/OsmAnd/src/net/osmand/NameFinderPoiFilter.java
+++ b/OsmAnd/src/net/osmand/plus/NameFinderPoiFilter.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.IOException;
import java.io.InputStream;
@@ -7,10 +7,11 @@ import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.Messages;
import net.osmand.data.Amenity;
import net.osmand.data.AmenityType;
import net.osmand.osm.MapUtils;
+import net.osmand.plus.activities.OsmandApplication;
import net.sf.junidecode.Junidecode;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/NavigationService.java b/OsmAnd/src/net/osmand/plus/NavigationService.java
similarity index 92%
rename from OsmAnd/src/net/osmand/NavigationService.java
rename to OsmAnd/src/net/osmand/plus/NavigationService.java
index 324d9b7f57..9d4759ada2 100644
--- a/OsmAnd/src/net/osmand/NavigationService.java
+++ b/OsmAnd/src/net/osmand/plus/NavigationService.java
@@ -1,9 +1,11 @@
-package net.osmand;
+package net.osmand.plus;
-import net.osmand.activities.OsmandApplication;
-import net.osmand.activities.RoutingHelper;
-import net.osmand.activities.SavingTrackHelper;
+import net.osmand.Version;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.OsmandApplication;
+import net.osmand.plus.activities.RoutingHelper;
+import net.osmand.plus.activities.SavingTrackHelper;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
diff --git a/OsmAnd/src/net/osmand/OsmandSettings.java b/OsmAnd/src/net/osmand/plus/OsmandSettings.java
similarity index 97%
rename from OsmAnd/src/net/osmand/OsmandSettings.java
rename to OsmAnd/src/net/osmand/plus/OsmandSettings.java
index e2d86936ec..c9805ed564 100644
--- a/OsmAnd/src/net/osmand/OsmandSettings.java
+++ b/OsmAnd/src/net/osmand/plus/OsmandSettings.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.BufferedReader;
import java.io.File;
@@ -8,14 +8,14 @@ import java.io.InputStreamReader;
import java.util.List;
import java.util.regex.Pattern;
-
-import net.osmand.activities.OsmandApplication;
-import net.osmand.activities.RouteProvider.RouteService;
-import net.osmand.activities.search.SearchHistoryHelper;
import net.osmand.map.ITileSource;
import net.osmand.map.TileSourceManager;
import net.osmand.map.TileSourceManager.TileSourceTemplate;
import net.osmand.osm.LatLon;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.OsmandApplication;
+import net.osmand.plus.activities.RouteProvider.RouteService;
+import net.osmand.plus.activities.search.SearchHistoryHelper;
import android.content.Context;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
diff --git a/OsmAnd/src/net/osmand/PoiFilter.java b/OsmAnd/src/net/osmand/plus/PoiFilter.java
similarity index 94%
rename from OsmAnd/src/net/osmand/PoiFilter.java
rename to OsmAnd/src/net/osmand/plus/PoiFilter.java
index 2c43c93844..bbcdb6f388 100644
--- a/OsmAnd/src/net/osmand/PoiFilter.java
+++ b/OsmAnd/src/net/osmand/plus/PoiFilter.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.util.Collections;
import java.util.LinkedHashMap;
@@ -7,11 +7,12 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.Messages;
import net.osmand.data.Amenity;
import net.osmand.data.AmenityType;
import net.osmand.data.index.IndexConstants;
import net.osmand.osm.MapUtils;
+import net.osmand.plus.activities.OsmandApplication;
public class PoiFilter {
diff --git a/OsmAnd/src/net/osmand/PoiFiltersHelper.java b/OsmAnd/src/net/osmand/plus/PoiFiltersHelper.java
similarity index 96%
rename from OsmAnd/src/net/osmand/PoiFiltersHelper.java
rename to OsmAnd/src/net/osmand/plus/PoiFiltersHelper.java
index 4142e2122b..46de3873e3 100644
--- a/OsmAnd/src/net/osmand/PoiFiltersHelper.java
+++ b/OsmAnd/src/net/osmand/plus/PoiFiltersHelper.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.util.ArrayList;
import java.util.Collections;
@@ -7,8 +7,9 @@ import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.Messages;
import net.osmand.data.AmenityType;
+import net.osmand.plus.activities.OsmandApplication;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
diff --git a/OsmAnd/src/net/osmand/ProgressDialogImplementation.java b/OsmAnd/src/net/osmand/plus/ProgressDialogImplementation.java
similarity index 93%
rename from OsmAnd/src/net/osmand/ProgressDialogImplementation.java
rename to OsmAnd/src/net/osmand/plus/ProgressDialogImplementation.java
index 7a2457f765..9e55ecda16 100644
--- a/OsmAnd/src/net/osmand/ProgressDialogImplementation.java
+++ b/OsmAnd/src/net/osmand/plus/ProgressDialogImplementation.java
@@ -1,5 +1,7 @@
-package net.osmand;
+package net.osmand.plus;
+import net.osmand.IProgress;
+import net.osmand.plus.R;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.DialogInterface;
diff --git a/OsmAnd/src/net/osmand/RegionAddressRepository.java b/OsmAnd/src/net/osmand/plus/RegionAddressRepository.java
similarity index 95%
rename from OsmAnd/src/net/osmand/RegionAddressRepository.java
rename to OsmAnd/src/net/osmand/plus/RegionAddressRepository.java
index 63ade05b8b..cb5345ac54 100644
--- a/OsmAnd/src/net/osmand/RegionAddressRepository.java
+++ b/OsmAnd/src/net/osmand/plus/RegionAddressRepository.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.text.Collator;
import java.util.Comparator;
diff --git a/OsmAnd/src/net/osmand/RegionAddressRepositoryBinary.java b/OsmAnd/src/net/osmand/plus/RegionAddressRepositoryBinary.java
similarity index 94%
rename from OsmAnd/src/net/osmand/RegionAddressRepositoryBinary.java
rename to OsmAnd/src/net/osmand/plus/RegionAddressRepositoryBinary.java
index f2034bf09d..11311e476a 100644
--- a/OsmAnd/src/net/osmand/RegionAddressRepositoryBinary.java
+++ b/OsmAnd/src/net/osmand/plus/RegionAddressRepositoryBinary.java
@@ -1,14 +1,13 @@
-package net.osmand;
+package net.osmand.plus;
-import static net.osmand.CollatorStringMatcher.ccontains;
-import static net.osmand.CollatorStringMatcher.cstartsWith;
+import static net.osmand.plus.CollatorStringMatcher.ccontains;
+import static net.osmand.plus.CollatorStringMatcher.cstartsWith;
import java.io.IOException;
import java.text.Collator;
import java.util.Collection;
import java.util.LinkedHashMap;
import java.util.List;
-import java.util.Locale;
import java.util.Map;
import java.util.TreeMap;
diff --git a/OsmAnd/src/net/osmand/RegionAddressRepositoryOdb.java b/OsmAnd/src/net/osmand/plus/RegionAddressRepositoryOdb.java
similarity index 96%
rename from OsmAnd/src/net/osmand/RegionAddressRepositoryOdb.java
rename to OsmAnd/src/net/osmand/plus/RegionAddressRepositoryOdb.java
index 34f065d54f..6667e7689b 100644
--- a/OsmAnd/src/net/osmand/RegionAddressRepositoryOdb.java
+++ b/OsmAnd/src/net/osmand/plus/RegionAddressRepositoryOdb.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.File;
import java.text.Collator;
@@ -14,6 +14,8 @@ import java.util.Set;
import java.util.TreeMap;
import java.util.TreeSet;
+import net.osmand.Algoritms;
+import net.osmand.IProgress;
import net.osmand.data.Building;
import net.osmand.data.City;
import net.osmand.data.MapObject;
diff --git a/OsmAnd/src/net/osmand/ResourceManager.java b/OsmAnd/src/net/osmand/plus/ResourceManager.java
similarity index 96%
rename from OsmAnd/src/net/osmand/ResourceManager.java
rename to OsmAnd/src/net/osmand/plus/ResourceManager.java
index f990e5f535..99414aa65a 100644
--- a/OsmAnd/src/net/osmand/ResourceManager.java
+++ b/OsmAnd/src/net/osmand/plus/ResourceManager.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.File;
import java.io.IOException;
@@ -14,7 +14,8 @@ import java.util.Map;
import java.util.Stack;
import java.util.TreeMap;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.IProgress;
+import net.osmand.Messages;
import net.osmand.binary.BinaryMapIndexReader;
import net.osmand.data.Amenity;
import net.osmand.data.TransportStop;
@@ -25,10 +26,11 @@ import net.osmand.data.preparation.MapTileDownloader.IMapDownloaderCallback;
import net.osmand.map.ITileSource;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
-import net.osmand.render.BaseOsmandRender;
-import net.osmand.render.MapRenderRepositories;
-import net.osmand.render.RendererRegistry;
-import net.osmand.views.POIMapLayer;
+import net.osmand.plus.activities.OsmandApplication;
+import net.osmand.plus.render.BaseOsmandRender;
+import net.osmand.plus.render.MapRenderRepositories;
+import net.osmand.plus.render.RendererRegistry;
+import net.osmand.plus.views.POIMapLayer;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/RotatedTileBox.java b/OsmAnd/src/net/osmand/plus/RotatedTileBox.java
similarity index 95%
rename from OsmAnd/src/net/osmand/RotatedTileBox.java
rename to OsmAnd/src/net/osmand/plus/RotatedTileBox.java
index 22029ee184..f3bfac1a8d 100644
--- a/OsmAnd/src/net/osmand/RotatedTileBox.java
+++ b/OsmAnd/src/net/osmand/plus/RotatedTileBox.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import net.osmand.osm.MapUtils;
import android.graphics.PointF;
import android.graphics.RectF;
diff --git a/OsmAnd/src/net/osmand/SQLiteTileSource.java b/OsmAnd/src/net/osmand/plus/SQLiteTileSource.java
similarity index 95%
rename from OsmAnd/src/net/osmand/SQLiteTileSource.java
rename to OsmAnd/src/net/osmand/plus/SQLiteTileSource.java
index e6b04d4e26..6c82a9d2af 100644
--- a/OsmAnd/src/net/osmand/SQLiteTileSource.java
+++ b/OsmAnd/src/net/osmand/plus/SQLiteTileSource.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.File;
import java.io.FileInputStream;
@@ -6,6 +6,7 @@ import java.io.IOException;
import java.nio.ByteBuffer;
import java.text.MessageFormat;
+import net.osmand.Algoritms;
import net.osmand.map.ITileSource;
import net.osmand.map.TileSourceManager;
import net.osmand.map.TileSourceManager.TileSourceTemplate;
diff --git a/OsmAnd/src/net/osmand/TransportIndexRepository.java b/OsmAnd/src/net/osmand/plus/TransportIndexRepository.java
similarity index 95%
rename from OsmAnd/src/net/osmand/TransportIndexRepository.java
rename to OsmAnd/src/net/osmand/plus/TransportIndexRepository.java
index 10c2eb3fc8..ebc9e87cee 100644
--- a/OsmAnd/src/net/osmand/TransportIndexRepository.java
+++ b/OsmAnd/src/net/osmand/plus/TransportIndexRepository.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.util.List;
diff --git a/OsmAnd/src/net/osmand/TransportIndexRepositoryBinary.java b/OsmAnd/src/net/osmand/plus/TransportIndexRepositoryBinary.java
similarity index 97%
rename from OsmAnd/src/net/osmand/TransportIndexRepositoryBinary.java
rename to OsmAnd/src/net/osmand/plus/TransportIndexRepositoryBinary.java
index 84178145d8..9959a443a8 100644
--- a/OsmAnd/src/net/osmand/TransportIndexRepositoryBinary.java
+++ b/OsmAnd/src/net/osmand/plus/TransportIndexRepositoryBinary.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.IOException;
import java.text.MessageFormat;
diff --git a/OsmAnd/src/net/osmand/TransportIndexRepositoryOdb.java b/OsmAnd/src/net/osmand/plus/TransportIndexRepositoryOdb.java
similarity index 97%
rename from OsmAnd/src/net/osmand/TransportIndexRepositoryOdb.java
rename to OsmAnd/src/net/osmand/plus/TransportIndexRepositoryOdb.java
index d07efe4e0c..79660a66cd 100644
--- a/OsmAnd/src/net/osmand/TransportIndexRepositoryOdb.java
+++ b/OsmAnd/src/net/osmand/plus/TransportIndexRepositoryOdb.java
@@ -1,4 +1,4 @@
-package net.osmand;
+package net.osmand.plus;
import java.io.File;
import java.text.MessageFormat;
@@ -9,6 +9,7 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
+import net.osmand.IProgress;
import net.osmand.data.TransportRoute;
import net.osmand.data.TransportStop;
import net.osmand.data.index.IndexConstants;
diff --git a/OsmAnd/src/net/osmand/activities/DayNightHelper.java b/OsmAnd/src/net/osmand/plus/activities/DayNightHelper.java
similarity index 94%
rename from OsmAnd/src/net/osmand/activities/DayNightHelper.java
rename to OsmAnd/src/net/osmand/plus/activities/DayNightHelper.java
index 1e0c1f2dbf..b14d8d05ae 100644
--- a/OsmAnd/src/net/osmand/activities/DayNightHelper.java
+++ b/OsmAnd/src/net/osmand/plus/activities/DayNightHelper.java
@@ -1,13 +1,13 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.TimeZone;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.OsmandSettings.DayNightMode;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.OsmandSettings.DayNightMode;
import net.osmand.SunriseSunset;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/activities/DownloadIndexActivity.java b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/DownloadIndexActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java
index 36d02cdc80..fd393a661f 100644
--- a/OsmAnd/src/net/osmand/activities/DownloadIndexActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java
@@ -1,7 +1,6 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import static net.osmand.data.index.IndexConstants.ADDRESS_INDEX_EXT;
-import static net.osmand.DownloadOsmandIndexesHelper.IndexItem;
import static net.osmand.data.index.IndexConstants.ADDRESS_INDEX_EXT_ZIP;
import static net.osmand.data.index.IndexConstants.ADDRESS_TABLE_VERSION;
import static net.osmand.data.index.IndexConstants.BINARY_MAP_INDEX_EXT;
@@ -15,6 +14,7 @@ import static net.osmand.data.index.IndexConstants.TRANSPORT_INDEX_EXT_ZIP;
import static net.osmand.data.index.IndexConstants.TRANSPORT_TABLE_VERSION;
import static net.osmand.data.index.IndexConstants.VOICE_INDEX_EXT_ZIP;
import static net.osmand.data.index.IndexConstants.VOICE_VERSION;
+import static net.osmand.plus.DownloadOsmandIndexesHelper.IndexItem;
import java.io.File;
import java.io.FileInputStream;
@@ -40,12 +40,12 @@ import java.util.Map.Entry;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
-import net.osmand.DownloadOsmandIndexesHelper;
import net.osmand.IProgress;
-import net.osmand.LogUtil;
-import net.osmand.ProgressDialogImplementation;
-import net.osmand.R;
-import net.osmand.ResourceManager;
+import net.osmand.plus.DownloadOsmandIndexesHelper;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.ProgressDialogImplementation;
+import net.osmand.plus.R;
+import net.osmand.plus.ResourceManager;
import net.osmand.data.index.DownloaderIndexFromGoogleCode;
import net.osmand.data.index.IndexConstants;
@@ -743,7 +743,7 @@ public class DownloadIndexActivity extends ListActivity {
private final Map indexFiles;
public DownloadIndexAdapter(Map indexFiles) {
- super(DownloadIndexActivity.this, net.osmand.R.layout.download_index_list_item);
+ super(DownloadIndexActivity.this, net.osmand.plus.R.layout.download_index_list_item);
this.indexFiles = new LinkedHashMap(indexFiles);
for (Entry entry : indexFiles.entrySet()) {
add(entry.getValue());
@@ -759,7 +759,7 @@ public class DownloadIndexActivity extends ListActivity {
View v = convertView;
if (v == null) {
LayoutInflater inflater = getLayoutInflater();
- v = inflater.inflate(net.osmand.R.layout.download_index_list_item, parent, false);
+ v = inflater.inflate(net.osmand.plus.R.layout.download_index_list_item, parent, false);
}
final View row = v;
TextView item = (TextView) row.findViewById(R.id.download_item);
diff --git a/OsmAnd/src/net/osmand/activities/DownloadTilesDialog.java b/OsmAnd/src/net/osmand/plus/activities/DownloadTilesDialog.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/DownloadTilesDialog.java
rename to OsmAnd/src/net/osmand/plus/activities/DownloadTilesDialog.java
index 3da1322713..5d45de4aa9 100644
--- a/OsmAnd/src/net/osmand/activities/DownloadTilesDialog.java
+++ b/OsmAnd/src/net/osmand/plus/activities/DownloadTilesDialog.java
@@ -1,17 +1,17 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.text.MessageFormat;
import java.util.ArrayList;
-import net.osmand.LogUtil;
-import net.osmand.R;
-import net.osmand.ResourceManager;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.R;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.views.OsmandMapTileView;
import net.osmand.data.preparation.MapTileDownloader;
import net.osmand.data.preparation.MapTileDownloader.DownloadRequest;
import net.osmand.data.preparation.MapTileDownloader.IMapDownloaderCallback;
import net.osmand.map.ITileSource;
import net.osmand.osm.MapUtils;
-import net.osmand.views.OsmandMapTileView;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/activities/EditPOIFilterActivity.java b/OsmAnd/src/net/osmand/plus/activities/EditPOIFilterActivity.java
similarity index 94%
rename from OsmAnd/src/net/osmand/activities/EditPOIFilterActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/EditPOIFilterActivity.java
index bc38b57c33..6678de961a 100644
--- a/OsmAnd/src/net/osmand/activities/EditPOIFilterActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/EditPOIFilterActivity.java
@@ -1,17 +1,17 @@
/**
*
*/
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.text.MessageFormat;
import java.util.LinkedHashSet;
import java.util.Set;
-import net.osmand.OsmandSettings;
-import net.osmand.PoiFilter;
-import net.osmand.PoiFiltersHelper;
-import net.osmand.R;
-import net.osmand.activities.search.SearchPOIActivity;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.PoiFilter;
+import net.osmand.plus.PoiFiltersHelper;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.search.SearchPOIActivity;
import net.osmand.data.AmenityType;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapRenderingTypes;
diff --git a/OsmAnd/src/net/osmand/activities/EditingPOIActivity.java b/OsmAnd/src/net/osmand/plus/activities/EditingPOIActivity.java
similarity index 96%
rename from OsmAnd/src/net/osmand/activities/EditingPOIActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/EditingPOIActivity.java
index f2766d71d8..c31b6ade1b 100644
--- a/OsmAnd/src/net/osmand/activities/EditingPOIActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/EditingPOIActivity.java
@@ -1,4 +1,4 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.io.BufferedReader;
import java.io.BufferedWriter;
@@ -19,12 +19,13 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
-import net.osmand.AmenityIndexRepository;
-import net.osmand.AmenityIndexRepositoryOdb;
import net.osmand.Base64;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
+import net.osmand.plus.AmenityIndexRepository;
+import net.osmand.plus.AmenityIndexRepositoryOdb;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.views.OsmandMapTileView;
import net.osmand.Version;
import net.osmand.data.Amenity;
import net.osmand.data.AmenityType;
@@ -40,7 +41,6 @@ import net.osmand.osm.OSMSettings.OSMTagKey;
import net.osmand.osm.OpeningHoursParser.BasicDayOpeningHourRule;
import net.osmand.osm.OpeningHoursParser.OpeningHoursRule;
import net.osmand.osm.io.OsmBaseStorage;
-import net.osmand.views.OsmandMapTileView;
import org.apache.commons.logging.Log;
import org.apache.http.HttpResponse;
diff --git a/OsmAnd/src/net/osmand/activities/FavouritesActivity.java b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java
similarity index 93%
rename from OsmAnd/src/net/osmand/activities/FavouritesActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java
index fe0cd93e1c..9afb7b4091 100644
--- a/OsmAnd/src/net/osmand/activities/FavouritesActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/FavouritesActivity.java
@@ -1,7 +1,7 @@
/**
*
*/
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.io.File;
import java.text.MessageFormat;
@@ -11,14 +11,14 @@ import java.util.LinkedHashSet;
import java.util.List;
import java.util.Set;
-import net.osmand.FavouritePoint;
-import net.osmand.FavouritesDbHelper;
-import net.osmand.GPXUtilities;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.ResourceManager;
-import net.osmand.GPXUtilities.GPXFileResult;
-import net.osmand.GPXUtilities.WptPt;
+import net.osmand.plus.FavouritePoint;
+import net.osmand.plus.FavouritesDbHelper;
+import net.osmand.plus.GPXUtilities;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.GPXUtilities.GPXFileResult;
+import net.osmand.plus.GPXUtilities.WptPt;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
import android.app.AlertDialog;
diff --git a/OsmAnd/src/net/osmand/activities/MainMenuActivity.java b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/MainMenuActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java
index 3b2d6f03dc..13d1ea66e7 100644
--- a/OsmAnd/src/net/osmand/activities/MainMenuActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/MainMenuActivity.java
@@ -1,12 +1,12 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.io.File;
import java.text.MessageFormat;
-import net.osmand.R;
-import net.osmand.ResourceManager;
+import net.osmand.plus.R;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.activities.search.SearchActivity;
import net.osmand.Version;
-import net.osmand.activities.search.SearchActivity;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
diff --git a/OsmAnd/src/net/osmand/activities/MapActivity.java b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java
similarity index 94%
rename from OsmAnd/src/net/osmand/activities/MapActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/MapActivity.java
index 1aebdec97d..98c4199944 100644
--- a/OsmAnd/src/net/osmand/activities/MapActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/MapActivity.java
@@ -1,4 +1,4 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.io.File;
import java.text.MessageFormat;
@@ -12,26 +12,43 @@ import java.util.List;
import java.util.Map;
import net.osmand.Algoritms;
-import net.osmand.AmenityIndexRepository;
-import net.osmand.AmenityIndexRepositoryOdb;
-import net.osmand.BusyIndicator;
-import net.osmand.FavouritePoint;
-import net.osmand.FavouritesDbHelper;
-import net.osmand.GPXUtilities;
-import net.osmand.GPXUtilities.GPXFileResult;
-import net.osmand.GPXUtilities.WptPt;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.OsmandSettings.ApplicationMode;
-import net.osmand.PoiFilter;
-import net.osmand.PoiFiltersHelper;
-import net.osmand.R;
-import net.osmand.ResourceManager;
-import net.osmand.SQLiteTileSource;
+import net.osmand.plus.AmenityIndexRepository;
+import net.osmand.plus.AmenityIndexRepositoryOdb;
+import net.osmand.plus.BusyIndicator;
+import net.osmand.plus.FavouritePoint;
+import net.osmand.plus.FavouritesDbHelper;
+import net.osmand.plus.GPXUtilities;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.PoiFilter;
+import net.osmand.plus.PoiFiltersHelper;
+import net.osmand.plus.R;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.SQLiteTileSource;
+import net.osmand.plus.GPXUtilities.GPXFileResult;
+import net.osmand.plus.GPXUtilities.WptPt;
+import net.osmand.plus.OsmandSettings.ApplicationMode;
+import net.osmand.plus.activities.search.SearchActivity;
+import net.osmand.plus.activities.search.SearchPoiFilterActivity;
+import net.osmand.plus.activities.search.SearchTransportActivity;
+import net.osmand.plus.render.MapRenderRepositories;
+import net.osmand.plus.render.RendererLayer;
+import net.osmand.plus.views.AnimateDraggingMapThread;
+import net.osmand.plus.views.ContextMenuLayer;
+import net.osmand.plus.views.FavoritesLayer;
+import net.osmand.plus.views.GPXLayer;
+import net.osmand.plus.views.MapInfoLayer;
+import net.osmand.plus.views.OsmBugsLayer;
+import net.osmand.plus.views.OsmandMapTileView;
+import net.osmand.plus.views.POIMapLayer;
+import net.osmand.plus.views.PointLocationLayer;
+import net.osmand.plus.views.PointNavigationLayer;
+import net.osmand.plus.views.RouteInfoLayer;
+import net.osmand.plus.views.RouteLayer;
+import net.osmand.plus.views.TransportInfoLayer;
+import net.osmand.plus.views.TransportStopsLayer;
+import net.osmand.plus.views.YandexTrafficLayer;
import net.osmand.Version;
-import net.osmand.activities.search.SearchActivity;
-import net.osmand.activities.search.SearchPoiFilterActivity;
-import net.osmand.activities.search.SearchTransportActivity;
import net.osmand.data.Amenity;
import net.osmand.data.AmenityType;
import net.osmand.data.preparation.MapTileDownloader;
@@ -41,23 +58,6 @@ import net.osmand.map.IMapLocationListener;
import net.osmand.map.ITileSource;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
-import net.osmand.render.MapRenderRepositories;
-import net.osmand.render.RendererLayer;
-import net.osmand.views.AnimateDraggingMapThread;
-import net.osmand.views.ContextMenuLayer;
-import net.osmand.views.FavoritesLayer;
-import net.osmand.views.GPXLayer;
-import net.osmand.views.MapInfoLayer;
-import net.osmand.views.OsmBugsLayer;
-import net.osmand.views.OsmandMapTileView;
-import net.osmand.views.POIMapLayer;
-import net.osmand.views.PointLocationLayer;
-import net.osmand.views.PointNavigationLayer;
-import net.osmand.views.RouteInfoLayer;
-import net.osmand.views.RouteLayer;
-import net.osmand.views.TransportInfoLayer;
-import net.osmand.views.TransportStopsLayer;
-import net.osmand.views.YandexTrafficLayer;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
@@ -1430,7 +1430,7 @@ public class MapActivity extends Activity implements IMapLocationListener, Senso
});
} else {
OsmandSettings.setShowingFavorites(MapActivity.this, true);
- List pts = new ArrayList();
+ List pts = new ArrayList();
for(WptPt p : res.wayPoints){
FavouritePoint pt = new FavouritePoint();
pt.setLatitude(p.lat);
diff --git a/OsmAnd/src/net/osmand/activities/NavigatePointActivity.java b/OsmAnd/src/net/osmand/plus/activities/NavigatePointActivity.java
similarity index 94%
rename from OsmAnd/src/net/osmand/activities/NavigatePointActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/NavigatePointActivity.java
index d3c940edce..a14e1fcd95 100644
--- a/OsmAnd/src/net/osmand/activities/NavigatePointActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/NavigatePointActivity.java
@@ -1,16 +1,16 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.MessageFormat;
import java.util.Locale;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.views.OsmandMapTileView;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
-import net.osmand.views.OsmandMapTileView;
import android.app.Activity;
import android.app.Dialog;
import android.content.Intent;
diff --git a/OsmAnd/src/net/osmand/activities/OpeningHoursView.java b/OsmAnd/src/net/osmand/plus/activities/OpeningHoursView.java
similarity index 96%
rename from OsmAnd/src/net/osmand/activities/OpeningHoursView.java
rename to OsmAnd/src/net/osmand/plus/activities/OpeningHoursView.java
index 6e305080a1..f8545424ee 100644
--- a/OsmAnd/src/net/osmand/activities/OpeningHoursView.java
+++ b/OsmAnd/src/net/osmand/plus/activities/OpeningHoursView.java
@@ -1,11 +1,11 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.List;
-import net.osmand.R;
+import net.osmand.plus.R;
import net.osmand.osm.OpeningHoursParser.BasicDayOpeningHourRule;
import net.osmand.osm.OpeningHoursParser.OpeningHoursRule;
import android.app.AlertDialog;
diff --git a/OsmAnd/src/net/osmand/activities/OsmandApplication.java b/OsmAnd/src/net/osmand/plus/activities/OsmandApplication.java
similarity index 93%
rename from OsmAnd/src/net/osmand/activities/OsmandApplication.java
rename to OsmAnd/src/net/osmand/plus/activities/OsmandApplication.java
index e0d9cdc0bd..850fec5f68 100644
--- a/OsmAnd/src/net/osmand/activities/OsmandApplication.java
+++ b/OsmAnd/src/net/osmand/plus/activities/OsmandApplication.java
@@ -1,4 +1,4 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.io.BufferedWriter;
import java.io.ByteArrayOutputStream;
@@ -9,14 +9,14 @@ import java.lang.Thread.UncaughtExceptionHandler;
import java.util.List;
import net.osmand.Algoritms;
-import net.osmand.FavouritesDbHelper;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.PoiFiltersHelper;
-import net.osmand.ProgressDialogImplementation;
-import net.osmand.R;
-import net.osmand.ResourceManager;
-import net.osmand.voice.CommandPlayer;
+import net.osmand.plus.FavouritesDbHelper;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.PoiFiltersHelper;
+import net.osmand.plus.ProgressDialogImplementation;
+import net.osmand.plus.R;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.voice.CommandPlayer;
import android.app.AlertDialog;
import android.app.Application;
import android.app.ProgressDialog;
diff --git a/OsmAnd/src/net/osmand/activities/RouteProvider.java b/OsmAnd/src/net/osmand/plus/activities/RouteProvider.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/RouteProvider.java
rename to OsmAnd/src/net/osmand/plus/activities/RouteProvider.java
index ceca2d56e3..a5377c1ebb 100644
--- a/OsmAnd/src/net/osmand/activities/RouteProvider.java
+++ b/OsmAnd/src/net/osmand/plus/activities/RouteProvider.java
@@ -1,4 +1,4 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.io.IOException;
import java.io.InputStreamReader;
@@ -15,11 +15,12 @@ import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.FactoryConfigurationError;
import javax.xml.parsers.ParserConfigurationException;
-import net.osmand.LogUtil;
-import net.osmand.R;
-import net.osmand.OsmandSettings.ApplicationMode;
-import net.osmand.activities.RoutingHelper.RouteDirectionInfo;
-import net.osmand.activities.RoutingHelper.TurnType;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.R;
+import net.osmand.plus.OsmandSettings.ApplicationMode;
+import net.osmand.plus.activities.RoutingHelper.RouteDirectionInfo;
+import net.osmand.plus.activities.RoutingHelper.TurnType;
+import net.osmand.plus.render.MapRenderRepositories;
import net.osmand.binary.BinaryMapIndexReader;
import net.osmand.binary.BinaryRouteDataReader;
import net.osmand.binary.BinaryRouteDataReader.RouteSegment;
@@ -27,7 +28,6 @@ import net.osmand.binary.BinaryRouteDataReader.RouteSegmentResult;
import net.osmand.binary.BinaryRouteDataReader.RoutingContext;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
-import net.osmand.render.MapRenderRepositories;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
diff --git a/OsmAnd/src/net/osmand/activities/RoutingHelper.java b/OsmAnd/src/net/osmand/plus/activities/RoutingHelper.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/RoutingHelper.java
rename to OsmAnd/src/net/osmand/plus/activities/RoutingHelper.java
index 3657fed2b1..1efd2fc2e5 100644
--- a/OsmAnd/src/net/osmand/activities/RoutingHelper.java
+++ b/OsmAnd/src/net/osmand/plus/activities/RoutingHelper.java
@@ -1,18 +1,18 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.OsmandSettings.ApplicationMode;
-import net.osmand.activities.RouteProvider.RouteCalculationResult;
-import net.osmand.activities.RouteProvider.RouteService;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.OsmandSettings.ApplicationMode;
+import net.osmand.plus.activities.RouteProvider.RouteCalculationResult;
+import net.osmand.plus.activities.RouteProvider.RouteService;
+import net.osmand.plus.voice.CommandPlayer;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
-import net.osmand.voice.CommandPlayer;
import android.app.Activity;
import android.content.Context;
import android.location.Location;
diff --git a/OsmAnd/src/net/osmand/activities/SavingTrackHelper.java b/OsmAnd/src/net/osmand/plus/activities/SavingTrackHelper.java
similarity index 93%
rename from OsmAnd/src/net/osmand/activities/SavingTrackHelper.java
rename to OsmAnd/src/net/osmand/plus/activities/SavingTrackHelper.java
index ae49d0e4e6..6cd00db5a8 100644
--- a/OsmAnd/src/net/osmand/activities/SavingTrackHelper.java
+++ b/OsmAnd/src/net/osmand/plus/activities/SavingTrackHelper.java
@@ -1,4 +1,4 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.io.File;
import java.util.ArrayList;
@@ -6,11 +6,11 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
-import net.osmand.GPXUtilities;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.ResourceManager;
-import net.osmand.GPXUtilities.TrkPt;
+import net.osmand.plus.GPXUtilities;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.GPXUtilities.TrkPt;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/activities/SettingsActivity.java b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/SettingsActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java
index f292f4bd9a..93bdf5bcb6 100644
--- a/OsmAnd/src/net/osmand/activities/SettingsActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/SettingsActivity.java
@@ -1,4 +1,4 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.io.File;
import java.util.Arrays;
@@ -10,20 +10,20 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
-import net.osmand.NavigationService;
-import net.osmand.OsmandSettings;
-import net.osmand.OsmandSettings.ApplicationMode;
-import net.osmand.OsmandSettings.DayNightMode;
-import net.osmand.PoiFiltersHelper;
-import net.osmand.ProgressDialogImplementation;
-import net.osmand.R;
-import net.osmand.ResourceManager;
-import net.osmand.SQLiteTileSource;
-import net.osmand.activities.RouteProvider.RouteService;
+import net.osmand.plus.NavigationService;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.PoiFiltersHelper;
+import net.osmand.plus.ProgressDialogImplementation;
+import net.osmand.plus.R;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.SQLiteTileSource;
+import net.osmand.plus.OsmandSettings.ApplicationMode;
+import net.osmand.plus.OsmandSettings.DayNightMode;
+import net.osmand.plus.activities.RouteProvider.RouteService;
+import net.osmand.plus.render.BaseOsmandRender;
+import net.osmand.plus.render.RendererRegistry;
import net.osmand.map.TileSourceManager;
import net.osmand.map.TileSourceManager.TileSourceTemplate;
-import net.osmand.render.BaseOsmandRender;
-import net.osmand.render.RendererRegistry;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
diff --git a/OsmAnd/src/net/osmand/activities/ShowRouteInfoActivity.java b/OsmAnd/src/net/osmand/plus/activities/ShowRouteInfoActivity.java
similarity index 91%
rename from OsmAnd/src/net/osmand/activities/ShowRouteInfoActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/ShowRouteInfoActivity.java
index 5cfc0dd467..dba30769cf 100644
--- a/OsmAnd/src/net/osmand/activities/ShowRouteInfoActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/ShowRouteInfoActivity.java
@@ -1,17 +1,17 @@
/**
*
*/
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.text.MessageFormat;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.activities.RoutingHelper.RouteDirectionInfo;
-import net.osmand.activities.RoutingHelper.TurnType;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.RoutingHelper.RouteDirectionInfo;
+import net.osmand.plus.activities.RoutingHelper.TurnType;
+import net.osmand.plus.views.MapInfoLayer;
import net.osmand.osm.MapUtils;
-import net.osmand.views.MapInfoLayer;
import android.app.ListActivity;
import android.content.Intent;
import android.graphics.Canvas;
diff --git a/OsmAnd/src/net/osmand/activities/TransportRouteHelper.java b/OsmAnd/src/net/osmand/plus/activities/TransportRouteHelper.java
similarity index 82%
rename from OsmAnd/src/net/osmand/activities/TransportRouteHelper.java
rename to OsmAnd/src/net/osmand/plus/activities/TransportRouteHelper.java
index de7da4d868..337a2c5b46 100644
--- a/OsmAnd/src/net/osmand/activities/TransportRouteHelper.java
+++ b/OsmAnd/src/net/osmand/plus/activities/TransportRouteHelper.java
@@ -1,9 +1,9 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.TransportIndexRepository.RouteInfoLocation;
+import net.osmand.plus.TransportIndexRepository.RouteInfoLocation;
public class TransportRouteHelper {
diff --git a/OsmAnd/src/net/osmand/activities/VoiceRouter.java b/OsmAnd/src/net/osmand/plus/activities/VoiceRouter.java
similarity index 92%
rename from OsmAnd/src/net/osmand/activities/VoiceRouter.java
rename to OsmAnd/src/net/osmand/plus/activities/VoiceRouter.java
index dbc9984a3f..ca30ef9c95 100644
--- a/OsmAnd/src/net/osmand/activities/VoiceRouter.java
+++ b/OsmAnd/src/net/osmand/plus/activities/VoiceRouter.java
@@ -1,10 +1,10 @@
-package net.osmand.activities;
+package net.osmand.plus.activities;
-import net.osmand.OsmandSettings.ApplicationMode;
-import net.osmand.activities.RoutingHelper.RouteDirectionInfo;
-import net.osmand.activities.RoutingHelper.TurnType;
-import net.osmand.voice.CommandPlayer;
-import net.osmand.voice.CommandPlayer.CommandBuilder;
+import net.osmand.plus.OsmandSettings.ApplicationMode;
+import net.osmand.plus.activities.RoutingHelper.RouteDirectionInfo;
+import net.osmand.plus.activities.RoutingHelper.TurnType;
+import net.osmand.plus.voice.CommandPlayer;
+import net.osmand.plus.voice.CommandPlayer.CommandBuilder;
public class VoiceRouter {
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchActivity.java
similarity index 91%
rename from OsmAnd/src/net/osmand/activities/search/SearchActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchActivity.java
index 2be13b57f3..85117d2d90 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchActivity.java
@@ -1,10 +1,10 @@
/**
*
*/
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
-import net.osmand.R;
-import net.osmand.activities.NavigatePointActivity;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.NavigatePointActivity;
import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchAddressActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchAddressActivity.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/search/SearchAddressActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchAddressActivity.java
index ea8a2ecf9c..a2c9cd2463 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchAddressActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchAddressActivity.java
@@ -1,13 +1,13 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.text.MessageFormat;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.RegionAddressRepository;
-import net.osmand.activities.MapActivity;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.RegionAddressRepository;
+import net.osmand.plus.activities.MapActivity;
+import net.osmand.plus.activities.OsmandApplication;
import net.osmand.data.Building;
import net.osmand.data.City;
import net.osmand.data.MapObject;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchAddressOnlineActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchAddressOnlineActivity.java
similarity index 94%
rename from OsmAnd/src/net/osmand/activities/search/SearchAddressOnlineActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchAddressOnlineActivity.java
index 743886942a..cd81e20929 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchAddressOnlineActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchAddressOnlineActivity.java
@@ -1,4 +1,4 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.io.InputStream;
import java.net.URL;
@@ -9,11 +9,11 @@ import java.util.List;
import java.util.Locale;
import net.osmand.Algoritms;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.MapActivity;
import net.osmand.Version;
-import net.osmand.activities.MapActivity;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchBuildingByNameActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchBuildingByNameActivity.java
similarity index 86%
rename from OsmAnd/src/net/osmand/activities/search/SearchBuildingByNameActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchBuildingByNameActivity.java
index e2316cbec0..bee03d630a 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchBuildingByNameActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchBuildingByNameActivity.java
@@ -1,12 +1,12 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.RegionAddressRepository;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.RegionAddressRepository;
+import net.osmand.plus.activities.OsmandApplication;
import net.osmand.data.Building;
import net.osmand.data.City;
import net.osmand.data.PostCode;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchByNameAbstractActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchByNameAbstractActivity.java
similarity index 94%
rename from OsmAnd/src/net/osmand/activities/search/SearchByNameAbstractActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchByNameAbstractActivity.java
index 111c10babd..8fcfd0d408 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchByNameAbstractActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchByNameAbstractActivity.java
@@ -1,8 +1,8 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.List;
-import net.osmand.R;
+import net.osmand.plus.R;
import android.app.ListActivity;
import android.os.Bundle;
import android.os.Handler;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchCityByNameActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java
similarity index 87%
rename from OsmAnd/src/net/osmand/activities/search/SearchCityByNameActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java
index a8ec73c964..5bd0c475e1 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchCityByNameActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchCityByNameActivity.java
@@ -1,12 +1,12 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.RegionAddressRepository;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.RegionAddressRepository;
+import net.osmand.plus.activities.OsmandApplication;
import net.osmand.data.City;
import net.osmand.data.MapObject;
import net.osmand.data.PostCode;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchHistoryActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryActivity.java
similarity index 92%
rename from OsmAnd/src/net/osmand/activities/search/SearchHistoryActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryActivity.java
index 705b21cbc4..b6acc074f0 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchHistoryActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryActivity.java
@@ -1,11 +1,11 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.activities.MapActivity;
-import net.osmand.activities.search.SearchHistoryHelper.HistoryEntry;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.MapActivity;
+import net.osmand.plus.activities.search.SearchHistoryHelper.HistoryEntry;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
import android.app.AlertDialog;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchHistoryHelper.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryHelper.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/search/SearchHistoryHelper.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryHelper.java
index e7c62f5ffc..4c7b5ee3c8 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchHistoryHelper.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchHistoryHelper.java
@@ -1,4 +1,4 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.ArrayList;
import java.util.List;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchPOIActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/search/SearchPOIActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java
index 44ab649f02..718f7ba106 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchPOIActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java
@@ -1,7 +1,7 @@
/**
*
*/
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.ArrayList;
import java.util.Calendar;
@@ -9,13 +9,13 @@ import java.util.Collection;
import java.util.List;
import net.osmand.Algoritms;
-import net.osmand.LogUtil;
-import net.osmand.NameFinderPoiFilter;
-import net.osmand.OsmandSettings;
-import net.osmand.PoiFilter;
-import net.osmand.R;
-import net.osmand.activities.MapActivity;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.NameFinderPoiFilter;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.PoiFilter;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.MapActivity;
+import net.osmand.plus.activities.OsmandApplication;
import net.osmand.data.Amenity;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchPoiFilterActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchPoiFilterActivity.java
similarity index 91%
rename from OsmAnd/src/net/osmand/activities/search/SearchPoiFilterActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchPoiFilterActivity.java
index 9bb5e3c79e..6839dab9e8 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchPoiFilterActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchPoiFilterActivity.java
@@ -1,17 +1,17 @@
/**
*
*/
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.PoiFilter;
-import net.osmand.PoiFiltersHelper;
-import net.osmand.R;
-import net.osmand.activities.EditPOIFilterActivity;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.PoiFilter;
+import net.osmand.plus.PoiFiltersHelper;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.EditPOIFilterActivity;
+import net.osmand.plus.activities.OsmandApplication;
import net.osmand.osm.LatLon;
import android.app.AlertDialog;
import android.app.ListActivity;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchRegionByNameActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchRegionByNameActivity.java
similarity index 82%
rename from OsmAnd/src/net/osmand/activities/search/SearchRegionByNameActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchRegionByNameActivity.java
index ca7ced3aeb..fbc4050dfb 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchRegionByNameActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchRegionByNameActivity.java
@@ -1,12 +1,12 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.RegionAddressRepository;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.RegionAddressRepository;
+import net.osmand.plus.activities.OsmandApplication;
import android.os.Bundle;
import android.widget.TextView;
import android.widget.Toast;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchStreet2ByNameActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchStreet2ByNameActivity.java
similarity index 90%
rename from OsmAnd/src/net/osmand/activities/search/SearchStreet2ByNameActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchStreet2ByNameActivity.java
index ea3e6beaf9..46cd65c26d 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchStreet2ByNameActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchStreet2ByNameActivity.java
@@ -1,12 +1,12 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.RegionAddressRepository;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.RegionAddressRepository;
+import net.osmand.plus.activities.OsmandApplication;
import net.osmand.data.City;
import net.osmand.data.PostCode;
import net.osmand.data.Street;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchStreetByNameActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchStreetByNameActivity.java
similarity index 85%
rename from OsmAnd/src/net/osmand/activities/search/SearchStreetByNameActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchStreetByNameActivity.java
index c65e52281a..05e3e1ab4e 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchStreetByNameActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchStreetByNameActivity.java
@@ -1,12 +1,12 @@
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.RegionAddressRepository;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.RegionAddressRepository;
+import net.osmand.plus.activities.OsmandApplication;
import net.osmand.data.City;
import net.osmand.data.PostCode;
import net.osmand.data.Street;
diff --git a/OsmAnd/src/net/osmand/activities/search/SearchTransportActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchTransportActivity.java
similarity index 95%
rename from OsmAnd/src/net/osmand/activities/search/SearchTransportActivity.java
rename to OsmAnd/src/net/osmand/plus/activities/search/SearchTransportActivity.java
index d497b73974..d03ee16fca 100644
--- a/OsmAnd/src/net/osmand/activities/search/SearchTransportActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchTransportActivity.java
@@ -1,7 +1,7 @@
/**
*
*/
-package net.osmand.activities.search;
+package net.osmand.plus.activities.search;
import java.text.MessageFormat;
import java.util.ArrayList;
@@ -9,12 +9,12 @@ import java.util.List;
import net.osmand.Algoritms;
import net.osmand.Messages;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.TransportIndexRepository;
-import net.osmand.TransportIndexRepository.RouteInfoLocation;
-import net.osmand.activities.OsmandApplication;
-import net.osmand.activities.TransportRouteHelper;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.TransportIndexRepository;
+import net.osmand.plus.TransportIndexRepository.RouteInfoLocation;
+import net.osmand.plus.activities.OsmandApplication;
+import net.osmand.plus.activities.TransportRouteHelper;
import net.osmand.data.TransportRoute;
import net.osmand.data.TransportStop;
import net.osmand.osm.LatLon;
diff --git a/OsmAnd/src/net/osmand/render/BaseOsmandRender.java b/OsmAnd/src/net/osmand/plus/render/BaseOsmandRender.java
similarity index 94%
rename from OsmAnd/src/net/osmand/render/BaseOsmandRender.java
rename to OsmAnd/src/net/osmand/plus/render/BaseOsmandRender.java
index cce4c36636..2948c529fe 100644
--- a/OsmAnd/src/net/osmand/render/BaseOsmandRender.java
+++ b/OsmAnd/src/net/osmand/plus/render/BaseOsmandRender.java
@@ -1,4 +1,4 @@
-package net.osmand.render;
+package net.osmand.plus.render;
import java.io.IOException;
import java.io.InputStream;
@@ -7,9 +7,10 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
-import net.osmand.LogUtil;
-import net.osmand.render.OsmandRenderer.RenderingContext;
-import net.osmand.render.OsmandRenderer.RenderingPaintProperties;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.render.OsmandRenderer.RenderingContext;
+import net.osmand.plus.render.OsmandRenderer.RenderingPaintProperties;
+import net.osmand.render.OsmandRenderingRulesParser;
import net.osmand.render.OsmandRenderingRulesParser.EffectAttributes;
import net.osmand.render.OsmandRenderingRulesParser.FilterState;
import net.osmand.render.OsmandRenderingRulesParser.RenderingRuleVisitor;
diff --git a/OsmAnd/src/net/osmand/render/MapRenderRepositories.java b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java
similarity index 96%
rename from OsmAnd/src/net/osmand/render/MapRenderRepositories.java
rename to OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java
index 8e1e8edc59..d0d4eb11b6 100644
--- a/OsmAnd/src/net/osmand/render/MapRenderRepositories.java
+++ b/OsmAnd/src/net/osmand/plus/render/MapRenderRepositories.java
@@ -1,4 +1,4 @@
-package net.osmand.render;
+package net.osmand.plus.render;
import gnu.trove.list.array.TIntArrayList;
import gnu.trove.map.TIntByteMap;
@@ -20,11 +20,12 @@ import java.util.Map;
import java.util.Set;
import net.osmand.IProgress;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.RotatedTileBox;
-import net.osmand.activities.OsmandApplication;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.RotatedTileBox;
+import net.osmand.plus.activities.OsmandApplication;
+import net.osmand.plus.render.OsmandRenderer.RenderingContext;
import net.osmand.binary.BinaryMapDataObject;
import net.osmand.binary.BinaryMapIndexReader;
import net.osmand.binary.BinaryMapIndexReader.SearchRequest;
@@ -34,7 +35,6 @@ import net.osmand.data.preparation.MapTileDownloader.IMapDownloaderCallback;
import net.osmand.osm.MapRenderingTypes;
import net.osmand.osm.MapUtils;
import net.osmand.osm.MultyPolygon;
-import net.osmand.render.OsmandRenderer.RenderingContext;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/render/OsmandRenderer.java b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java
similarity index 96%
rename from OsmAnd/src/net/osmand/render/OsmandRenderer.java
rename to OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java
index 36fa136e95..2b121ebdec 100644
--- a/OsmAnd/src/net/osmand/render/OsmandRenderer.java
+++ b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java
@@ -1,4 +1,4 @@
-package net.osmand.render;
+package net.osmand.plus.render;
import gnu.trove.list.array.TIntArrayList;
import gnu.trove.map.hash.TFloatObjectHashMap;
@@ -11,12 +11,12 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
-import net.osmand.LogUtil;
import net.osmand.binary.BinaryMapDataObject;
import net.osmand.binary.BinaryMapIndexReader.TagValuePair;
import net.osmand.data.preparation.MapTileDownloader.IMapDownloaderCallback;
import net.osmand.osm.MapRenderingTypes;
import net.osmand.osm.MultyPolygon;
+import net.osmand.plus.LogUtil;
import net.sf.junidecode.Junidecode;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/render/PerformanceFlags.java b/OsmAnd/src/net/osmand/plus/render/PerformanceFlags.java
similarity index 88%
rename from OsmAnd/src/net/osmand/render/PerformanceFlags.java
rename to OsmAnd/src/net/osmand/plus/render/PerformanceFlags.java
index f046673e82..c9ad0a60fa 100644
--- a/OsmAnd/src/net/osmand/render/PerformanceFlags.java
+++ b/OsmAnd/src/net/osmand/plus/render/PerformanceFlags.java
@@ -1,4 +1,4 @@
-package net.osmand.render;
+package net.osmand.plus.render;
public class PerformanceFlags {
diff --git a/OsmAnd/src/net/osmand/render/RendererLayer.java b/OsmAnd/src/net/osmand/plus/render/RendererLayer.java
similarity index 95%
rename from OsmAnd/src/net/osmand/render/RendererLayer.java
rename to OsmAnd/src/net/osmand/plus/render/RendererLayer.java
index 9b8af146f1..fa94b48e23 100644
--- a/OsmAnd/src/net/osmand/render/RendererLayer.java
+++ b/OsmAnd/src/net/osmand/plus/render/RendererLayer.java
@@ -1,10 +1,10 @@
-package net.osmand.render;
+package net.osmand.plus.render;
-import net.osmand.ResourceManager;
-import net.osmand.RotatedTileBox;
import net.osmand.osm.MapUtils;
-import net.osmand.views.OsmandMapLayer;
-import net.osmand.views.OsmandMapTileView;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.RotatedTileBox;
+import net.osmand.plus.views.OsmandMapLayer;
+import net.osmand.plus.views.OsmandMapTileView;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Paint;
diff --git a/OsmAnd/src/net/osmand/render/RendererRegistry.java b/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java
similarity index 95%
rename from OsmAnd/src/net/osmand/render/RendererRegistry.java
rename to OsmAnd/src/net/osmand/plus/render/RendererRegistry.java
index 5b53793b8c..4d15051fc5 100644
--- a/OsmAnd/src/net/osmand/render/RendererRegistry.java
+++ b/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java
@@ -1,4 +1,4 @@
-package net.osmand.render;
+package net.osmand.plus.render;
import java.io.File;
import java.io.FileInputStream;
@@ -12,7 +12,8 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
-import net.osmand.LogUtil;
+import net.osmand.plus.LogUtil;
+import net.osmand.render.OsmandRenderingRulesParser;
import org.apache.commons.logging.Log;
import org.xml.sax.SAXException;
diff --git a/OsmAnd/src/net/osmand/render/RenderingIcons.java b/OsmAnd/src/net/osmand/plus/render/RenderingIcons.java
similarity index 97%
rename from OsmAnd/src/net/osmand/render/RenderingIcons.java
rename to OsmAnd/src/net/osmand/plus/render/RenderingIcons.java
index 482c993451..08ccf8e638 100644
--- a/OsmAnd/src/net/osmand/render/RenderingIcons.java
+++ b/OsmAnd/src/net/osmand/plus/render/RenderingIcons.java
@@ -1,9 +1,9 @@
-package net.osmand.render;
+package net.osmand.plus.render;
import java.util.LinkedHashMap;
import java.util.Map;
-import net.osmand.R;
+import net.osmand.plus.R;
public class RenderingIcons {
diff --git a/OsmAnd/src/net/osmand/render/UnscaledBitmapLoader.java b/OsmAnd/src/net/osmand/plus/render/UnscaledBitmapLoader.java
similarity index 95%
rename from OsmAnd/src/net/osmand/render/UnscaledBitmapLoader.java
rename to OsmAnd/src/net/osmand/plus/render/UnscaledBitmapLoader.java
index 9c1fe552f7..7bdf848c04 100644
--- a/OsmAnd/src/net/osmand/render/UnscaledBitmapLoader.java
+++ b/OsmAnd/src/net/osmand/plus/render/UnscaledBitmapLoader.java
@@ -1,4 +1,4 @@
-package net.osmand.render;
+package net.osmand.plus.render;
import android.content.res.Resources;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
diff --git a/OsmAnd/src/net/osmand/views/AnimateDraggingMapThread.java b/OsmAnd/src/net/osmand/plus/views/AnimateDraggingMapThread.java
similarity index 95%
rename from OsmAnd/src/net/osmand/views/AnimateDraggingMapThread.java
rename to OsmAnd/src/net/osmand/plus/views/AnimateDraggingMapThread.java
index 9cd6fb972d..cb37cca758 100644
--- a/OsmAnd/src/net/osmand/views/AnimateDraggingMapThread.java
+++ b/OsmAnd/src/net/osmand/plus/views/AnimateDraggingMapThread.java
@@ -1,7 +1,7 @@
-package net.osmand.views;
+package net.osmand.plus.views;
-import net.osmand.LogUtil;
import net.osmand.osm.MapUtils;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/views/ContextMenuLayer.java b/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java
similarity index 95%
rename from OsmAnd/src/net/osmand/views/ContextMenuLayer.java
rename to OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java
index a3bd3cb746..dc41a7c252 100644
--- a/OsmAnd/src/net/osmand/views/ContextMenuLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java
@@ -1,11 +1,11 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.R;
-import net.osmand.activities.MapActivity;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.MapActivity;
import net.osmand.osm.LatLon;
import android.content.Context;
import android.content.DialogInterface;
diff --git a/OsmAnd/src/net/osmand/views/FavoritesLayer.java b/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java
similarity index 94%
rename from OsmAnd/src/net/osmand/views/FavoritesLayer.java
rename to OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java
index 440424c72d..b30ef165a2 100644
--- a/OsmAnd/src/net/osmand/views/FavoritesLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java
@@ -1,10 +1,10 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.util.List;
-import net.osmand.FavouritePoint;
-import net.osmand.FavouritesDbHelper;
-import net.osmand.R;
+import net.osmand.plus.FavouritePoint;
+import net.osmand.plus.FavouritesDbHelper;
+import net.osmand.plus.R;
import net.osmand.osm.LatLon;
import android.content.Context;
import android.content.DialogInterface.OnClickListener;
diff --git a/OsmAnd/src/net/osmand/views/GPXLayer.java b/OsmAnd/src/net/osmand/plus/views/GPXLayer.java
similarity index 94%
rename from OsmAnd/src/net/osmand/views/GPXLayer.java
rename to OsmAnd/src/net/osmand/plus/views/GPXLayer.java
index d6e8e64442..984d4d1719 100644
--- a/OsmAnd/src/net/osmand/views/GPXLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/GPXLayer.java
@@ -1,4 +1,4 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.util.ArrayList;
import java.util.List;
diff --git a/OsmAnd/src/net/osmand/views/MapInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java
similarity index 96%
rename from OsmAnd/src/net/osmand/views/MapInfoLayer.java
rename to OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java
index 0f35b25606..d89fb167cf 100644
--- a/OsmAnd/src/net/osmand/views/MapInfoLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java
@@ -1,12 +1,12 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import net.osmand.Algoritms;
import net.osmand.Messages;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.activities.MapActivity;
-import net.osmand.activities.RoutingHelper.RouteDirectionInfo;
-import net.osmand.activities.RoutingHelper.TurnType;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.MapActivity;
+import net.osmand.plus.activities.RoutingHelper.RouteDirectionInfo;
+import net.osmand.plus.activities.RoutingHelper.TurnType;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
import android.content.Context;
diff --git a/OsmAnd/src/net/osmand/views/MultiTouchSupport.java b/OsmAnd/src/net/osmand/plus/views/MultiTouchSupport.java
similarity index 95%
rename from OsmAnd/src/net/osmand/views/MultiTouchSupport.java
rename to OsmAnd/src/net/osmand/plus/views/MultiTouchSupport.java
index c4df2dbaf8..a0e277ac04 100644
--- a/OsmAnd/src/net/osmand/views/MultiTouchSupport.java
+++ b/OsmAnd/src/net/osmand/plus/views/MultiTouchSupport.java
@@ -1,8 +1,8 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.lang.reflect.Method;
-import net.osmand.LogUtil;
+import net.osmand.plus.LogUtil;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/views/OsmBugsLayer.java b/OsmAnd/src/net/osmand/plus/views/OsmBugsLayer.java
similarity index 96%
rename from OsmAnd/src/net/osmand/views/OsmBugsLayer.java
rename to OsmAnd/src/net/osmand/plus/views/OsmBugsLayer.java
index b24ae4459c..d1d26d73d5 100644
--- a/OsmAnd/src/net/osmand/views/OsmBugsLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/OsmBugsLayer.java
@@ -1,4 +1,4 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.io.BufferedReader;
import java.io.IOException;
@@ -11,9 +11,9 @@ import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
import net.osmand.osm.LatLon;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/views/OsmZoomControls.java b/OsmAnd/src/net/osmand/plus/views/OsmZoomControls.java
similarity index 93%
rename from OsmAnd/src/net/osmand/views/OsmZoomControls.java
rename to OsmAnd/src/net/osmand/plus/views/OsmZoomControls.java
index a37ddf89af..748c9f2f75 100644
--- a/OsmAnd/src/net/osmand/views/OsmZoomControls.java
+++ b/OsmAnd/src/net/osmand/plus/views/OsmZoomControls.java
@@ -1,4 +1,4 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import android.content.Context;
import android.util.AttributeSet;
diff --git a/OsmAnd/src/net/osmand/views/OsmandMapLayer.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapLayer.java
similarity index 91%
rename from OsmAnd/src/net/osmand/views/OsmandMapLayer.java
rename to OsmAnd/src/net/osmand/plus/views/OsmandMapLayer.java
index a56d8d5f55..4ef12560e5 100644
--- a/OsmAnd/src/net/osmand/views/OsmandMapLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapLayer.java
@@ -1,4 +1,4 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import android.graphics.Canvas;
import android.graphics.PointF;
diff --git a/OsmAnd/src/net/osmand/views/OsmandMapTileView.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java
similarity index 95%
rename from OsmAnd/src/net/osmand/views/OsmandMapTileView.java
rename to OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java
index 30050a33b4..4bdded9f43 100644
--- a/OsmAnd/src/net/osmand/views/OsmandMapTileView.java
+++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapTileView.java
@@ -1,4 +1,4 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.util.ArrayList;
@@ -6,10 +6,6 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.ResourceManager;
-import net.osmand.activities.OsmandApplication;
import net.osmand.data.preparation.MapTileDownloader;
import net.osmand.data.preparation.MapTileDownloader.DownloadRequest;
import net.osmand.data.preparation.MapTileDownloader.IMapDownloaderCallback;
@@ -17,8 +13,12 @@ import net.osmand.map.IMapLocationListener;
import net.osmand.map.ITileSource;
import net.osmand.osm.LatLon;
import net.osmand.osm.MapUtils;
-import net.osmand.views.AnimateDraggingMapThread.AnimateDraggingCallback;
-import net.osmand.views.MultiTouchSupport.MultiTouchZoomListener;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.activities.OsmandApplication;
+import net.osmand.plus.views.AnimateDraggingMapThread.AnimateDraggingCallback;
+import net.osmand.plus.views.MultiTouchSupport.MultiTouchZoomListener;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/views/POIMapLayer.java b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java
similarity index 93%
rename from OsmAnd/src/net/osmand/views/POIMapLayer.java
rename to OsmAnd/src/net/osmand/plus/views/POIMapLayer.java
index 6f261e6e22..7e8a911322 100644
--- a/OsmAnd/src/net/osmand/views/POIMapLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/POIMapLayer.java
@@ -1,14 +1,14 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.PoiFilter;
-import net.osmand.R;
-import net.osmand.ResourceManager;
-import net.osmand.activities.EditingPOIActivity;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.PoiFilter;
+import net.osmand.plus.R;
+import net.osmand.plus.ResourceManager;
+import net.osmand.plus.activities.EditingPOIActivity;
import net.osmand.data.Amenity;
import net.osmand.osm.LatLon;
import android.content.Context;
diff --git a/OsmAnd/src/net/osmand/views/PointLocationLayer.java b/OsmAnd/src/net/osmand/plus/views/PointLocationLayer.java
similarity index 95%
rename from OsmAnd/src/net/osmand/views/PointLocationLayer.java
rename to OsmAnd/src/net/osmand/plus/views/PointLocationLayer.java
index 73808b9734..c02917b33d 100644
--- a/OsmAnd/src/net/osmand/views/PointLocationLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/PointLocationLayer.java
@@ -1,7 +1,7 @@
-package net.osmand.views;
+package net.osmand.plus.views;
-import net.osmand.OsmandSettings.ApplicationMode;
import net.osmand.osm.MapUtils;
+import net.osmand.plus.OsmandSettings.ApplicationMode;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
diff --git a/OsmAnd/src/net/osmand/views/PointNavigationLayer.java b/OsmAnd/src/net/osmand/plus/views/PointNavigationLayer.java
similarity index 95%
rename from OsmAnd/src/net/osmand/views/PointNavigationLayer.java
rename to OsmAnd/src/net/osmand/plus/views/PointNavigationLayer.java
index 885d75d69f..accde0fa84 100644
--- a/OsmAnd/src/net/osmand/views/PointNavigationLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/PointNavigationLayer.java
@@ -1,4 +1,4 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import net.osmand.osm.LatLon;
import android.content.Context;
diff --git a/OsmAnd/src/net/osmand/views/RouteInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/RouteInfoLayer.java
similarity index 93%
rename from OsmAnd/src/net/osmand/views/RouteInfoLayer.java
rename to OsmAnd/src/net/osmand/plus/views/RouteInfoLayer.java
index 74cf9e84f6..38c1cb1e95 100644
--- a/OsmAnd/src/net/osmand/views/RouteInfoLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/RouteInfoLayer.java
@@ -1,12 +1,12 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.util.List;
-import net.osmand.R;
-import net.osmand.activities.RoutingHelper;
-import net.osmand.activities.ShowRouteInfoActivity;
-import net.osmand.activities.RoutingHelper.IRouteInformationListener;
-import net.osmand.activities.RoutingHelper.RouteDirectionInfo;
+import net.osmand.plus.R;
+import net.osmand.plus.activities.RoutingHelper;
+import net.osmand.plus.activities.ShowRouteInfoActivity;
+import net.osmand.plus.activities.RoutingHelper.IRouteInformationListener;
+import net.osmand.plus.activities.RoutingHelper.RouteDirectionInfo;
import android.content.Context;
import android.content.Intent;
import android.graphics.Canvas;
diff --git a/OsmAnd/src/net/osmand/views/RouteLayer.java b/OsmAnd/src/net/osmand/plus/views/RouteLayer.java
similarity index 93%
rename from OsmAnd/src/net/osmand/views/RouteLayer.java
rename to OsmAnd/src/net/osmand/plus/views/RouteLayer.java
index dd3e5501e7..a6feb3e117 100644
--- a/OsmAnd/src/net/osmand/views/RouteLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/RouteLayer.java
@@ -1,11 +1,11 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.LogUtil;
-import net.osmand.activities.RoutingHelper;
import net.osmand.osm.MapUtils;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.activities.RoutingHelper;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
diff --git a/OsmAnd/src/net/osmand/views/TransportInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/TransportInfoLayer.java
similarity index 92%
rename from OsmAnd/src/net/osmand/views/TransportInfoLayer.java
rename to OsmAnd/src/net/osmand/plus/views/TransportInfoLayer.java
index 4cfda59a79..e3652e4396 100644
--- a/OsmAnd/src/net/osmand/views/TransportInfoLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/TransportInfoLayer.java
@@ -1,13 +1,13 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.TransportIndexRepository.RouteInfoLocation;
-import net.osmand.activities.TransportRouteHelper;
import net.osmand.data.TransportRoute;
import net.osmand.data.TransportStop;
import net.osmand.osm.LatLon;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.TransportIndexRepository.RouteInfoLocation;
+import net.osmand.plus.activities.TransportRouteHelper;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
diff --git a/OsmAnd/src/net/osmand/views/TransportStopsLayer.java b/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java
similarity index 93%
rename from OsmAnd/src/net/osmand/views/TransportStopsLayer.java
rename to OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java
index 4931adb422..80d25e4b4e 100644
--- a/OsmAnd/src/net/osmand/views/TransportStopsLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/TransportStopsLayer.java
@@ -1,11 +1,11 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.util.ArrayList;
import java.util.List;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.TransportIndexRepository;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.TransportIndexRepository;
import net.osmand.data.TransportStop;
import net.osmand.osm.LatLon;
import android.content.Context;
diff --git a/OsmAnd/src/net/osmand/views/YandexTrafficLayer.java b/OsmAnd/src/net/osmand/plus/views/YandexTrafficLayer.java
similarity index 95%
rename from OsmAnd/src/net/osmand/views/YandexTrafficLayer.java
rename to OsmAnd/src/net/osmand/plus/views/YandexTrafficLayer.java
index 212e0512c1..e7a05000a4 100644
--- a/OsmAnd/src/net/osmand/views/YandexTrafficLayer.java
+++ b/OsmAnd/src/net/osmand/plus/views/YandexTrafficLayer.java
@@ -1,4 +1,4 @@
-package net.osmand.views;
+package net.osmand.plus.views;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
@@ -12,8 +12,8 @@ import java.util.Map;
import java.util.Set;
import net.osmand.Algoritms;
-import net.osmand.LogUtil;
-import net.osmand.R;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.R;
import net.osmand.osm.MapUtils;
import org.apache.commons.logging.Log;
diff --git a/OsmAnd/src/net/osmand/voice/CommandPlayer.java b/OsmAnd/src/net/osmand/plus/voice/CommandPlayer.java
similarity index 95%
rename from OsmAnd/src/net/osmand/voice/CommandPlayer.java
rename to OsmAnd/src/net/osmand/plus/voice/CommandPlayer.java
index 0a11e6cd1c..8803b98e03 100644
--- a/OsmAnd/src/net/osmand/voice/CommandPlayer.java
+++ b/OsmAnd/src/net/osmand/plus/voice/CommandPlayer.java
@@ -1,4 +1,4 @@
-package net.osmand.voice;
+package net.osmand.plus.voice;
import java.io.File;
@@ -11,10 +11,10 @@ import java.util.Collections;
import java.util.Iterator;
import java.util.List;
-import net.osmand.LogUtil;
-import net.osmand.OsmandSettings;
-import net.osmand.R;
-import net.osmand.ResourceManager;
+import net.osmand.plus.LogUtil;
+import net.osmand.plus.OsmandSettings;
+import net.osmand.plus.R;
+import net.osmand.plus.ResourceManager;
import net.osmand.data.index.IndexConstants;
import org.apache.commons.logging.Log;