I had another customer with the same phone (Droid Charge) complain about this now too.
I asked him to disable the notification icon in my app and he said the vibrations went away.
Maybe I am doing something fundamentally wrong with them, but one thing I don't understand is that I am explicitly setting vibration to off (at least I think I am) in the notification statement. In fact, this does not vibrate on my EVO, and I am inclined to think this is an issue with the Droid Charge, at least the only two complaints I have gotten were with that phone.
Below is the sub I use to toggle the notification icon. Here is what I am doing:
1) If the app is the free version (DemoVersion = True) then I always try to remove the notification because it is a pro-only feature. This is done with a Try/Catch just in case there is not a notification present.
2) If the app is the pro (paid) version and I want to show or update the notification, I check to see if STBName has a value and if so, it is mentioned in the notification. Otherwise I use a generic notification.
3) Even in the pro version, I only allow the notification icon to appear if the user is on the main activity. So if they start another activity in my app, I hide the notification if it is present then re-show it when they return to the main activity.
Sub ToggleNotificationIcon (OnOff As Boolean)
If OnOff = True Then
If Common.DemoVersion = False Then
Dim n As Notification
n.Initialize
n.Icon = "icon":n.AutoCancel = False:n.Light = False:n.Sound = False:n.Vibrate = False
n.OnGoingEvent = True
If Common.STBName <> "" Then
n.SetInfo("DirecTV Remote", Common.STBName, "")
Else
n.SetInfo("DirecTV Remote", "Press here to use the remote", "")
End If
n.Notify(1)
Else
Try
Dim n As Notification
n.Cancel(1)
Catch
End Try
End If
Else
Try
Dim n As Notification
n.Cancel(1)
Catch
End Try
End If
End Sub
On that strange vibration pattern, I can only guess that maybe it is from my code hiding and showing (or "reshowing") it multiple times. I think I have it set to show (reduntantly) in several places in the code. I didn't think this would ever be an issue but obviously it is if it is vibrating! But it shouldn't be!
Another thought: Should I maybe be declaring "Dim n As Notification" in globals rather than redeclare it everytime I want to hide or show it?
I don't know why this is happening on the Droid Charge and I certainly hope it isn't happening on too many other devices because it would definitely annoy people enough to uninstall / refund the paid app.
:sign0085: