intentfilter - In android is there any event trigger, when network type change -
intentfilter - In android is there any event trigger, when network type change -
in android there availability of different types of network 3g,edge,lte etc. searching event when user network type alter border 3g,lte , vice versa.
there broadcast receiver called whenever network state changes(connection lost,changed,etc). in receiver class have figure out kind of network network intrested in. connectivity manager class help figure out type of connected network.
boolean iswifi = activenetwork.gettype() == connectivitymanager.type_wifi;
update:
you can utilize telephonymanager.getnetworktype() not aware of broadcast receiver can registered notified alter in network.
android intentfilter discussion-board
Comments
Post a Comment