Skip to content

Commit

Permalink
v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wh201906 committed Jun 15, 2023
1 parent fd66ea8 commit 88a3403
Show file tree
Hide file tree
Showing 13 changed files with 222 additions and 106 deletions.
4 changes: 2 additions & 2 deletions Android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "priv.wh201906.medifier"
minSdk 19
targetSdk 31
versionCode 1
versionName "0.0.1"
versionCode 2
versionName "0.0.2"
}

buildTypes {
Expand Down
5 changes: 5 additions & 0 deletions Android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_SCAN"/>
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

<application
android:allowBackup="true"
Expand Down
11 changes: 9 additions & 2 deletions Qt/android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<manifest package="priv.wh201906.medifier.qt" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="V0.0.2" android:versionCode="2" android:installLocation="auto">
<manifest package="priv.wh201906.medifier.qt" xmlns:android="http://schemas.android.com/apk/res/android" android:versionName="v0.0.2" android:versionCode="2" android:installLocation="auto">
<!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
Remove the comment if you do not require these default permissions. -->
<!-- %%INSERT_PERMISSIONS -->


<!-- The following comment will be replaced upon deployment with default features based on the dependencies of the application.
Remove the comment if you do not require these default features. -->
Expand Down Expand Up @@ -74,4 +74,11 @@

</application>

<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_SCAN"/>
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>

</manifest>
1 change: 1 addition & 0 deletions Qt/commrfcomm.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class CommRFCOMM : public Comm
{
Q_OBJECT
public:
explicit CommRFCOMM(QObject *parent = nullptr);
void open(const QString& address) override;
Expand Down
3 changes: 0 additions & 3 deletions Qt/deviceform.ui
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
Expand Down
7 changes: 7 additions & 0 deletions Qt/mEDIFIER.pro
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@ else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
DISTFILES += \
android/AndroidManifest.xml

# Remember to change version in AndroidManifest.xml
VERSION = 0.0.2
# Expose VERSION to the source files.
DEFINES += APP_VERSION=\\\"$$VERSION\\\"
Loading

0 comments on commit 88a3403

Please sign in to comment.