Proxy - 0.9 Beta SDK

by Nemat » Sat, 06 Sep 2008 13:21:10 GMT


Sponsored Links
 hi......

How http proxy should be set to run the internet on the emulator
browser??

I got the error "Host is unresolved".

How it can be solved........???
--~--~---------~--~----~------------~-------~--~----~



Proxy - 0.9 Beta SDK

by Shibu Devasia » Sat, 06 Sep 2008 20:31:15 GMT


 Yeah, lot of peopel have spent lot of time solving this problem including
me.
Hope the below solution will help u and avoid what we have gone through.

Solution 1:
 http://code.google.com/android/reference/emulator.html #proxy

or

Solution 2:
Ttry to update the emmualtor's settngs.db with another command line
adb shell sqlite3
/data/data/com.google.android.providers.settings/databases/settings.db
"\"INSERT INTO system VALUES(99,'http_proxy','[HOST]:[PORT]');\""

u wont be having sqlite3 in 0.9 sdk so download it from internet {
 http://www.sqlite.org/download.html }  and keep it under the tools folder and
run the above command.


Let me knwon which of the solution worked. for me the first one worked  not
the second one.

Thanks,
Shibbs




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Proxy - 0.9 Beta SDK

by Shibu Devasia » Sat, 06 Sep 2008 20:31:15 GMT


 Yeah, lot of peopel have spent lot of time solving this problem including
me.
Hope the below solution will help u and avoid what we have gone through.

Solution 1:
 http://code.google.com/android/reference/emulator.html #proxy

or

Solution 2:
Ttry to update the emmualtor's settngs.db with another command line
adb shell sqlite3
/data/data/com.google.android.providers.settings/databases/settings.db
"\"INSERT INTO system VALUES(99,'http_proxy','[HOST]:[PORT]');\""

u wont be having sqlite3 in 0.9 sdk so download it from internet {
 http://www.sqlite.org/download.html }  and keep it under the tools folder and
run the above command.


Let me knwon which of the solution worked. for me the first one worked  not
the second one.

Thanks,
Shibbs




--~--~---------~--~----~------------~-------~--~----~



Proxy - 0.9 Beta SDK

by Nemat » Sun, 07 Sep 2008 10:48:27 GMT


 Hi....
I've tried both the ways but I cant do that.
I dont know whats the problem.
While working on fist one I got "Host is unresolved".
please correct me if I m wrong:
I wrote the command -http-proxy  http://192.168.0.1 :808 in additional
emulator command line option in Target while running the emulator.




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Slide Show sample code.

Hi everyone,

I am making a slideshow app.
I have been looking for a sample code, but I couldn't get it.

Does anyone know sample code for it?

Thanks.

-- 

2. resource in conflict

Hi,

My application has resource conflict problem. Did some investigation,
seems like all the resources within the apk file are cached after they
are loaded on demand. The cache is stored in Resources.java
mDrawableCache. The key to retrieve the drawable from this cache is
combining the data and assertCookie fields of TypedValue class. In my
application, there are 2 resources, ex. a color background and image
drawable, evaluated to the SAME key value.. So just wondering, how can
it happen?

BTW, I am using eclair SDK.

Thanks.

-- 

3. DDMS Heap Dump permissions problem

4. Implementing a self-contained library project test project

5. where can I find serial port in android mobile(HTC, wellcom a88)

6. TSLIB android

7. How can we get the device name programmatically?