Android proxy app (almost) allows for tethering - Android Community Forums
Register Members List Social Groups Calendar Search Today's Posts Mark Forums Read


Go Back   Android Community Forums > Android Discussions > Android OS Discussions > Talkback


Talkback Comment and talkback related to frontpage news

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 11-05-2008, 12:56 AM
NPS_CA NPS_CA is offline
NPS_CA has no status.
What else can I do with this thing?
 
Join Date: Oct 2008
Posts: 145
NPS_CA is on a distinguished road
Default Re: Android proxy app (almost) allows for tethering

It's a tethered web proxy - that's it.

If the developers shares the source I'm sure some of us can clean it up.

Some caveats for mac install:

1) Install the referenced Proxy APK on the phone (remember to allow all apps to be installed in apps setup)
2) Install Android SDK 1.0 for Mac and move it to a folder location you can recall
3) Turn on USB Debugging on the phone and connect via USB cable
4) Start Terminal and cd into the folder the Android SDK is at, cd into tools from there
5) Verify that the device talks to the mac over ADB (Android Debug Bridge) by running ADB with the devices option:
./adb devices

You should get your serial number of your G1 coming back - if not then you missed one of the above steps

*NOTE* at this point I didn't get the next steps to work until I restarted the phone. Your mileage may vary.

6) Start the Proxy App and "Start Proxy"
7) Disconnect any network connections and turn off AirPort
8) From Terminal, CD back to the SDK directory, CD to tools. Run the ADB with the port forwarding set as follows:
./adb forward tcp:8080 localabstract:Proxy

9) Configure FireFox to use this for web/port 80. NOTE: I could not get this to work with Safari as localhost proxy isn't adjustable.

Go to any reliable website like google.com

If you get an error that the Proxy is not reachable then you missed step 8 (verify with ./adb devices that the phone is visible and ensure USB debugging is enabled on the phone)

If you get no error, but just blank pages then ensure proxy app is running on the phone. If still no joy then as noted a reboot of the phone is in order.

NOTE: there is no dial up or PPP driver needed for this to work, this simple redirects localhost to the phone. Also any disconnect of the USB cable requires you to repeat step 8 above.

All port 80 traffic seemed to work fine.... Your mileage may vary folks

To back out of the routing/proxy do the following:
1) Stop the Proxy App
2) Disconnect the USB cable (this unloads the ADB app)
3) Reset Firefox settings to no proxy

Last edited by NPS_CA; 11-05-2008 at 02:04 AM.
Reply With Quote
 

Bookmarks


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Ads

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I use G1 as a modem for tethering lpvmusic HTC Handsets 64 05-13-2009 01:07 AM
Woohoo tethering now available cdlazzari HTC Handsets 8 11-04-2008 05:35 PM
Poll: Future G1 owners, how much do you want tethering secrecyguy Android Apps Discussions 17 11-03-2008 10:26 PM
Tethering fritz269 HTC Handsets 3 10-23-2008 07:50 PM
tethering and a2dp support? mingkee Android OS Discussions 2 09-23-2008 02:00 AM


All times are GMT -5. The time now is 04:42 AM.



Copyright © 2008-2009 Android Community / R3 Media LLC, All Rights Reserved.