Giter Site home page Giter Site logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Update: I found new information in the Log.
The code goes through the init function into the login function.
it throws the error: java.net.UnknownHostException: www.google.com

I am using the virtual android device to test on.  Even though the virtual 
device is able to access the internet just fine, perhaps it is causing problems 
for the app resolving the domain name.

Original comment by [email protected] on 18 Oct 2012 at 1:37

from google-voice-java.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Update: real phone did not resolve the issue.
I stepped through the code in debug mode, but did not find any new information. 
 The UnknownHostException for (www.google.com) is tripped deep inside the 
HttpsURLConnectionImpl$HttpsEngine.  I tried looking at the URL as it was being 
built and passed into the functions, but I could not find anything wrong with 
it.
So far I am still stumped.

Original comment by [email protected] on 20 Oct 2012 at 3:00

from google-voice-java.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Resolution: I feel like an idiot now.  Turns out I forgot to request Internet 
privileges.  The following link guided me to the solution: 
http://stackoverflow.com/questions/3557996/android-httprequest-java-net-unknownh
ostexception

I added this line:
    <uses-permission
        android:name="android.permission.INTERNET" />

To the AndroidManifest.xml file and all was good in the world again.

Original comment by [email protected] on 20 Oct 2012 at 11:00

from google-voice-java.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Closing bug. Thank you!

Original comment by [email protected] on 11 Dec 2012 at 11:31

  • Changed state: Invalid
  • Added labels: Type-Other
  • Removed labels: Type-Defect

from google-voice-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.