Comments (4)
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.
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.
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.
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)
- java.io.IOException: Answer did not contain rnr_se! HOT 4
- unread messages ? its not in the right spot HOT 3
- java.lang.VerifyError issue when importing jar file in eclipse HOT 2
- voice.getUnreadSMS doesn't seem to work right
- 2-Step Authentication HOT 3
- Get Authentication Tokens? HOT 2
- Contact does not implement proper equals/hashCode method
- Google Voice API does not support in JDK 1.5.0_18 HOT 1
- Keeps crashing the program
- Is that possible to call any phones in India?
- Patch for /trunk/test/test.java
- If setSmsEnabled(boolean) doesn't correspond to "Receive text messages on this phone" then what does?
- [deleted issue]
- getSMS() returns the orifianl SMS an none of the responses.
- Enhanced Voicemail Methods
- What would be the third argument for the method voice.call
- Null Pointer Exception Error Parsing Contact HOT 1
- The Read-Only SVN URL has a space in it on the Source page
- ClientLogin has been officially deprecated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-voice-java.