mirror of
https://github.com/QuasarApp/QtAndroidTools.git
synced 2025-04-30 06:54:31 +00:00
Update README.md
This commit is contained in:
parent
5f7a83b268
commit
e118a4890e
11
README.md
11
README.md
@ -23,6 +23,10 @@ Allow monitoring the battery level and state
|
||||
Allow monitoring the strength of the phone signal
|
||||
[Documentation](https://falsinsoft.blogspot.com/2019/01/qtandroidtools-signalstrength.html)
|
||||
|
||||
**AdMobBanner**
|
||||
Allow to show AdMob banner inside QML app
|
||||
[Documentation](https://falsinsoft.blogspot.com/2019/01/qtandroidtools-admobbanner.html)
|
||||
|
||||
# How To Integrate
|
||||
- Place QtAndroidTools lib to your project dir and include it in .pro file
|
||||
```
|
||||
@ -34,4 +38,9 @@ include(QtAndroidTools/QtAndroidTools.pri)
|
||||
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
|
||||
```
|
||||
|
||||
**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.
|
||||
- In the main() body insert the call for initialize the library
|
||||
```
|
||||
QtAndroidTools::InitializeQmlTools();
|
||||
```
|
||||
|
||||
**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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user