Back to project page android-chess.
The source code is released under:
MIT License
If you think the Android project android-chess 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 jwtc.android.chess; /*from ww w .j av a2 s. c om*/ import android.content.UriMatcher; import android.net.Uri; import jwtc.chess.PGNProvider; public class MyPGNProvider extends PGNProvider{ static { AUTHORITY = "jwtc.android.chess.MyPGNProvider"; CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/games"); sUriMatcher = new UriMatcher(UriMatcher.NO_MATCH); sUriMatcher.addURI(AUTHORITY, "games", GAMES); sUriMatcher.addURI(AUTHORITY, "games/#", GAMES_ID); } }