kailIII / android-notifier

Automatically exported from code.google.com/p/android-notifier
0 stars 0 forks source link

No notification to desktop when network changed #192

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set android-notifier to use wifi
2. everything run smoothly
3. go to somewhere
4. return to office
5. wifi auto reconnect, we wont get any notification

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
ubuntu 64bit 10.04

Please provide any additional information below.

Original issue reported on code.google.com by superbiji on 30 Sep 2010 at 9:36

GoogleCodeExporter commented 9 years ago
I'm seeing the same behaviour (HTC Desire, 2.2, rooted but running stock Sense 
-> Ubuntu 10.04 via WiFi global broadcast).

Additionally: activating Remote Notifier by selecting it from the notification 
drop down on the phone fixes the problem and subsequent notifications appear on 
my PC as expected.

Original comment by ott...@gmail.com on 31 Oct 2010 at 7:18

GoogleCodeExporter commented 9 years ago
I suspect it happens because android suspends the services once you leave wifi.
As far as i know, when you have service sticked in Ongoing notifications it is 
never suspended. To stick it there tick on "Show notification icon" under 
Notification Service in android-notifier.

It worked for me several times today, hopefully it really fixes the problem.

Original comment by tenit...@gmail.com on 18 Jan 2011 at 1:01

GoogleCodeExporter commented 9 years ago
I have the same problem dispite having the notification icon on top all the 
time. I'm not only using Wifi, but also on the go syncing via 3G. The 
applications seems to drop dead as soon as I switch access point. The status 
logs tells me that the message was sent with both UDP and TCP.

Original comment by lengqv...@gmail.com on 18 Jan 2011 at 10:43

GoogleCodeExporter commented 9 years ago
True, enabling icon didnt help...

Ok, here is a work around i setup today:
Create a new profile in Tasker with "Wifi connected" context.
Add there Load App task and tell it to call Remote Notifier
Next add Go Home action.

It works fine all day for me, only issue there that when you connect to a wifi 
it will always leave whatever app you had opened and go to home screen, but it 
does not  cause any inconsistences to me.

Original comment by tenit...@gmail.com on 19 Jan 2011 at 10:11

GoogleCodeExporter commented 9 years ago
Thanks!

Trying that right now, but does that help when switchin from Wifi to 3G? (eg. 
leaving house)

Original comment by lengqv...@gmail.com on 19 Jan 2011 at 11:19

GoogleCodeExporter commented 9 years ago
Do you have it setup to notify when you are on 3g too?
Looks like remote notifier stopping working is not related to wifi disconnect 
as i was at home all evening and while it was showing notifications earlier it 
stopped doing it now for some reason, i had to manually open app to fix it...

Original comment by tenit...@gmail.com on 19 Jan 2011 at 11:31

GoogleCodeExporter commented 9 years ago
Yes I would like to send notifications via 3G as well, e.g. Notifications 
triggered by Tasker when I'm on my way home. The incoming calls/sms 
notifications seem to work more often than the 3rd party notifications from 
Tasker (which almost never works unless I restart my phone and stay within the 
same cell).

I guess two-way communication is not possible within this app? Would be nice to 
see if the message sent reached it´s recipient or not.

Original comment by lengqv...@gmail.com on 20 Jan 2011 at 6:24

GoogleCodeExporter commented 9 years ago
Confirmed, I'm having 2 wifi networks, one at home, one at office. After 
comming to office, wifi reconnects automaticaly, but notifier does not send 
notifications to new network. 

I'm having icon of notifier in notification bar. Once I enter notifier via 
notification bar, instantly popups notification on my ubuntu with battery 
status. After that notifications work.

Original comment by edke.kra...@gmail.com on 10 Mar 2011 at 8:28

GoogleCodeExporter commented 9 years ago
I'm having the same issue as commenter 8. Despite setting it to run on boot it 
appears as android is unloading the service. Only when I run the application 
does it once again enable notifications. 

I'm using UDP broadcasting and Cyanogenmod 7 Rc2 and my wifi policy is set to 
never sleep. Might I suggest that if the service is running to send a heartbeat 
message when wifi reconnects.

Original comment by txfurt...@gmail.com on 10 Mar 2011 at 5:13

GoogleCodeExporter commented 9 years ago
I am having the same issue..
A way around this is to use tasker..create an event "on wifi connect" to open 
android notify then to "go home"

Original comment by yorgos...@gmail.com on 2 Jun 2011 at 8:06

GoogleCodeExporter commented 9 years ago
Confirmed, i'm having the same issue over MacOSX and Linux, and with Froyo and 
Gingerbread, any solution except for the tasker? Thanks!

Original comment by jdavis...@gmail.com on 23 Jun 2011 at 1:21

GoogleCodeExporter commented 9 years ago
I too am having same problem here, on Samsung SGS2 (GT-9100i) 2.3.5 root, any 
fix? thanks.

Original comment by theop...@gmail.com on 4 Oct 2011 at 9:16