Android Open Source - UltimateCom Connection Config Activity






From Project

Back to project page UltimateCom.

License

The source code is released under:

GNU General Public License

If you think the Android project UltimateCom listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package org.ultimatecom;
/* ww w. j a  va 2 s  . c o  m*/
import org.ultimatecom.R;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentTabHost;

public class ConnectionConfigActivity extends FragmentActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_connection_config);

        FragmentTabHost tabHost = (FragmentTabHost)findViewById(android.R.id.tabhost);
        tabHost.setup(this, getSupportFragmentManager(), R.id.realtabcontent);

        tabHost.addTab(tabHost.newTabSpec("tty").setIndicator("TTY"),
                TtyConfigFragment.class, null);
        tabHost.addTab(tabHost.newTabSpec("usbserial").setIndicator("USB"),
                UsbSerialConfigFragment.class, null);
        tabHost.addTab(tabHost.newTabSpec("ioi").setIndicator("IOIO"),
                IoioConfigFragment.class, null);
        tabHost.addTab(tabHost.newTabSpec("bluetooth").setIndicator("BT"),
                BluetoothConfigFragment.class, null);
        tabHost.addTab(tabHost.newTabSpec("socket").setIndicator("TCP"),
                TcpConfigFragment.class, null);
    }

}




Java Source Code List

org.ultimatecom.BluetoothConfigFragment.java
org.ultimatecom.BluetoothTransmissionActivity.java
org.ultimatecom.ConnectionConfigActivity.java
org.ultimatecom.IoioConfigFragment.java
org.ultimatecom.RingBufferCharSequence.java
org.ultimatecom.StreamTransmissionActivity.java
org.ultimatecom.TcpConfigFragment.java
org.ultimatecom.TransmissionActivity.java
org.ultimatecom.TtyConfigFragment.java
org.ultimatecom.TtyTransmissionActivity.java
org.ultimatecom.UsbSerialConfigFragment.java