Android Open Source - tennis-charting-android Match Storage






From Project

Back to project page tennis-charting-android.

License

The source code is released under:

GNU General Public License

If you think the Android project tennis-charting-android 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 com.inklily.tennischarting;
//from   ww  w  .ja v  a 2 s  .  c o m
import android.widget.ListAdapter;

/**
 * Interface to manage storing matches.
 */
public interface MatchStorage extends ListAdapter {
  public class MatchStorageNotAvailableException extends Exception {
    private static final long serialVersionUID = 1L;
  }
  public class InvalidPointException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    
  }

    public interface OnStorageAvailableListener {
        public void onStorageAvailable(MatchStorage storage);
    }

    public void addOnStorageAvailableListener(OnStorageAvailableListener listener);
  public void savePoint(Match m, Point p) throws MatchStorageNotAvailableException;
  public void saveMatch(Match m) throws MatchStorageNotAvailableException;
    public void deleteMatch(long id) throws MatchStorageNotAvailableException;
  public Match retrieveMatch(long id)  throws MatchStorageNotAvailableException;
}




Java Source Code List

com.inklily.tennischarting.HelpActivity.java
com.inklily.tennischarting.MainActivity.java
com.inklily.tennischarting.MatchChartActivity.java
com.inklily.tennischarting.MatchDetailActivity.java
com.inklily.tennischarting.MatchInfoActivity.java
com.inklily.tennischarting.MatchReviewActivity.java
com.inklily.tennischarting.MatchStorage.java
com.inklily.tennischarting.Match.java
com.inklily.tennischarting.PointEndDialog.java
com.inklily.tennischarting.Point.java
com.inklily.tennischarting.SQLiteMatchStorage.java
com.inklily.tennischarting.Score.java
com.inklily.tennischarting.SettingsActivity.java
com.inklily.tennischarting.util.SystemUiHiderBase.java
com.inklily.tennischarting.util.SystemUiHiderHoneycomb.java
com.inklily.tennischarting.util.SystemUiHider.java