All your problems with Audio, Video and Images.
i have an audio streaming app that crashes when for example: it is connected to wifi or 3g but the connection is too bad to play the audio after about 10 - 15 seconds the force close message pops up, if you press wait it just pops back up in a few seconds. what code can i use to stop this??
i already have it set that if it has no internet connection a toast message pops up and tells you you have no connection.
- Junior Developer
- Posts: 14
- Joined: Wed Oct 13, 2010 11:10 am
You can use the connection manager to get if the device is currnetly online or not inside a thread. Based on the connectivity status you can either stream the audio or you can throw an error message and stop the streaming process in the background.
- Senior Developer
- Posts: 126
- Joined: Tue Mar 02, 2010 6:34 am
- Location: Chennai, India
Return to Multimedia Problems
Who is online
Users browsing this forum: Exabot [Bot], Google [Bot], Yahoo [Bot] and 10 guests