Question:
I get a "socketError: Permission denied" error when trying to connect to an IMAP server in my Android application. What is the cause of this?
If the LastErrorText contains a line such as this:
socketError: Permission deniedIt means you need to add permissions for Internet communications in your manifest. It should be placed outside of the application tag, such as:
<manifest> <application> . . . </application> <uses-permission android:name="android.permission.INTERNET" /> </manifest>