Disabling AppNap from java

Paul Taylor paul_t100 at fastmail.fm
Sat Feb 22 05:51:49 PST 2014


I think Im having problems with AppNap with my application, although it is difficult to understand when/if it is kicking in.

'The correct way to disable App Nap is to use the -[NSProcessInfo beginActivityWithOptions:reason:] and -[NSProcessInfo endActivity] APIs within your app via JNI, and only when your app is actually doing work.' - Mike Swingler

Has anything been done to disable AppNap from java without having to use JNI

Paul



More information about the macosx-port-dev mailing list