diff --git a/CMakeLists.txt b/CMakeLists.txt
index 34efa35f8..07653d65c 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -76,11 +76,11 @@ if(ANDROID OR IOS)
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
endif(ANDROID OR IOS)
include(GetGitRevisionDescription)
+git_describe(GIT_REVISION --match "[0-9]*" --abbrev=4 --tags --always)
if(ANDROID OR IOS)
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY)
endif(ANDROID OR IOS)
-git_describe(GIT_REVISION --match "[0-9]*" --abbrev=4 --tags --always)
message(STATUS "Git Revision ${GIT_REVISION}")
# Turn on solution folders (2.8.4+)
diff --git a/client/Android/.gitignore b/client/Android/.gitignore
index 31b2e3c80..5eb07b8f5 100644
--- a/client/Android/.gitignore
+++ b/client/Android/.gitignore
@@ -8,6 +8,7 @@ libs/armeabi*
AndroidManifest.xml
local.properties
!.project
+appcompat_v7
FreeRDPCore/project.properties
FreeRDPCore/src/com/freerdp/freerdpcore/utils/BuildConfiguration.java
diff --git a/client/Android/CMakeLists.txt b/client/Android/CMakeLists.txt
index b657cf8c0..51521320a 100644
--- a/client/Android/CMakeLists.txt
+++ b/client/Android/CMakeLists.txt
@@ -42,6 +42,11 @@ if(ANDROID_BUILD_JAVA)
endif()
endif(ANDROID_BUILD_JAVA)
+set(ANDROID_COMMAND "${ANDROID_SDK}/tools/android")
+if(NOT EXISTS ${ANDROID_COMMAND})
+ message(FATAL_ERROR "android not found but required to build android java")
+endif()
+
if(ANDROID_BUILD_JAVA_DEBUG)
set(ANDROID_BUILD_TYPE "debug")
else()
@@ -56,5 +61,11 @@ else()
set(NDK_DEBUG "0")
endif()
+set(APPCOMPAT_DIR "${CMAKE_CURRENT_BINARY_DIR}/appcompat_v7")
+add_custom_target(copy_appcompat ALL
+ COMMAND ${CMAKE_COMMAND} -E copy_directory ${ANDROID_SDK}/extras/android/support/v7/appcompat ${APPCOMPAT_DIR}
+ COMMAND ${ANDROID_COMMAND} update lib-project -p ${APPCOMPAT_DIR}
+)
+
add_subdirectory(FreeRDPCore)
add_subdirectory(aFreeRDP)
diff --git a/client/Android/FreeRDPCore/AndroidManifest.xml.cmake b/client/Android/FreeRDPCore/AndroidManifest.xml.cmake
index d7e944c29..acad13f3f 100644
--- a/client/Android/FreeRDPCore/AndroidManifest.xml.cmake
+++ b/client/Android/FreeRDPCore/AndroidManifest.xml.cmake
@@ -65,7 +65,7 @@
android:windowSoftInputMode="stateHidden">
diff --git a/client/Android/FreeRDPCore/lint.xml b/client/Android/FreeRDPCore/lint.xml
new file mode 100644
index 000000000..ee0eead5b
--- /dev/null
+++ b/client/Android/FreeRDPCore/lint.xml
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/client/Android/FreeRDPCore/project.properties.cmake b/client/Android/FreeRDPCore/project.properties.cmake
index 72b842609..09c72f4a9 100644
--- a/client/Android/FreeRDPCore/project.properties.cmake
+++ b/client/Android/FreeRDPCore/project.properties.cmake
@@ -13,3 +13,4 @@
# Project target.
target=android-@ANDROID_APP_TARGET_SDK@
android.library=true
+android.library.reference.1=../appcompat_v7
diff --git a/client/Android/FreeRDPCore/res/layout/super_bar.xml b/client/Android/FreeRDPCore/res/layout/super_bar.xml
index 85def9b4b..0dc039579 100644
--- a/client/Android/FreeRDPCore/res/layout/super_bar.xml
+++ b/client/Android/FreeRDPCore/res/layout/super_bar.xml
@@ -18,7 +18,6 @@
android:paddingRight="6dip"
android:paddingTop="7dip"
android:paddingBottom="16dip"
- android:background="@drawable/search_plate"
android:gravity="center_vertical"
android:focusable="true"
android:descendantFocusability="afterDescendants">
@@ -36,8 +35,6 @@
android:singleLine="true"
android:ellipsize="end"
android:inputType="text"
- android:textColor="?android:attr/textColorPrimary"
- android:textColorHint="?android:attr/textColorHint"
android:drawableLeft="@drawable/icon_edittext_search"
android:drawableRight="@drawable/icon_edittext_clear"
/>
diff --git a/client/Android/FreeRDPCore/res/menu/bookmark_context_menu.xml b/client/Android/FreeRDPCore/res/menu/bookmark_context_menu.xml
index 6ebfb3470..996ee69eb 100644
--- a/client/Android/FreeRDPCore/res/menu/bookmark_context_menu.xml
+++ b/client/Android/FreeRDPCore/res/menu/bookmark_context_menu.xml
@@ -4,14 +4,17 @@
diff --git a/client/Android/FreeRDPCore/res/menu/home_menu.xml b/client/Android/FreeRDPCore/res/menu/home_menu.xml
index 21fd280e8..e74287f00 100644
--- a/client/Android/FreeRDPCore/res/menu/home_menu.xml
+++ b/client/Android/FreeRDPCore/res/menu/home_menu.xml
@@ -4,21 +4,21 @@
-
diff --git a/client/Android/FreeRDPCore/res/menu/session_menu.xml b/client/Android/FreeRDPCore/res/menu/session_menu.xml
index 63ff36cf7..2017dc1ca 100644
--- a/client/Android/FreeRDPCore/res/menu/session_menu.xml
+++ b/client/Android/FreeRDPCore/res/menu/session_menu.xml
@@ -5,22 +5,27 @@
-->
diff --git a/client/Android/FreeRDPCore/res/values-es/strings.xml b/client/Android/FreeRDPCore/res/values-es/strings.xml
index bf2c8a80a..192045a0a 100644
--- a/client/Android/FreeRDPCore/res/values-es/strings.xml
+++ b/client/Android/FreeRDPCore/res/values-es/strings.xml
@@ -23,7 +23,7 @@
Funcion teclado
Puntero Tactil
Inicio
- desconectart
+ Desconectart
Conexión Manual
Sesiones Activas
@@ -197,4 +197,6 @@
Esta seguro que desea salir del programa?
Borrar Certificados?
Esta seguro que desea borrar todos los certificados?
+ Debug Level
+ Debug Settings
diff --git a/client/Android/FreeRDPCore/res/values-fr/strings.xml b/client/Android/FreeRDPCore/res/values-fr/strings.xml
index b6e829f06..be4be240c 100644
--- a/client/Android/FreeRDPCore/res/values-fr/strings.xml
+++ b/client/Android/FreeRDPCore/res/values-fr/strings.xml
@@ -196,4 +196,6 @@
"Êtes-vous sûr de vouloir quitter l'application?"
"Êtes-vous sûrs de vouloir supprimer les certificats?"
"Êtes-vous sûr de vouloir supprimer tous les certificats mis en cache?"
+ Debug Level
+ Debug Settings
diff --git a/client/Android/FreeRDPCore/res/values-nl/strings.xml b/client/Android/FreeRDPCore/res/values-nl/strings.xml
index 6a0144944..5a28bb7d9 100644
--- a/client/Android/FreeRDPCore/res/values-nl/strings.xml
+++ b/client/Android/FreeRDPCore/res/values-nl/strings.xml
@@ -197,4 +197,6 @@
Weet u zeker dat u de applicatie wilt sluiten?
Verwijder certificaten?
Weet u zeker dat u al uw cache certificaten wilt verwijderen?
+ Debug Level
+ Debug Settings
diff --git a/client/Android/FreeRDPCore/res/values/strings.xml b/client/Android/FreeRDPCore/res/values/strings.xml
index 8db6cbf94..d2342e0fe 100644
--- a/client/Android/FreeRDPCore/res/values/strings.xml
+++ b/client/Android/FreeRDPCore/res/values/strings.xml
@@ -23,7 +23,7 @@
Function Keys
Touch Pointer
home
- disconnect
+ Disconnect
Manual Connections
Active Sessions
diff --git a/client/Android/FreeRDPCore/res/values/theme.xml b/client/Android/FreeRDPCore/res/values/theme.xml
index ef321c4c0..afee509ac 100644
--- a/client/Android/FreeRDPCore/res/values/theme.xml
+++ b/client/Android/FreeRDPCore/res/values/theme.xml
@@ -1,10 +1,10 @@
-
-