part-cw / lambdanative

LambdaNative is a cross-platform development environment written in Scheme, supporting Android, iOS, BlackBerry 10, OS X, Linux, Windows, OpenBSD, NetBSD, FreeBSD and OpenWrt.
http://www.lambdanative.org
Other
1.39k stars 86 forks source link

ANDROID: new module androidforeground (replace #256) #404

Open 0-8-15 opened 3 years ago

0-8-15 commented 3 years ago

In order to avoid being killed by Android apps are supposed to register a notification/service.

Usage:

(foreground-service! #t) ;; start service

(foreground-service! #f) ;; stop service
0-8-15 commented 3 years ago

replaces #256

0-8-15 commented 3 years ago

wrong button: closing for 256

0-8-15 commented 3 years ago

double down: closed the wrong one!

mgorges commented 3 years ago

Before I start looking at this in detail IF_ANDROIDAPI_GT_25 is undefined.