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 6872325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:54:49+00:00 2026-05-27T03:54:49+00:00

Is there any way in Java where if I run my Java app in

  • 0

Is there any way in Java where if I run my Java app in background and whenever I click on some App, I can get the name of it.

This Java program should run in background without the knowledge of the user and will send the app name to a remote server.

  • 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-05-27T03:54:49+00:00Added an answer on May 27, 2026 at 3:54 am

    I wrote a time-tracker app that does something similar back in the day, to track how I was spending time on various projects/applications, etc. The idea was to track my application usage locally, and use a POST request to a web server for centralized logging. I could also run this app on any machine I wanted, and the POST request would still go back to a central server, so I could track my own activity across multiple machines.

    One thing you could use is JNI to bind to the Win32 API, which can then give you access to Window titles, process information, etc.

    This Q/A should get you started:
    How can I read the window title with JNI or JNA?

    Somewhere (I can’t find it right now) there’s a .JAR on the net that wraps the win32 API, making this sort of functionality very simple to do in Java.

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

Sidebar

Related Questions

Is there any way to make this work in Java? public static void change(List<?
Is there any way, from within a Java program compiled by gcj, to find
My Java app needs 3rd party JARs to run. I can't seem to get
Is there any way to restart a program in Eclipse? (preferably 1-click) I really
Is there any way (in Java Servlet) to determine whether a HTTP POST or
Is there any way in Java to enforce a minimum window size? The last
Is there any other way in java to implement call backs apart from inner
Is there any way to increase the heap size for Java ME on a
Is there any tricky way to use Java reserved words as variable, method, class,
Is there any way to pass a callback to java code, from C. And

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.