Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9122057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:00:17+00:00 2026-06-17T06:00:17+00:00

this is just a general question. I’m not having an actual project or something

  • 0

this is just a general question. I’m not having an actual project or something else where I want to do this.
Is it possible to build an App in Java and add some framework stuff or something else and use Notication Center?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T06:00:19+00:00Added an answer on June 17, 2026 at 6:00 am

    I wrote a simple C -> Objective-C shim .dylib that exported a function showNotification That delivered a notification immediately.

    Then I wrote a JNA wrapper to the function exported in the dylib. I’m sure that you could use a combination of Rococoa and JNAerator to eliminate this dylib altogether.

    Then I wrote a simple java application that I turned into an app bundle. This is the important point. If your java application is not in an app bundle then notifications will not be delivered.

    Messages delivered to the notification center.

    Screenshot of delivered notification

    It’s eminently doable, you just have to play along with the rules of the NSUserNotificationCenter – it must be in an app bundle.

    I used java 7, update 9 for this. Another question seems to have had even more success.

    The code used to build this simple application is available on github. It contains an xcode project for creating the .dylib, and a netbeans project that makes use of the .dylib to deliver notifications.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is just kind of general question, steming from something else. Say you want
It's likely that this is just a general Python Tkinter question, not necessarily a
This is just a bit of a general question regading app/lib file sizes. When
This is just a general question on actual thread design. I'm using Java on
Just a very general question, that not only applies to this example. Let's say
Just a general curiosity question. Why is this namespace System.Collections.Generic added by default in
i just want to know a general information about this particular information. Any good
I fear this just may not be possible, but I'm trying to create a
This is just a general question relating to some high-performance computing I've been wondering
This is just a general question irrespective of database architecture. I am maintaining an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.