Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #26442 > unrolled thread

Mail alearter in java

Started byvasu.ghs@gmail.com
First post2013-10-27 01:17 -0700
Last post2013-10-27 17:43 -0400
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Mail alearter in java vasu.ghs@gmail.com - 2013-10-27 01:17 -0700
    Re: Mail alearter in java Knute Johnson <september@knutejohnson.com> - 2013-10-27 09:42 -0700
    Re: Mail alearter in java Jeff Higgins <jeff@invalid.invalid> - 2013-10-27 17:43 -0400

#26442 — Mail alearter in java

Fromvasu.ghs@gmail.com
Date2013-10-27 01:17 -0700
SubjectMail alearter in java
Message-ID<692ab63a-d86d-48cb-8f16-a9039e6a0e93@googlegroups.com>
Hello everyone,
i want to develop a mail alearter in java, whose pop up should raise up whn internet connection detected.
I tried a lot, but no success achieved. Please help me .

[toc] | [next] | [standalone]


#26445

FromKnute Johnson <september@knutejohnson.com>
Date2013-10-27 09:42 -0700
Message-ID<l4jfps$843$1@dont-email.me>
In reply to#26442
On 10/27/2013 1:17 AM, vasu.ghs@gmail.com wrote:
> Hello everyone, i want to develop a mail alearter in java, whose pop
> up should raise up whn internet connection detected. I tried a lot,
> but no success achieved. Please help me .
>

The simplest way to do that that I can think of is to write a proxy.  A
program that you connect to with your mail client and then the proxy
connects to the mail server.  Then you can detect when mail is
downloaded or available.

-- 

Knute Johnson

[toc] | [prev] | [next] | [standalone]


#26446

FromJeff Higgins <jeff@invalid.invalid>
Date2013-10-27 17:43 -0400
Message-ID<l4k1d6$teb$1@dont-email.me>
In reply to#26442
On 10/27/2013 04:17 AM, vasu.ghs@gmail.com wrote:
> Hello everyone,
> i want to develop a mail alearter in java, whose pop up should raise up whn internet connection detected.

Using java-dbus handle connectivity signals from NetworkManager.
Oh, you're on Android, why didn't you say? Simple, register for events 
from ConnectivityManager.
No? Windows? Just register under 
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Notifyees 
- not sure about a pure Java version.
Then just pop-up or mail-out as desired.

> I tried a lot, but no success achieved. Please help me .
>

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web