Asked and answered. http://groups.google.com/group/android-developers/browse_thread/thread/4a4d8fbc87d20c/ec0177df1fa1534c?lnk=gst&q=We+have+an+application+where+we%27d+like+to+use+the+Wifi+connection+on+a+#ec0177df1fa1534c
Only works on 2.2+ - and the current solution is somewhat hackish.. On 1 Okt, 19:19, Kristian <[email protected]> wrote: > Hello, > > I am working on porting an application which requires at least two > network interfaces to be available at the same time, for example WLAN > and 3G. However, I have not been able to figure out how to use > multiple interfaces simultaneously on Android, the OS seems to remove > or at least disable one of the interfaces when the other is switched > on. I have looked through the official API and any relevant examples > and documentation, but have not figured out how to force the system > not to switch off one of the interfaces. The closest I got was the > tethering hotspot source code, as they do something similar to what I > want to do, but I was not able to fully understand their code. > > My question is therefore, does anyone know how to enable both the WLAN > and the 3G interface of an Android-phone? It does not matter if it is > through code, configuring the operating system or something else. The > phones I have tested with are the Galaxy S and Nexus One, and the > application is currently written in native code (however, it can > easily be ported to Java if that is neccessary). > > Thanks in advance for any help. > > -Kristian -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

