Back to project page HeadphoneController.
The source code is released under:
GNU General Public License
If you think the Android project HeadphoneController 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 ca.mbabic.headphonecontroller.statemachine; // w w w .j a va2 s. c om import android.util.Log; import ca.mbabic.headphonecontroller.commands.CommandExecutor; public class FourPressState extends HCState { private static final String TAG = ".statemachine.ThreePressState"; public FourPressState() { isTerminal = true; nextState = null; executor = CommandExecutor.getInstance(); } @Override public void executeCommand() { Log.i(TAG, "Executing FourPressState command."); executor.executeCommandForState(FourPressState.class);; } }