From ff7fdf78efb7287af6347c710ac00a0d17d9dfc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Str=C3=B8mme?= Date: Tue, 2 Jul 2013 18:51:49 +0200 Subject: Android: New bearer plugin Replacement for the the generic bearer plugin. Compared to the generic bearer engine, this plugin provides a more detailed overview of the network configurations on Android. Added features are: - Correct bearer type, also for mobile connections. - Connection state (e.g., roaming). - Data statistics (On devices that supports it). - Polling is not required. Change-Id: I728cb91e04a66343648c0add6be2a003caca0f1f Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/network/network.pro | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/network') diff --git a/src/network/network.pro b/src/network/network.pro index 79e357e0cb..4cced923f7 100644 --- a/src/network/network.pro +++ b/src/network/network.pro @@ -25,3 +25,14 @@ include(socket/socket.pri) include(ssl/ssl.pri) QMAKE_LIBS += $$QMAKE_LIBS_NETWORK + +ANDROID_BUNDLED_JAR_DEPENDENCIES = \ + jar/QtAndroidBearer-bundled.jar +ANDROID_JAR_DEPENDENCIES = \ + jar/QtAndroidBearer.jar +ANDROID_LIB_DEPENDENCIES = \ + plugins/bearer/libqandroidbearer.so +MODULE_PLUGIN_TYPES = \ + bearer +ANDROID_PERMISSIONS += \ + android.permission.ACCESS_NETWORK_STATE -- cgit v1.2.3