FYI there was already an open bug for this:
http://code.google.com/p/android/issues/detail?id=21436
I really think this change should be reverted, instead of 'fixing' the
javadoc. Seriously, the logger should not decide for the developer what is
an important exception or not - this doesn't make
On Tuesday, 5 February 2013 11:46:42 UTC+1, BoD wrote:
FYI there was already an open bug for this:
http://code.google.com/p/android/issues/detail?id=21436
I really think this change should be reverted, instead of 'fixing' the
javadoc. Seriously, the logger should not decide for the
I think a case could also be made for logging the UnknownHostException
without the stack trace (just the server name) as an in between step.
Thanks for the bugreport.
On Fri, Jan 25, 2013 at 3:08 PM, Boris Burtin bbur...@gmail.com wrote:
Thanks for responding. I can see the reasoning. Just
I was racking my brain, trying to figure out why one of my users was having
trouble connecting and nothing was in the logs. Finally I looked at the
Android source and realized that the logging code explicitly ignores
UnknownHostException. Even worse, the Javadoc doesn't specify this
I think the log was getting quite full of these exceptions (mobile devices
often don't have a network and apps aren't so good at checking that first)
so we stopped logging them. If you look at the blame for this code you can
see the reasoning.
On Fri, Jan 25, 2013 at 2:31 PM, Boris Burtin
You can always do the dns lookup yourself and log an error if it's invalid.
The DNS cache will ensure it's not wasted effort.
On Fri, Jan 25, 2013 at 2:39 PM, Robert Greenwalt rgreenw...@google.comwrote:
I think the log was getting quite full of these exceptions (mobile devices
often don't
Thanks for responding. I can see the reasoning. Just seems weird that the
behavior isn't documented, and that there's no way for me to override it.
I'll file a bug for updating the Javadoc.
On Friday, January 25, 2013 2:40:10 PM UTC-8, Robert Greenwalt wrote:
You can always do the dns
Hi ,
Why do i keep getting UnknownHostException when i run application in
emulator and device,Please tell me how to resolve the asap,its too urgent..
--
Regards,
Vani
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Did you add internet permission to the manifest?
08.03.2011 12:49 пользователь vani reddy vani.redd...@gmail.com написал:
Hi ,
Why do i keep getting UnknownHostException when i run application in
emulator and device,Please tell me how to resolve the asap,its too
urgent..
--
Regards,
Vani
yes,and now its working in emulator but its not working on device. i am
getting the below err msg
java.net.UnknownHostException: Host is unresolved:
beemediahive.sitesystems.ca:80
at java.net.Socket.connect(Socket.java:1037)
2011/3/8 Kostya Vasilyev kmans...@gmail.com
Did you add internet
In emulator it started working after i referred this
http://www.storm-frandsen.dk/jesper/pages/How_to_fix_java.net.UnknownHostException_on_Android.php
2011/3/8 vani reddy vani.redd...@gmail.com
yes,and now its working in emulator but its not working on device. i am
getting the below err msg
Try going to that URL from the device's browser, if you're still having
problems, it's not your program, it's how the device and your cellular
network are set up.
08.03.2011 13:30 пользователь vani reddy vani.redd...@gmail.com написал:
yes,and now its working in emulator but its not working on
OK ..
2011/3/8 Kostya Vasilyev kmans...@gmail.com
Try going to that URL from the device's browser, if you're still having
problems, it's not your program, it's how the device and your cellular
network are set up.
08.03.2011 13:30 пользователь vani reddy vani.redd...@gmail.com
написал:
Hi,
I am trying to run the 'Google Buzz API Sample for Android' sample and
I get the error 'java.net.UnknownHostException: www.google.com' on the
last line:
GoogleOAuthGetTemporaryToken temporaryToken =
new GoogleOAuthGetTemporaryToken();
temporaryToken.signer =
From time to time I get java.net.UnknownHostException when calling
HttpURLConnection.connect. Obviously the server does exist and I can
successfully execute the same URL on my PC browser. The problem does
not happen always, only sometimes. But if it does happen ussually I
need to restart the app
I saw this thread(since it is a dead thread--starting a new one):
http://groups.google.com/group/android-developers/browse_thread/thread/cd5be36a07ad1a3d/ba559f2e2ff06e32#ba559f2e2ff06e32
I have also encountered such problems in the emulator.
What I was interested in knowing is that ,is this an
Hi friends,
I am also facing the same issue.. When i run my application for
sometime, suddenly the network is getting disconnected and i am
getting the unknownhostexception in my application. In that case if i
check the browser, the same exception occurs.I don't know why internet
is getting
Hi All,
I have installed my application for picasa on G1 device and is
trying to login to google through googl API. Sometime I am able to
login but sometime it gives me
IOException java.net.UnknownHostException: Host is unresolved:
www.google.com:443
my code is
static AndroidHttpClient
If I leave the 1.5 emulator running for a while (overnight, maybe
less) it starts getting unknown host errors like this:
05-21 18:03:23.618 2663 2683 I InetAddress: Unknown host www.google.com,
throwing UnknownHostException
It doesn't matter what app is trying to access the net, it always
Hi,
I'm trying to read a file via http. (http://www-lehre.inf.uos.de/
~mmenning/balingen.ts). I wrote a Connector Class:
package gip.android.ogl;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import android.util.Log;
public class DataConnectorTS {
20 matches
Mail list logo