Use wifi for some request and UMTS for other requests

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


Sponsored Links
 Hi,

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
phone.

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

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



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

 http://linux.die.net/man/8/route 

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:  http://source.android.com/report-bugs 




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



Other Threads

1. android application using its location functionality

Get an Android handset and find out what the standard applications do.
That will give you some ideas.

The source code for a simple app called MJAndroid that uses location
can be found here: http://examples.oreilly.com/9780596521509/

In addition to the SDK, you will need a maps API key. The directions
for getting one are here: http://code.google.com/android/maps-api-signup.html

Good luck!

-Zigurd




--

2. How to stop playing music or sound of other application

Hi,

I want to know that can we stop playing sound or music of other
application which actually plays the music from our application?

Something like get the handle of MusicPlayer or AudioManager in our
application and using this handle stop the currently playing sound.

Please share some information on this.

Regards
Alam

-- 

3. Layout problems: AbsoluteLayout deprecated, how to do it now?

4. W T A : sign off gtalk

5. How to Put common header for entire application Like Android Market application

6. Custom tabs customizable only to 99%

7. What are your suggestions about it.