diff --git a/README.md b/README.md index ce0373d..be2bf8e 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # MicroPinner -MicroPinner is a lightweight dialog-only application, that turns your statusbar into a pingboard. (You can basically create your own notifications) -You can customize the notifications title and content, as well as its priority and visibility (Works on Android 5+ only). +MicroPinner is a lightweight dialog-only application, that turns your statusbar into a pingboard, almost same as sticky notes on your PC. (You can basically create your own notifications or noted reminders) +You can customize the notifications title and content, as well as its priority and visibility (Works on Android 5.0 and above). [![Build Status](https://travis-ci.org/dotWee/MicroPinner.svg?branch=master)](https://travis-ci.org/dotWee/MicroPinner) [![Issues](https://img.shields.io/github/issues/dotWee/MicroPinner.svg)](https://github.com/dotWee/MicroPinner/issues) @@ -16,16 +16,19 @@ You can customize the notifications title and content, as well as its priority a Get it on F-Droid + ## Features -The application itself +The application currently has the following features -+ consumes no memory in the background (no background-services, no background-processes) ++ low background memory consumption(no background-services, no background-processes) + has no impact on your battery as it uses only native functions of Android -+ is compatible down to Android 4.1 Jelly Bean (sdk16) -+ weights less than 850kb (Version v2.0.1) -+ is fully open source! ++ now works flawlessly on Android Oreo 8.0+ ++ it is light weight less than 850kb (Version v2.2.0) ++ it contains no ads or unnecessary pop-ups ++ it is fully open source! ++ it is absolutely free! Design & UI @@ -62,3 +65,5 @@ To compile MicroPinner, simply import this project into **Android Studio** or ** Copyright (c) 2015 Lukas 'dotwee' Wolfsteiner The source-code of MicroPinner is licensed under the [_Do What The Fuck You Want To_](/LICENSE.md) public license. + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2FdotWee%2FMicroPinner.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2FdotWee%2FMicroPinner?ref=badge_large) \ No newline at end of file diff --git a/app/app.iml b/app/app.iml index e15caa8..4629e6f 100644 --- a/app/app.iml +++ b/app/app.iml @@ -84,12 +84,13 @@ + + - @@ -97,7 +98,6 @@ - @@ -122,32 +122,32 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/build.gradle b/app/build.gradle index 86453c3..c5e26b4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -8,8 +8,8 @@ android { applicationId "de.dotwee.micropinner" minSdkVersion 16 targetSdkVersion 27 - versionCode 27 - versionName "v2.1.0" + versionCode 29 + versionName "v2.2.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } @@ -34,21 +34,20 @@ android { } dependencies { - compile fileTree(include: ['*.jar'], dir: 'libs') - compile 'com.android.support:appcompat-v7:27.1.0' + implementation 'com.android.support:appcompat-v7:27.1.0' - androidTestCompile('com.android.support.test.espresso:espresso-core:3.0.1') { + androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.1') { // Necessary if your app targets Marshmallow (since Espresso // hasn't moved to Marshmallow yet) exclude group: 'com.android.support', module: 'support-annotations' } - androidTestCompile('com.android.support.test.espresso:espresso-intents:3.0.1') { + androidTestImplementation('com.android.support.test.espresso:espresso-intents:3.0.1') { // Necessary to avoid version conflicts exclude group: 'com.android.support', module: 'support-annotations' } - androidTestCompile('com.android.support.test:runner:1.0.1') { + androidTestImplementation('com.android.support.test:runner:1.0.1') { // Necessary if your app targets Marshmallow (since the test runner // hasn't moved to Marshmallow yet) exclude group: 'com.android.support', module: 'support-annotations' diff --git a/app/release/output.json b/app/release/output.json index cb7b3de..bce77aa 100755 --- a/app/release/output.json +++ b/app/release/output.json @@ -1 +1 @@ -[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":27},"path":"app-release.apk","properties":{"packageId":"de.dotwee.micropinner","split":"","minSdkVersion":"16"}}] \ No newline at end of file +[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":29,"versionName":"v2.2.0","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}] \ No newline at end of file diff --git a/app/src/main/java/de/dotwee/micropinner/tools/NotificationTools.java b/app/src/main/java/de/dotwee/micropinner/tools/NotificationTools.java index feead20..7e4089a 100644 --- a/app/src/main/java/de/dotwee/micropinner/tools/NotificationTools.java +++ b/app/src/main/java/de/dotwee/micropinner/tools/NotificationTools.java @@ -7,6 +7,7 @@ import android.app.PendingIntent; import android.content.Context; import android.content.Intent; +import android.os.Build; import android.support.annotation.NonNull; import android.support.v4.app.NotificationCompat; import android.util.Log; @@ -92,6 +93,15 @@ public static void notify(@NonNull Context context, @NonNull PinSpec pin) { } if (notificationManager != null) { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { + + /* Create or update. */ + NotificationChannel channel = new NotificationChannel(CHANNEL_NAME, + "Pins", + NotificationManager.IMPORTANCE_DEFAULT); + notificationManager.createNotificationChannel(channel); + } + Log.i(TAG, "Send notification with pin id " + pin.getIdAsInt() + " to system"); Notification notification = builder.build(); diff --git a/build.gradle b/build.gradle index 42d2970..52e98c3 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.0' + classpath 'com.android.tools.build:gradle:3.1.2' } } diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 14c39c6..3e432bc 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -142,4 +142,19 @@ - Updated resources and minor layout adjustments - Target latest Android Version (8.0.0 / sdk26) - Some code-cleanup and refactor -- download: [Github](https://github.com/dotWee/MicroPinner/releases/download/release-v2.1.0/release_v2.1.0.apk) \ No newline at end of file +- download: [Github](https://github.com/dotWee/MicroPinner/releases/download/release-v2.1.0/release_v2.1.0.apk) + +#### [Version: 2.1.1 / 04th April 2018] +- sha1 checksum: 624a79ff64591caf3fcadee963cf5a6d1991b2bf +- changes: + - Fixed issue with Android Oreo + - Updated dependencies + - Target latest Android Version (8.1.0 / sdk27) + - Some code-cleanup and refactor +- download: [Github](https://github.com/dotWee/MicroPinner/releases/download/release-v2.1.1/release_v2.1.1.apk) + +#### [Version: 2.2.0 / 29th April 2018] +- sha1 checksum: 216a5e32ef66d72f002e591dbf7898b9e107943b +- changes: + - Fixed issue non-appearing pins on Android Oreo +- download: [Github](https://github.com/dotWee/MicroPinner/releases/download/release-v2.2.0/release_v2.2.0.apk) \ No newline at end of file