Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I rooted my first-generation Kindle Fire (at the time running 6.3.2) so I can run Jelly Bean on it. However, when programming a simple networking app, the following line:

Socket sock = Socket(hostname, port);

which is wrapped in a try-catch statement to catch an UnknownHostException or an IOExeption, throws the following Exception on this device:

java.lang.RuntimeException: Unable to start activity ComponentInfo{<activity>}

I ran the same program on a Pantech Crossover (2.3.6) and didn't get any errors or Exceptions.

My question is: Could the process of rooting my Kindle Fire have tampered with its networking ability? I can access the Internet just fine, though, the problem lies in connecting to a Socket. If so, how can I rectify this problem?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.