Back to project page Rejsekort-Reminder.
The source code is released under:
GNU General Public License
If you think the Android project Rejsekort-Reminder 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 com.example.publictransportation.service; //from ww w.j a va2 s. c om import android.content.Context; import com.example.publictransportation.modes.ModeTypes; /* * This interface allows the Activity/Service implementing it to associate with Modes and by extension Sensors. */ public interface IModeManager { void changeMode(ModeTypes newMode, String data); // to allow Modes to access this standard method of the Activity class public Context getApplicationContext(); // to allow the transportation mode to kill the service public void abortOnMissingWifi(); // allow modes to use the logging functionality public void log(LogTypes type, String data); }