2018-12-14 21:58:45 +01:00
# QtAndroidTools
2019-01-22 15:26:51 +01:00
QtAndroidTools is a library that allows to simplify access to some native Android features from Qt C++ and QML.
# The tools
2019-01-25 11:37:17 +01:00
**ApkExpansionFiles**
Help in manage the apk expansion files download
2019-01-22 15:26:51 +01:00
[Documentation ](https://falsinsoft.blogspot.com/2019/01/qtandroidtools-apkexpansionfiles.html )
2019-01-25 11:37:17 +01:00
**AppPermissions**
Allow to request Android app permissions in an easier way
2019-01-22 15:26:51 +01:00
[Documentation ](https://falsinsoft.blogspot.com/2019/01/qtandroidtools-apppermissions.html )
2019-01-25 11:37:17 +01:00
**ApkInfo**
Return info about the apk containing the executed app
2019-01-22 15:26:51 +01:00
[Documentation ](https://falsinsoft.blogspot.com/2019/01/qtandroidtools-apkinfo.html )
2019-01-25 11:37:17 +01:00
**BatteryState**
Allow monitoring the battery level and state
[Documentation ](https://falsinsoft.blogspot.com/2019/01/qtandroidtools-batterystate.html )
2019-01-26 18:09:05 +01:00
**SignalStrength**
Allow monitoring the strength of the phone signal
[Documentation ](https://falsinsoft.blogspot.com/2019/01/qtandroidtools-signalstrength.html )
2019-01-22 15:26:51 +01:00
# How To Integrate
- Place QtAndroidTools lib to your project dir and include it in .pro file
```
include(QtAndroidTools/QtAndroidTools.pri)
```
- Assign in you .pro file varialble ANDROID_PACKAGE_SOURCE_DIR before include QtAndroidTools/QtAndroidTools.pri, for ex.
```
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
```
2019-01-25 11:37:17 +01:00
**IMPORTANT NOTE:** The library .pri check if java sources are already present into android/src folder, if no copy the library files. In case you are updating the library remember to remove these java files to be sure having always the new java versions code.