Greg Alexander
|
e0151fa757
|
Now can start-on-boot on Oreo/Pie, with the caveat that start-on-boot
requires foreground-service.
|
2019-05-26 21:46:27 -04:00 |
|
Greg Alexander
|
38f477e63c
|
To work on Android 28 (Pie), we have to explicitly declare the
FOREGROUND_SERVICE permission.
|
2019-05-26 21:23:56 -04:00 |
|
Greg Alexander
|
9b451c9b29
|
Define the channel for the notification, which requires using
NotificationCompat, which I decided to do using "AndroidX".
Anyways, this builds, but I don't know if it works.
|
2019-05-26 20:47:59 -04:00 |
|
Greg Alexander
|
993fe96b73
|
I let Android Studio upgrade the project to the newest version of Gradle
for Android or what have you, and these are the relevant changes I think.
They don't seem to help the problem I was having but newer is better, no?
|
2019-05-26 20:10:50 -04:00 |
|
Greg Alexander
|
1656a5b9c4
|
AndroidStudio tells me the sdk version setting in AndroidManifest is a
bad idea, because it is redundant to the setting in app/build.gradle
|
2019-05-26 20:09:59 -04:00 |
|
Greg Alexander
|
190c8588e9
|
request the SD card permission if it hasn't already been granted or
requested in the past.
|
2019-05-26 19:07:33 -04:00 |
|
Greg Alexander
|
0a53e627d2
|
manually specify last colors...
|
2019-05-26 01:34:09 -04:00 |
|
Greg Alexander
|
22d7993e23
|
Find native lib directory the correct way, using
Context.getApplicationInfo().nativeLibraryDir.
|
2019-05-26 01:29:58 -04:00 |
|
Greg Alexander
|
611c57bcc9
|
Add android.permission.REQUEST_INSTALL_PACKAGES, which doesn't seem to
require anything from the user, and no notification to the user either!
|
2019-05-26 00:20:38 -04:00 |
|
Greg Alexander
|
ec91693308
|
update AndroidManifest to also specify sdk 16 (JB 4.2)
|
2019-05-26 00:20:25 -04:00 |
|
Greg Alexander
|
edbaacbf82
|
Fix white-on-white text.
|
2019-05-25 23:27:02 -04:00 |
|
Greg Alexander
|
7419f62d98
|
Update minSdkVersion to 16, because that's the oldest supported by the
NDK these days.
|
2019-05-25 22:31:09 -04:00 |
|
Greg Alexander
|
be43d90c70
|
Manually convert from ant to gradle, roughly.
NB - Play store currently requires targetSdkVersion>=26, but will soon
(August) require >=28.
|
2019-05-25 21:58:12 -04:00 |
|