Public Member Functions | |
void | onCreate (Bundle savedInstanceState) |
void | onDestroy () |
void | onPause () |
void | onStop () |
Private Attributes | |
ArrayList< DiscoveredService > | discovered_services |
DiscoveryAdapter | discovery_adapter |
DiscoveryHandler | discovery_handler |
Logger | logger |
ListView | lv |
TextView | tv |
Zeroconf | zeroconf |
Master browser does discovery for the following services (both xxx._tcp and xxx._udp):
Easiest way to test is to use avahi to publish/browse on the other end. In a linux shell:
> avahi-publish -s DudeMaster _ros-master._tcp 8882 > avahi-publish -s ConcertMaster _concert-master._tcp 8883 > avahi-publish -s DudeMasterApps _app-manager._tcp 8884
Then run this program on your android while it is connected to the lan.
Definition at line 53 of file MasterBrowserActivity.java.
void ros.zeroconf.android.jmdns.master_browser.MasterBrowserActivity.onCreate | ( | Bundle | savedInstanceState | ) | [inline] |
Called when the activity is first created.
Definition at line 68 of file MasterBrowserActivity.java.
Definition at line 103 of file MasterBrowserActivity.java.
void ros.zeroconf.android.jmdns.master_browser.MasterBrowserActivity.onPause | ( | ) | [inline] |
Definition at line 90 of file MasterBrowserActivity.java.
void ros.zeroconf.android.jmdns.master_browser.MasterBrowserActivity.onStop | ( | ) | [inline] |
Definition at line 96 of file MasterBrowserActivity.java.
ArrayList<DiscoveredService> ros.zeroconf.android.jmdns.master_browser.MasterBrowserActivity.discovered_services [private] |
Definition at line 62 of file MasterBrowserActivity.java.
DiscoveryAdapter ros.zeroconf.android.jmdns.master_browser.MasterBrowserActivity.discovery_adapter [private] |
Definition at line 63 of file MasterBrowserActivity.java.
DiscoveryHandler ros.zeroconf.android.jmdns.master_browser.MasterBrowserActivity.discovery_handler [private] |
Definition at line 64 of file MasterBrowserActivity.java.
Definition at line 59 of file MasterBrowserActivity.java.
ListView ros.zeroconf.android.jmdns.master_browser.MasterBrowserActivity.lv [private] |
Definition at line 61 of file MasterBrowserActivity.java.
TextView ros.zeroconf.android.jmdns.master_browser.MasterBrowserActivity.tv [private] |
Definition at line 60 of file MasterBrowserActivity.java.
Zeroconf ros.zeroconf.android.jmdns.master_browser.MasterBrowserActivity.zeroconf [private] |
Definition at line 58 of file MasterBrowserActivity.java.