com.mobileapptracker
Class MATProvider

java.lang.Object
  extended by android.content.ContentProvider
      extended by com.mobileapptracker.MATProvider
All Implemented Interfaces:
ComponentCallbacks, ComponentCallbacks2

public class MATProvider
extends ContentProvider


Nested Class Summary
 
Nested classes/interfaces inherited from class android.content.ContentProvider
ContentProvider.PipeDataWriter<T>
 
Field Summary
static String _ID
           
static String PUBLISHER_PACKAGE_NAME
           
static String TRACKING_ID
           
 
Fields inherited from interface android.content.ComponentCallbacks2
TRIM_MEMORY_BACKGROUND, TRIM_MEMORY_COMPLETE, TRIM_MEMORY_MODERATE, TRIM_MEMORY_RUNNING_CRITICAL, TRIM_MEMORY_RUNNING_LOW, TRIM_MEMORY_RUNNING_MODERATE, TRIM_MEMORY_UI_HIDDEN
 
Constructor Summary
MATProvider()
           
 
Method Summary
 int delete(Uri uri, String selection, String[] selectionArgs)
           
 String getType(Uri uri)
           
 Uri insert(Uri uri, ContentValues values)
           
 boolean onCreate()
           
 Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)
           
 int update(Uri uri, ContentValues values, String selection, String[] selectionArgs)
           
 
Methods inherited from class android.content.ContentProvider
applyBatch, attachInfo, bulkInsert, call, canonicalize, dump, getCallingPackage, getContext, getPathPermissions, getReadPermission, getStreamTypes, getWritePermission, isTemporary, onConfigurationChanged, onLowMemory, onTrimMemory, openAssetFile, openAssetFile, openFile, openFile, openFileHelper, openPipeHelper, openTypedAssetFile, openTypedAssetFile, query, setPathPermissions, setReadPermission, setWritePermission, shutdown, uncanonicalize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_ID

public static final String _ID
See Also:
Constant Field Values

PUBLISHER_PACKAGE_NAME

public static final String PUBLISHER_PACKAGE_NAME
See Also:
Constant Field Values

TRACKING_ID

public static final String TRACKING_ID
See Also:
Constant Field Values
Constructor Detail

MATProvider

public MATProvider()
Method Detail

delete

public int delete(Uri uri,
                  String selection,
                  String[] selectionArgs)
Specified by:
delete in class ContentProvider

getType

public String getType(Uri uri)
Specified by:
getType in class ContentProvider

insert

public Uri insert(Uri uri,
                  ContentValues values)
Specified by:
insert in class ContentProvider

onCreate

public boolean onCreate()
Specified by:
onCreate in class ContentProvider

query

public Cursor query(Uri uri,
                    String[] projection,
                    String selection,
                    String[] selectionArgs,
                    String sortOrder)
Specified by:
query in class ContentProvider

update

public int update(Uri uri,
                  ContentValues values,
                  String selection,
                  String[] selectionArgs)
Specified by:
update in class ContentProvider