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. cannot compile source with OoO issue.

Hi All


I experienced one issue when I try to build my app.

java.lang.OutOfMemoryError: Java heap space :
at com.android.dx.ssa.SsaMethod.getGoto(Ssa Method.java :231)
..............
...............

Thanks

Sandy

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

2. Code to Control Internet Connections - like Togga

Hey,
Does anyone have the code for Togga's internet connection create /
destroy?

I'm creating an app that needs to open an internet connection for a
little bit then close it again. My app works if I use Togga to open
the internet connection then I run my App then I use togga to close
the internet connection. But in NZ Mobile data is really really
expensive so I'm wanting to limit the time I'm on the net.

I'm wanting to do it automagically via code.

Thanks in advance.

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

3. Stream Player with jsp website

4. Not able to start API demos.

5. Bluetooth profile support in cupcake

6. Notification to play sound

7. did someone implement a ScrollView with horizontal scroll support?