diff --git a/android/libs/MobileAppTracker.jar b/android/3rd_party/MobileAppTracker.jar similarity index 100% rename from android/libs/MobileAppTracker.jar rename to android/3rd_party/MobileAppTracker.jar diff --git a/android/3rd_party/external_styles/AndroidManifest.xml b/android/3rd_party/external_styles/AndroidManifest.xml index 365d42cc51..81ecabfd2c 100644 --- a/android/3rd_party/external_styles/AndroidManifest.xml +++ b/android/3rd_party/external_styles/AndroidManifest.xml @@ -4,8 +4,4 @@ android:versionCode="1005000" android:versionName="1.5.0" > - - \ No newline at end of file diff --git a/android/3rd_party/external_styles/build.gradle b/android/3rd_party/external_styles/build.gradle new file mode 100644 index 0000000000..caeda6c88a --- /dev/null +++ b/android/3rd_party/external_styles/build.gradle @@ -0,0 +1,19 @@ +apply plugin: 'android-library' + +android { + compileSdkVersion propTargetSdkVersion.toInteger() + buildToolsVersion propBuildToolsVersion + + // Uses properties defined in the root android folder + defaultConfig { + minSdkVersion propMinSdkVersion.toInteger() + targetSdkVersion propTargetSdkVersion.toInteger() + } + + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + res.srcDirs = ['res'] + } + } +} diff --git a/android/3rd_party/external_styles/build.xml b/android/3rd_party/external_styles/build.xml deleted file mode 100644 index 2f6f323a25..0000000000 --- a/android/3rd_party/external_styles/build.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/android/3rd_party/external_styles/custom_rules.xml b/android/3rd_party/external_styles/custom_rules.xml deleted file mode 100644 index 1b816f40a1..0000000000 --- a/android/3rd_party/external_styles/custom_rules.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/android/3rd_party/external_styles/proguard-project.txt b/android/3rd_party/external_styles/proguard-project.txt deleted file mode 100644 index f2fe1559a2..0000000000 --- a/android/3rd_party/external_styles/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ -# To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/android/3rd_party/external_styles/project.properties b/android/3rd_party/external_styles/project.properties deleted file mode 100644 index 8e4bc5fdce..0000000000 --- a/android/3rd_party/external_styles/project.properties +++ /dev/null @@ -1,12 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system use, -# "ant.properties", and override values to adapt the script to your -# project structure. - -# Project target. -target=android-19 -android.library=true diff --git a/android/3rd_party/external_styles/src/.gitignore b/android/3rd_party/external_styles/src/.gitignore deleted file mode 100644 index 02336ca90e..0000000000 --- a/android/3rd_party/external_styles/src/.gitignore +++ /dev/null @@ -1 +0,0 @@ -# This file is needed to commit empty folder diff --git a/android/3rd_party/facebook-android-sdk/build.gradle b/android/3rd_party/facebook-android-sdk/build.gradle deleted file mode 100644 index 2d3bec743b..0000000000 --- a/android/3rd_party/facebook-android-sdk/build.gradle +++ /dev/null @@ -1,9 +0,0 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath 'com.android.tools.build:gradle:0.7.+' - } -} diff --git a/android/3rd_party/facebook-android-sdk/facebook/build.gradle b/android/3rd_party/facebook-android-sdk/facebook/build.gradle index ea2914c498..bb4c17db35 100644 --- a/android/3rd_party/facebook-android-sdk/facebook/build.gradle +++ b/android/3rd_party/facebook-android-sdk/facebook/build.gradle @@ -1,16 +1,16 @@ apply plugin: 'android-library' dependencies { - compile 'com.android.support:support-v4:13.0.+' + compile 'com.android.support:support-v4:19.1.+' } android { - compileSdkVersion 19 - buildToolsVersion "19" + compileSdkVersion propTargetSdkVersion.toInteger() + buildToolsVersion propBuildToolsVersion defaultConfig { - minSdkVersion 8 - targetSdkVersion 19 + minSdkVersion propMinSdkVersion.toInteger() + targetSdkVersion propTargetSdkVersion.toInteger() } sourceSets { @@ -20,4 +20,8 @@ android { res.srcDirs = ['res'] } } + + lintOptions { + abortOnError false + } } diff --git a/android/libs/FlurryAnalytics_3.3.0.jar b/android/3rd_party/flurryAnalytics_3.4.0.jar old mode 100644 new mode 100755 similarity index 50% rename from android/libs/FlurryAnalytics_3.3.0.jar rename to android/3rd_party/flurryAnalytics_3.4.0.jar index 946714f7ce..7a314945fd Binary files a/android/libs/FlurryAnalytics_3.3.0.jar and b/android/3rd_party/flurryAnalytics_3.4.0.jar differ diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index f1b2c39d66..06402714f8 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,23 +1,145 @@ - - - - - - - - + - - - - - - - - - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/MapsWithMeLite.Samsung/AndroidManifest.xml b/android/MapsWithMeLite.Samsung/AndroidManifest.xml deleted file mode 100644 index 9f718fe1c0..0000000000 --- a/android/MapsWithMeLite.Samsung/AndroidManifest.xml +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/android/MapsWithMeLite.Samsung/README.txt b/android/MapsWithMeLite.Samsung/README.txt deleted file mode 100644 index 8ea6b84441..0000000000 --- a/android/MapsWithMeLite.Samsung/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -# To build Lite version for Samsung (new one, which is actively supported, with package com.mapswithme.maps.samsung -# on corp account sams-appstore@mapswithme.com) -$ ant samsung-production \ No newline at end of file diff --git a/android/MapsWithMeLite.Samsung/build.xml b/android/MapsWithMeLite.Samsung/build.xml deleted file mode 100644 index d5428eb9a6..0000000000 --- a/android/MapsWithMeLite.Samsung/build.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/android/MapsWithMeLite.Samsung/custom_rules.xml b/android/MapsWithMeLite.Samsung/custom_rules.xml deleted file mode 100644 index caf3bbb5c6..0000000000 --- a/android/MapsWithMeLite.Samsung/custom_rules.xml +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - ************************************************* - **** Android Manifest has debuggable=true **** - ** Doing DEBUG packaging with PRODUCTION keys *** - ************************************************* - - - - - - - - - - - - - - - Signing final apk... - - - - - Release Package: ${out.final.file} - - - - - - - - - diff --git a/android/MapsWithMeLite.Samsung/proguard-project.txt b/android/MapsWithMeLite.Samsung/proguard-project.txt deleted file mode 100644 index f2fe1559a2..0000000000 --- a/android/MapsWithMeLite.Samsung/proguard-project.txt +++ /dev/null @@ -1,20 +0,0 @@ -# To enable ProGuard in your project, edit project.properties -# to define the proguard.config property as described in that file. -# -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in ${sdk.dir}/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the ProGuard -# include property in project.properties. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/android/MapsWithMeLite.Samsung/project.properties b/android/MapsWithMeLite.Samsung/project.properties deleted file mode 100644 index f341956381..0000000000 --- a/android/MapsWithMeLite.Samsung/project.properties +++ /dev/null @@ -1,15 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system edit -# "ant.properties", and override values to adapt the script to your -# project structure. -# -# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): -#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt - -# Project target. -target=android-19 -android.library.reference.1=.. diff --git a/android/MapsWithMeLite.Samsung/res/values/styles.xml b/android/MapsWithMeLite.Samsung/res/values/styles.xml deleted file mode 100644 index 4dba0d0a4c..0000000000 --- a/android/MapsWithMeLite.Samsung/res/values/styles.xml +++ /dev/null @@ -1,5 +0,0 @@ - - -