From 05366f6155549d084aaf5ad2f9beabbf4480271b Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Sun, 18 Nov 2012 22:52:45 +0300 Subject: [android] Added separate folder for Samsung Lite with new package com.mapswithme.maps.samsung --- .gitignore | 16 +++- android/MapsWithMeLite.Samsung/AndroidManifest.xml | 70 ++++++++++++++++ android/MapsWithMeLite.Samsung/build.xml | 96 ++++++++++++++++++++++ android/MapsWithMeLite.Samsung/custom_rules.xml | 68 +++++++++++++++ .../MapsWithMeLite.Samsung/proguard-project.txt | 20 +++++ android/MapsWithMeLite.Samsung/project.properties | 15 ++++ .../MapsWithMeLite.Samsung/res/values/strings.xml | 4 + .../MapsWithMeLite.Samsung/res/values/styles.xml | 5 ++ android/MapsWithMeLite.Samsung/src/readme.txt | 1 + tools/android/update_assets.sh | 1 + 10 files changed, 295 insertions(+), 1 deletion(-) create mode 100644 android/MapsWithMeLite.Samsung/AndroidManifest.xml create mode 100644 android/MapsWithMeLite.Samsung/build.xml create mode 100644 android/MapsWithMeLite.Samsung/custom_rules.xml create mode 100644 android/MapsWithMeLite.Samsung/proguard-project.txt create mode 100644 android/MapsWithMeLite.Samsung/project.properties create mode 100644 android/MapsWithMeLite.Samsung/res/values/strings.xml create mode 100644 android/MapsWithMeLite.Samsung/res/values/styles.xml create mode 100644 android/MapsWithMeLite.Samsung/src/readme.txt diff --git a/.gitignore b/.gitignore index 98c476d6e3..59ee5b3aed 100644 --- a/.gitignore +++ b/.gitignore @@ -72,7 +72,6 @@ android/.settings android/.classpath android/.cproject android/.project -android/assets android/local.properties android/ant.properties android/lint.xml @@ -107,6 +106,21 @@ android/MapsWithMeLite/ant.properties # local android scripts, such as debugger helper scrips android/MapsWithMeLite/local +# android MapsWithMeLite.Samsung +android/MapsWithMeLite.Samsung/bin +android/MapsWithMeLite.Samsung/gen +android/MapsWithMeLite.Samsung/libs +android/MapsWithMeLite.Samsung/obj +android/MapsWithMeLite.Samsung/.settings +android/MapsWithMeLite.Samsung/.classpath +android/MapsWithMeLite.Samsung/.cproject +android/MapsWithMeLite.Samsung/.project +android/MapsWithMeLite.Samsung/assets +android/MapsWithMeLite.Samsung/local.properties +android/MapsWithMeLite.Samsung/ant.properties +# local android scripts, such as debugger helper scrips +android/MapsWithMeLite.Samsung/local + # android MapsWithMePro android/MapsWithMePro/bin android/MapsWithMePro/gen diff --git a/android/MapsWithMeLite.Samsung/AndroidManifest.xml b/android/MapsWithMeLite.Samsung/AndroidManifest.xml new file mode 100644 index 0000000000..1d8c75a77a --- /dev/null +++ b/android/MapsWithMeLite.Samsung/AndroidManifest.xml @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/MapsWithMeLite.Samsung/build.xml b/android/MapsWithMeLite.Samsung/build.xml new file mode 100644 index 0000000000..d5428eb9a6 --- /dev/null +++ b/android/MapsWithMeLite.Samsung/build.xml @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/android/MapsWithMeLite.Samsung/custom_rules.xml b/android/MapsWithMeLite.Samsung/custom_rules.xml new file mode 100644 index 0000000000..4a82b8d14d --- /dev/null +++ b/android/MapsWithMeLite.Samsung/custom_rules.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + ************************************************* + **** 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 new file mode 100644 index 0000000000..f2fe1559a2 --- /dev/null +++ b/android/MapsWithMeLite.Samsung/proguard-project.txt @@ -0,0 +1,20 @@ +# 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 new file mode 100644 index 0000000000..5ff5827776 --- /dev/null +++ b/android/MapsWithMeLite.Samsung/project.properties @@ -0,0 +1,15 @@ +# 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-17 +android.library.reference.1=.. diff --git a/android/MapsWithMeLite.Samsung/res/values/strings.xml b/android/MapsWithMeLite.Samsung/res/values/strings.xml new file mode 100644 index 0000000000..d08bf552de --- /dev/null +++ b/android/MapsWithMeLite.Samsung/res/values/strings.xml @@ -0,0 +1,4 @@ + + + Maps With Me + diff --git a/android/MapsWithMeLite.Samsung/res/values/styles.xml b/android/MapsWithMeLite.Samsung/res/values/styles.xml new file mode 100644 index 0000000000..4dba0d0a4c --- /dev/null +++ b/android/MapsWithMeLite.Samsung/res/values/styles.xml @@ -0,0 +1,5 @@ + + +