Use wifi for some request and UMTS for other requests

by DWischer » Sat, 03 Oct 2009 03:45:57 GMT

Sponsored Links

what im trying to do is, to connect the phone to an adhoc wlan with no
internet access. Over this connection, i connect to a printer, to
print over wireless.
Normal http Requests should be made over the UMTS connection of the

Is it possible to choose the interface which will be used for the
connection? How is this made?


Use wifi for some request and UMTS for other requests

by lbcoder » Mon, 05 Oct 2009 21:18:44 GMT

 It should work like any other linux machine in this regard... i.e.,
you just need to set your routes 

Now there are a couple of issues you need to think about with regards
to this;
1) on wifi connection, it might actually disconnect you from your
carrier's data network. (I don't know since it is pointless to pay
extra for a carrier data plan given the proliferation of free wifi)
2) the route command doesn't exist on your device. You'll need to
install it.


Sponsored Links

Use wifi for some request and UMTS for other requests

by lbcoder » Tue, 06 Oct 2009 01:19:48 GMT

 Was there a point to your post?
If you are interested in having this feature added officially to
android (rather than just asking about a hack-a-round), then I suggest
a good place to start is here: 


Other Threads

1. how to get the current shown text from a textview embeded in scrollview

hi everyone,i have been frustrated by this problem,i am now try
to get the current shown text in the textview as a bookmark for future
reference.but how can i located to this site,and save a portion of  my
string?,any one know how,please let me know.thank u in advance.


2. Problem with using back button when on home activity

I am sure this is easy, but can't find solution for this.

My app structure is something like this:

HomeActivity > subActivity > subSubActivity > subSubSubActivity
On each activity (except home) in top left corner I have Home Icon
which creates new Intent and starts home activity with StartActivity.

What's happening:
1) I am on home
2) Lunch subActivity
3) Lunch subSubAcitivity
4) Press Home button
5) On home
6) Press Back Key
7) I am on subSubActivity   (I would like to exit app here)

Is it possible to delete "history" when on home activity?

I tried to fix it with executing finish() before starting Home
Activity (in step 4), but in that case Back button will take me to
subActivity (which was running before). So, basically I want Back
button to work on all activities as intended except on Home activity?



3. rfcomm error with BT headset

4. AudioEffect integration

5. Detecting Search button

6. WMT : pull My files.apk dari Gtab

7. What's the official way to take a picture using the camera?