Classes | Protected Member Functions | Package Functions | Static Package Functions | Package Attributes | Static Package Attributes | Private Member Functions | Private Attributes
org.ros.rosserial.RosserialLauncherActivity Class Reference
Inheritance diagram for org.ros.rosserial.RosserialLauncherActivity:
Inheritance graph
[legend]

List of all members.

Classes

class  TextViewHandler

Protected Member Functions

void onCreate (Bundle savedInstanceState)
void onResume ()

Package Functions

void setADKConnected ()

Static Package Functions

static void displayTopics (TextView v, String type, TopicInfo[] infos)

Package Attributes

ROSSerialADK adk = null
LocalBinder mBinder = null
Context mContext = null
OnClickListener start_click_listener

Static Package Attributes

static final String TAG = "RosserialLauncherActivity"

Private Member Functions

boolean isADKRunning ()

Private Attributes

ServiceConnection mConnection

Detailed Description

Definition at line 23 of file RosserialLauncherActivity.java.


Member Function Documentation

static void org.ros.rosserial.RosserialLauncherActivity.displayTopics ( TextView  v,
String  type,
TopicInfo[]  infos 
) [inline, static, package]

Definition at line 126 of file RosserialLauncherActivity.java.

Definition at line 111 of file RosserialLauncherActivity.java.

void org.ros.rosserial.RosserialLauncherActivity.onCreate ( Bundle  savedInstanceState) [inline, protected]

Definition at line 45 of file RosserialLauncherActivity.java.

Definition at line 76 of file RosserialLauncherActivity.java.

Definition at line 121 of file RosserialLauncherActivity.java.


Member Data Documentation

Definition at line 27 of file RosserialLauncherActivity.java.

Definition at line 29 of file RosserialLauncherActivity.java.

Definition at line 147 of file RosserialLauncherActivity.java.

Definition at line 28 of file RosserialLauncherActivity.java.

Initial value:
 new OnClickListener() {
                
                @Override
                public void onClick(View v) {
                        TextView txt_MasterURi = (TextView) findViewById(R.id.MasterURITxt);
                        TextView txt_NodeName =  (TextView) findViewById(R.id.NodeNameTxt);
                        
                        Intent i =  new Intent(mContext, ROSSerialADKService.class);

                        i.putExtra("ROS_MASTER_URI", "http://"+txt_MasterURi.getText());
                        i.putExtra("node name", txt_NodeName.getText());
                        
                        mContext.startService(i);
                        bindService(i, mConnection, 0);
                        Log.v(TAG,"Started sdk service");
                }
        }

Definition at line 93 of file RosserialLauncherActivity.java.

final String org.ros.rosserial.RosserialLauncherActivity.TAG = "RosserialLauncherActivity" [static, package]

Definition at line 25 of file RosserialLauncherActivity.java.


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


rosserial_android
Author(s): Adam Stambler
autogenerated on Mon Dec 2 2013 12:02:05