Colin - Good question - it is the sound of the default notification but I don't handle notifications in my program
Computersmit64 - YOU were right it was the starting of Services. If I don't start my services the program starts without a sound.
Do the StartService in starter and I heard the default notification sound.
In this program the background service is talking to my AMP over the network
NOW I know (well kind of know) what is causing the default notification to play.
How can I stop it and why is it only happening in this version of Android 5.1.1
DID find another something strange (now this program works on all my other devices no problem) but under this version of Android I am getting a stream error
Saw a post where this happened and Erel told someone it wasn't are real error so for right now I am ignoring it.
But again this only happens under 5.1.1
NOT sure if it good or bad that I added this device/OS to my collection
'----------------------------------------------------------------------------------
' FOR some reason I have not figured out why yet in Android version 5.1.1
' I get this stream error which causes me to think the connection has been
' lost and it really isn't. So for the right now I ignore it.
'----------------------------------------------------------------------------------
If LastException.Message.Contains("EBADF (Bad file number)") Then
Return
End If
DonManfred I am attaching a program that under 5.1.1 that causes the problem with default notification being played.
My music program runs on a device that is connected full time to my stereo and the stereo and all it's setting are control by music program.
The program I am attaching allows me to talk to another program on the stereo device (loaded at boot) and see if the music program is running if not starts it and then relays the information of what is playing whatever device (normally my phone). My house is wired for speakers (long before bluetooth) and if I am in the shop or basement and what to turn on the music I can. I can skip songs. Mark songs as Favorites or Never Player or categorize (say it is Christmas, Thanksgiving, etc) without having to go to main device. Here is a screen shots. Note: the last screen shot is of the actual MusicDB (Music Player) software from another session
Anyway. Thanks for the help guys. If anyone has any more ideas why starting a service is causing this let me know would greatly appreciate it.
AGAIN this problem is only appearing under Android 5.1.1
BobVal