login about faq

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?

asked Oct 12 '12 at 10:07

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


If the LastErrorText contains a line such as this:

socketError: Permission denied
It 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>

link

answered Oct 12 '12 at 10:08

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×45
×7
×6
×2

Asked: Oct 12 '12 at 10:07

Seen: 2,284 times

Last updated: Oct 12 '12 at 10:08

powered by OSQA