However, I have just fixed my Gmail problem on my BlackBerry (BB). It is not a major thing, also probably a "rookie-to-bb" issue, but very useful to know as it affects the Gmail and Gmaps applications. I downloaded the apps via mobile.google.com and all went smoothly. When I filled in the username and password, however, the message "Network Error: java.lang.Runtime Exception: Unexpected server response: 401 Unauthorized." appeared.
To fix this problem you have to go to Options > Advanced Options > TCP: set APN to orangeinternet, (leave username and password
That is all... My BB journey has just started but I hope I will not have many issues with it : )