Public Member Functions | Protected Member Functions | Package Attributes | Private Member Functions | Private Attributes
com.ros.turtlebot.apps.rocon.NfcReaderActivity Class Reference
Inheritance diagram for com.ros.turtlebot.apps.rocon.NfcReaderActivity:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void onCreate (Bundle savedInstanceState)

Protected Member Functions

void onPause ()
void onResume ()

Package Attributes

List< WifiConfiguration > configs
boolean connecting = false
String nfc_masteruri = ""
String nfc_password = ""
String nfc_ssid = ""
String nfc_table = ""
String nfc_weblink = ""
List< ScanResult > scanResults
Vibrator vibrator = null
IntentFilter wifiFilter = null
WifiManager wifiManager = null

Private Member Functions

void wifiConnect ()

Private Attributes

BroadcastReceiver wifiEventReceiver

Detailed Description

Definition at line 30 of file NfcReaderActivity.java.


Member Function Documentation

void com.ros.turtlebot.apps.rocon.NfcReaderActivity.onCreate ( Bundle  savedInstanceState) [inline]

Called when the activity is first created.

Definition at line 48 of file NfcReaderActivity.java.

Definition at line 116 of file NfcReaderActivity.java.

Definition at line 108 of file NfcReaderActivity.java.

Definition at line 150 of file NfcReaderActivity.java.


Member Data Documentation

List<WifiConfiguration> com.ros.turtlebot.apps.rocon.NfcReaderActivity.configs [package]

Definition at line 35 of file NfcReaderActivity.java.

Definition at line 38 of file NfcReaderActivity.java.

Definition at line 43 of file NfcReaderActivity.java.

Definition at line 42 of file NfcReaderActivity.java.

Definition at line 41 of file NfcReaderActivity.java.

Definition at line 40 of file NfcReaderActivity.java.

Definition at line 44 of file NfcReaderActivity.java.

Definition at line 34 of file NfcReaderActivity.java.

Definition at line 36 of file NfcReaderActivity.java.

Initial value:
 new BroadcastReceiver() {
                
                @Override
                public void onReceive(Context context, Intent intent) {
                        
                        
                        if(intent.getAction().equals(WifiManager.SCAN_RESULTS_AVAILABLE_ACTION)) {
                                
                                scanResults = wifiManager.getScanResults();
                                if(connecting == false) {
                                        connecting = true ;
                                        wifiConnect() ;
                                        
                                        Intent rocon_intent = new Intent(NfcReaderActivity.this, RoconMainActivity.class);
                                        rocon_intent.putExtra("table", nfc_table);
                                        rocon_intent.putExtra("weblink", nfc_weblink);
                                        rocon_intent.putExtra("masteruri", nfc_masteruri);
                                        
                                        startActivity(rocon_intent);
                                }
                        }
                }
        }

Definition at line 125 of file NfcReaderActivity.java.

Definition at line 33 of file NfcReaderActivity.java.

Definition at line 32 of file NfcReaderActivity.java.


The documentation for this class was generated from the following file:


android_remocons
Author(s): Daniel Stonier , Kazuto Murase
autogenerated on Wed Aug 26 2015 10:40:28