Questions tagged [rococoa]
9 questions
3
votes
1 answer
Sending email programmatically on a Mac using Java (through Mac Mail Client)
I've done quite a bit of research on this matter and I can't seem to come up with a solid solution to my problem.
I am developing a Java client application that (should) allow users to import their contacts from Mac Address Book by fetching them in…

Matt
- 31
- 2
2
votes
0 answers
Adding to the java.library.path or jna.library.path on OSX
I am trying to get Rococoa set up in order to attempt to incorporate a simple Cocoa widget into my java application, but the instruction tell me to add their bin directory to my jna.library.path variable but I do not know how to find this on OSX. …

Mike2012
- 7,629
- 15
- 84
- 135
1
vote
1 answer
JVM crash on calling NetworkExtension NETunnelProviderManager.loadAllFromPreferencesWithCompletionHandler
I want to call NetworkExtension framework functions from my java application. As a first step, I am calling NETunnelProviderManager.loadAllFromPreferencesWithCompletionHandler. I am using Rococoa library compiled from source (0.8.3-SNAPSHOT).
My…

goto
- 433
- 3
- 13
1
vote
1 answer
JNA Objective-C (Rococoa) Calendar Callback
I want to access the Objective-C EKEventStore in Java via Rococoa. The API specifies a callback to get notified when the user accepts the calendar access prompt, which works perfectly in pure Objective-C.
Native.loadLibrary("EventKit",…

Timon
- 11
- 3
1
vote
2 answers
Invalid memory access of location with Rococoa
I've been trying to code a simple screenshot application using rococoa (java to osx cocoa api library), and managed to get as far as actually taking the screenshot, and then saving it to a file. Unfortunately, once in a while, the application fails…

Sami
- 3,263
- 3
- 29
- 37
0
votes
0 answers
rococo parachain stop generate blocks
I have encountered a problem. I recently tried to upgrade the rococo parachain. After calling the enactAuthorizedUpgrade method, it stopped generating blocks and restarting the node did not work. This is the parachain log. Can anyone help me to find…
0
votes
2 answers
I need help in getting the current logged in user in Mac OSX using object-c from accessed via java's Rococoa
I am new in Mac OSX and I wanted to get the logged in user for an intranet authentication app I am working on at work. I have read about Rococoa and how it can be used to access native object-c methods and properties. Is there a beginner tutorial or…

Narshion M. Ngao
- 25
- 7
0
votes
1 answer
Trouble deciphering java class not visible from class loader error
I am trying to write some java code that will code the will get the Cocoa IKPictureTaker widget to load using Rococoa. I feel like I am getting closer now but I am getting an error and I am not quite sure why it is occurring. The error that I am…

Mike2012
- 7,629
- 15
- 84
- 135
0
votes
1 answer
Adding something to jna.library.path on OSX
I need to added a bin directory to jna.library.path to get Rococoa working on OSX but I can't seem to figure out how to do so. Inside java when I call System.getProperty("jna.library.path"); it returns null so this won't give me a clue about where…

Mike2012
- 7,629
- 15
- 84
- 135