On 22/02/2014 20:43, Eirik Bakke wrote:
JNA might be a simpler way to call native functions:
https://github.com/twall/jna
-- Eirik
On 2/22/14, 8:51 AM, "Paul Taylor" <paul_t...@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
JNI
Paul
I think JNA or its own is Wndows only isnt it, but there is something
called rococoa.
To be honest I was hoping someone else had encountered this particular
problem with AppNap and had something to share.
Paul