Android route downlink data via WiFi and uplink data via mobile network -


is possible in android route incoming data traffic through wifi , outgoing traffic via mobile network.

found answer on stackoverflow how wifi , mobile data both work simultaneously in android obd2 device. route data 1 host.

there app superdownload uses wifi , mobile network achieve faster download speeds. i'm trying this.

in android wifi , mobile network not work simultaneously. possible make work rooting device? (superdownload requires root).

it's not easy do.

first in first must keep on both network interface, possible it's hack because android doesn't support it. must switch on

connectivitymanager.startusingnetworkfeature(connectivitymanager.type_mobile, "feature"); 

the feature name related hardware, should enablehipri. problem after switch on interface turn down after time, reason must perform http request every 20-30 seconds keep up. way interface stay on.

to route, should add static route

connectivitymanager.requestroutetohost(connectivitymanager.type_mobile_hipri, ipaddressint); 

where ipaddressint address want connect on 3g. routes sent throughout wifi, (download on wifi) there no problem, should add route upload.

and there 2 problems,

  • first in way on 3g dns resolution gone, can work on ip must have server static ip,
  • second, i'm not sure if works on specific port (that idea have in moment it...).

of course should implement thread keep alive interface.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -