Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2cc1332

Browse files
Update to v1.0.3
2 parents8fcd218 +ba1d7ff commit2cc1332

File tree

35 files changed

+343
-108
lines changed

35 files changed

+343
-108
lines changed

‎apk/Clinometer-1.0.3.apk‎

4.28 MB
Binary file not shown.

‎apk/Clinometer-latest.apk‎

56.7 KB
Binary file not shown.

‎app/build.gradle‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ android {
1818

1919
// -----------------------------------------------------------------------------------------
2020
// We use the Semantic Versioning (https://semver.org/):
21-
versionName'1.0.2'
22-
versionCode3
21+
versionName'1.0.3'
22+
versionCode4
2323
// -----------------------------------------------------------------------------------------
2424

2525
vectorDrawables.useSupportLibrary=true
@@ -48,15 +48,15 @@ android {
4848
dependencies {
4949
implementation fileTree(dir:'libs',include: ['*.jar'])
5050

51-
implementation'androidx.appcompat:appcompat:1.2.0'
51+
implementation'androidx.appcompat:appcompat:1.3.1'
5252
implementation'androidx.legacy:legacy-support-v4:1.0.0'
5353
implementation'androidx.preference:preference:1.1.1'
54-
implementation'androidx.navigation:navigation-fragment:2.3.3'
55-
implementation'androidx.navigation:navigation-ui:2.3.3'
54+
implementation'androidx.navigation:navigation-fragment:2.3.5'
55+
implementation'androidx.navigation:navigation-ui:2.3.5'
5656

57-
implementation'com.google.android.material:material:1.3.0'
57+
implementation'com.google.android.material:material:1.4.0'
5858

5959
testImplementation'junit:junit:4.12'
60-
androidTestImplementation'androidx.test.ext:junit:1.1.2'
61-
androidTestImplementation'androidx.test.espresso:espresso-core:3.3.0'
60+
androidTestImplementation'androidx.test.ext:junit:1.1.3'
61+
androidTestImplementation'androidx.test.espresso:espresso-core:3.4.0'
6262
}

‎app/src/main/AndroidManifest.xml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,26 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!--
4+
~ AndroidManifest.xml
5+
~ Created by G.Capelli on 21/5/2020
6+
~ This file is part of BasicAirData Clinometer
7+
~
8+
~ Copyright (C) 2020 BasicAirData
9+
~
10+
~ This program is free software: you can redistribute it and/or modify
11+
~ it under the terms of the GNU General Public License as published by
12+
~ the Free Software Foundation, either version 3 of the License, or
13+
~ (at your option) any later version.
14+
~
15+
~ This program is distributed in the hope that it will be useful,
16+
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
17+
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18+
~ GNU General Public License for more details.
19+
~
20+
~ You should have received a copy of the GNU General Public License
21+
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
22+
-->
23+
224
<manifestxmlns:android="http://schemas.android.com/apk/res/android"
325
package="eu.basicairdata.clinometer">
426

‎app/src/main/java/eu/basicairdata/clinometer/BackgroundView.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/*
22
* BackgroundView - Java Class for Android
3-
* Created by G.Capelli (BasicAirData) on 7/1/2021
3+
* Created by G.Capelli on 7/1/2021
4+
* This file is part of BasicAirData Clinometer
45
*
5-
*This file is part ofBasicAirData Clinometer for Android.
6+
*Copyright (C) 2020BasicAirData
67
*
78
* This program is free software: you can redistribute it and/or modify
89
* it under the terms of the GNU General Public License as published by

‎app/src/main/java/eu/basicairdata/clinometer/CalibrationActivity.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/*
22
* CalibrationActivity - Java Class for Android
3-
* Created by G.Capelli (BasicAirData) on 3/6/2020
3+
* Created by G.Capelli on 3/6/2020
4+
* This file is part of BasicAirData Clinometer
45
*
5-
*This file is part ofBasicAirData Clinometer for Android.
6+
*Copyright (C) 2020BasicAirData
67
*
78
* This program is free software: you can redistribute it and/or modify
89
* it under the terms of the GNU General Public License as published by

‎app/src/main/java/eu/basicairdata/clinometer/CameraInformation.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/*
22
* CameraInformation - Java Class for Android
3-
* Created by G.Capelli (BasicAirData) on 8/1/2021
3+
* Created by G.Capelli on 8/1/2021
4+
* This file is part of BasicAirData Clinometer
45
*
5-
*This file is part ofBasicAirData Clinometer for Android.
6+
*Copyright (C) 2020BasicAirData
67
*
78
* This program is free software: you can redistribute it and/or modify
89
* it under the terms of the GNU General Public License as published by

‎app/src/main/java/eu/basicairdata/clinometer/CameraPreview.java‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
/*
22
* CameraPreview - Java Class for Android
3-
* Created by G.Capelli (BasicAirData) on 4/1/2021
3+
* Created by G.Capelli on 4/1/2021
4+
* This file is part of BasicAirData Clinometer
45
*
56
* The class is based on the developer.android.com CameraPreview Class:
67
* https://developer.android.com/guide/topics/media/camera#custom-camera
78
*
8-
*This file is part ofBasicAirData Clinometer for Android.
9+
*Copyright (C) 2020BasicAirData
910
*
1011
* This program is free software: you can redistribute it and/or modify
1112
* it under the terms of the GNU General Public License as published by

‎app/src/main/java/eu/basicairdata/clinometer/ClinometerActivity.java‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/*
22
* ClinometerActivity - Singleton Java Class for Android
3-
* Created by G.Capelli (BasicAirData) on 21/5/2020
3+
* Created by G.Capelli on 21/5/2020
4+
* This file is part of BasicAirData Clinometer
45
*
5-
*This file is part ofBasicAirData Clinometer for Android.
6+
*Copyright (C) 2020BasicAirData
67
*
78
* This program is free software: you can redistribute it and/or modify
89
* it under the terms of the GNU General Public License as published by
@@ -342,7 +343,7 @@ public void onRequestPermissionsResult(int requestCode, @NonNull String[] permis
342343
super.onRequestPermissionsResult(requestCode,permissions,grantResults);
343344
if (requestCode ==CAMERA_REQUEST_CODE) {
344345
Log.w("ClinometerActivity","onRequestPermissionsResult()");
345-
if (grantResults[0] ==PackageManager.PERMISSION_GRANTED) {
346+
if ((grantResults.length >0) && (grantResults[0] ==PackageManager.PERMISSION_GRANTED)) {
346347
isInCameraMode =switchToCameraMode(!isInCameraMode);
347348
}else {
348349
showToast(getString(R.string.toast_please_grant_camera_permission));

‎app/src/main/java/eu/basicairdata/clinometer/ClinometerApplication.java‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
/*
22
* ClinometerApplication - Singleton Java Class for Android
3-
* Created by G.Capelli (BasicAirData) on 10/1/2021
3+
* Created by G.Capelli on 10/1/2021
4+
* This file is part of BasicAirData Clinometer
45
*
5-
*This file is part ofBasicAirData Clinometer for Android.
6+
*Copyright (C) 2020BasicAirData
67
*
78
* This program is free software: you can redistribute it and/or modify
89
* it under the terms of the GNU General Public License as published by
@@ -48,6 +49,7 @@ public class ClinometerApplication extends Application {
4849
publicstaticfinalStringKEY_PREF_CAMERA ="prefCamera";
4950
publicstaticfinalStringKEY_PREF_CAMERA_EXPOSURE_COMPENSATION ="prefExposureCompensation";
5051
publicstaticfinalStringKEY_PREF_ABOUT ="prefAbout";
52+
publicstaticfinalStringKEY_PREF_ONLINE_HELP ="prefOnlineHelp";
5153
publicstaticfinalStringKEY_PREF_KEEP_SCREEN_ON ="prefKeepScreenOn";
5254
publicstaticfinalStringKEY_PREF_CALIBRATION_ANGLE_0 ="prefCalibrationAngle0";
5355
publicstaticfinalStringKEY_PREF_CALIBRATION_ANGLE_1 ="prefCalibrationAngle1";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp