[android-developers] Re: Strange Proxy setting and INTERNET problem Emulator

2009-07-30 Thread Dato bera
helo, in Java Se its tell me that files.length is 16 but when i run it
in the android plathform tell me that there is 0

FTPClient f = new FTPClient();
   f.connect(server, 21);
   f.login(username, password);
   FTPFile[] files = f.listFiles();
 Log.v(TAG,+files.length();

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Strange Proxy setting and INTERNET problem Emulator

2009-07-29 Thread Aram


I have found out a solution using Proxy Tunnelling software
'Proxifier'...Setting the connectivity to be passed through your proxy
address will enable internet based activity in the android emulator.



On Jul 16, 12:07 pm, Aram anandr...@gmail.com wrote:
 Hai,

 I was trying to configure the proxy network connectivity for my
 emulator run through Eclipse3.4.

 I implemented the usual 2 ways already done by the users,

 Solution 1 : using -http-proxy [ip]:[port]

 Solution 2 : adding the http_proxy to data/data/
 com.android.providers.settings/databases/settings.db and check to find
 the result as below

 sqlite SELECT * FROM system;
 
 
 111|http_proxy|172.24.1.1:8080
 
 .

 After implementing the both ways I could not connect to the internet
 and I get the following error

 From the Eclipse Console
 -

 [2009-07-16 12:12:37 - Emulator] proxy_http_setup: creating http proxy
 service connecting to: 174.24.1.1:8080
 [2009-07-16 12:12:37 - Emulator] server name '174.24.1.1' resolved to
 174.24.1.1:8080
 [2009-07-16 12:12:37 - Emulator] proxy_http_setup: creating HTTP Proxy
 Service Footer is (len=2):
 [2009-07-16 12:12:37 - Emulator] '
 [2009-07-16 12:12:37 - Emulator]
 [2009-07-16 12:12:37 - Emulator] '
 [2009-07-16 12:12:37 - Emulator] http_service_connect: trying to
 connect to 209.85.153.104:80
 [2009-07-16 12:12:37 - Emulator] http_service_connect: using HTTP
 rewriter
 [2009-07-16 12:12:37 - Emulator] tcp:209.85.153.104:80(3576): cannot
 connect to proxy: unknown error
 [2009-07-16 12:12:37 - Emulator] http_service_connect: trying to
 connect to 209.85.153.104:80
 [2009-07-16 12:12:37 - Emulator] http_service_connect: using HTTP
 rewriter
 [2009-07-16 12:12:37 - Emulator] tcp:209.85.153.104:80(3540): cannot
 connect to proxy: unknown error

 From the Log Cat:
 --

 07-16 12:29:09.217: WARN/KeyCharacterMap(623): No keyboard for id 0
 07-16 12:29:09.217: WARN/KeyCharacterMap(623): Using default keymap: /
 system/usr/keychars/qwerty.kcm.bin
 07-16 12:29:11.858: ERROR/ActivityThread(658): Failed to find provider
 info for com.google.settings
 07-16 12:29:13.288: ERROR/MapActivity(658): Couldn't get connection
 factory client
 07-16 12:29:55.098: WARN/WaitingHelper(658): Network error: 3

 Also I am finding it impossible to integrate Google Map due to the
 same problem.

 Can anybody give me a solution so that I can work on it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---