Created
April 26, 2012 15:33
-
-
Save Axxiss/2500398 to your computer and use it in GitHub Desktop.
Custom ContentProvider Stub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AcmeProvider extends ContentProvider { | |
@Override | |
public int delete(Uri uri, String selection, String[] selectionArgs) { | |
// TODO Auto-generated method stub | |
return 0; | |
} | |
@Override | |
public String getType(Uri uri) { | |
// TODO Auto-generated method stub | |
return null; | |
} | |
@Override | |
public Uri insert(Uri uri, ContentValues values) { | |
// TODO Auto-generated method stub | |
return null; | |
} | |
@Override | |
public boolean onCreate() { | |
// TODO Auto-generated method stub | |
return false; | |
} | |
@Override | |
public Cursor query(Uri uri, String[] projection, String selection, | |
String[] selectionArgs, String sortOrder) { | |
// TODO Auto-generated method stub | |
return null; | |
} | |
@Override | |
public int update(Uri uri, ContentValues values, String selection, | |
String[] selectionArgs) { | |
// TODO Auto-generated method stub | |
return 0; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment