Android Question My VOIP App Crashes When Using Cellular Data

R_906

Member
Licensed User
Longtime User
Hi:

I have an udp voip app that worked fine on both wifi and cellular before trying it on my android 9 phone. Wifi works fine on the Android 9 phone. Cellular crashes. This is the case with both v10.7 and v11 of b4a. I don't know about previous versions.

Any help or suggestions would be great!

Rob

PS: My B4A app connects to a pc server as a client. Crashes do not occur when connecting to a standard pc. The crash only occurs when connecting to a faster gaming pc. both have windows 10???
 
Last edited:

R_906

Member
Licensed User
Longtime User
There is no way to know the full error because I only see errors when connected to WiFi. I thing I gave enough info to point me in some direction. I am guessing it is related to network latency.
 
Upvote 0

Jmu5667

Well-Known Member
Licensed User
Longtime User
You can plug a USB cable into your phone to get logging when not connected to Wifi. I would suggest you give more information if you want other members help you. Your information provided is rather vague.

Good luck.
 
Upvote 0

R_906

Member
Licensed User
Longtime User
Thank you for the help. I didn't think about USB debugging. My info is kind of vague. I did not want to post a bunch of code without knowing what was relevant.


Follow up - Problem Solved.

Error was due to free firewall software trial timed out and blocked one of 2 previously opened ports of my server(on my new gaming pc). Uncaught error, 'socket not connected' caused the crash that I was able to see, thanks to Jmu5667, once I used USB debug.
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…