Disabling AppNap from java

Eirik Bakke ebakke at MIT.EDU
Sat Feb 22 12:43:03 PST 2014

JNA might be a simpler way to call native functions:

-- Eirik

On 2/22/14, 8:51 AM, "Paul Taylor" <paul_t100 at fastmail.fm> wrote:

>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

More information about the macosx-port-dev mailing list