Back to project page android-robot-control-app.
The source code is released under:
GNU General Public License
If you think the Android project android-robot-control-app listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package will.st.bluetooth.robot.controller.controllers; //from w w w .j a v a2 s . c o m import java.io.OutputStream; public class ControllerFragmentFactory { public static ControllerFragment createControllerFragment(String type, OutputStream outputStream) { ControllerFragment controllerFragment = null; if (type.equals("XControllerFragment")) { controllerFragment = new XControllerFragment(outputStream); } return controllerFragment; } }