Android Open Source - RoboDroid Tinkerforge Application






From Project

Back to project page RoboDroid.

License

The source code is released under:

Apache License

If you think the Android project RoboDroid 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 ch.quantasy.tinkerforge.tinker.application.definition;
//from   www  .  j  a  v  a2  s.  c  o m
import ch.quantasy.tinkerforge.tinker.agent.implementation.TinkerforgeStackAgent;

import com.tinkerforge.Device;

public interface TinkerforgeApplication extends Application<TinkerforgeApplication>{
  
  /**
   * Called by the Agent if the stack has been connected.
   * 
   * @param tinkerforgeSatckAgent
   *          the stack that has connected
   */
  public void stackConnected(TinkerforgeStackAgent tinkerforgeSatckAgent);

  
  /**
   * Called by the Agent if the stack has been disconnected
   * 
   * @param tinkerforgeStackAgent
   *          the stack that has disconnected
   */
  public void stackDisconnected(TinkerforgeStackAgent tinkerforgeStackAgent);

  
  
  /**
   * Called by the Agent if a Device (Brick of Bricklet) has been connected.
   * 
   * @param tinkerforgeStackAgent
   *          the agent on which the Device has connected
   * @param device
   *          the device that has connected
   */
  public void deviceConnected(TinkerforgeStackAgent tinkerforgeStackAgent, Device device);

  
  /**
   * Called prior to the {@link Device} removal. It is the last chance to act on
   * the connected {@link Device}
   * 
   * @param tinkerforgeStackAgent
   * @param device
   */
  public void deviceIsDisconnecting(TinkerforgeStackAgent tinkerforgeStackAgent, Device device);

  
  /**
   * Called by the Agent if a Device (Brick of Bricklet) has been disconnected.
   * 
   * @param tinkerforgeStackAgent
   *          the agent on which the Device has disconnected
   * @param device
   *          the device that has disconnected
   */
  public void deviceDisconnected(TinkerforgeStackAgent tinkerforgeStackAgent, Device device);

  

  
}




Java Source Code List

ch.bfh.mobilecomputing.fs2014.robodroid.JoystickView.java
ch.bfh.mobilecomputing.fs2014.robodroid.MainActivity.java
ch.bfh.mobilecomputing.fs2014.robodroid.SimpleJoystickFragment.java
ch.quantasy.remoteControl.MotorApplication.java
ch.quantasy.tinkerforge.tinker.agency.implementation.TinkerforgeStackAgency.java
ch.quantasy.tinkerforge.tinker.agent.definition.Agent.java
ch.quantasy.tinkerforge.tinker.agent.implementation.TinkerforgeStackAgentIdentifier.java
ch.quantasy.tinkerforge.tinker.agent.implementation.TinkerforgeStackAgent.java
ch.quantasy.tinkerforge.tinker.application.definition.Application.java
ch.quantasy.tinkerforge.tinker.application.definition.TinkerforgeApplication.java
ch.quantasy.tinkerforge.tinker.application.implementation.AbstractTinkerforgeApplication.java
ch.quantasy.tinkerforge.tinker.core.implementation.AbstractTinkerforgeStackManager.java
ch.quantasy.tinkerforge.tinker.core.implementation.TinkerforgeDevice.java