diff options
Diffstat (limited to 'WatercolorGames.Pong/obj/Release/android/src/mono/MonoRuntimeProvider.java')
| -rw-r--r-- | WatercolorGames.Pong/obj/Release/android/src/mono/MonoRuntimeProvider.java | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/WatercolorGames.Pong/obj/Release/android/src/mono/MonoRuntimeProvider.java b/WatercolorGames.Pong/obj/Release/android/src/mono/MonoRuntimeProvider.java new file mode 100644 index 0000000..3543307 --- /dev/null +++ b/WatercolorGames.Pong/obj/Release/android/src/mono/MonoRuntimeProvider.java @@ -0,0 +1,57 @@ +package mono; + +import android.util.Log; + +public class MonoRuntimeProvider + extends android.content.ContentProvider +{ + public MonoRuntimeProvider () + { + } + + @Override + public boolean onCreate () + { + return true; + } + + @Override + public void attachInfo (android.content.Context context, android.content.pm.ProviderInfo info) + { + // Mono Runtime Initialization {{{ + mono.MonoPackageManager.LoadApplication (context, context.getApplicationInfo (), new String[]{context.getApplicationInfo ().sourceDir}); + // }}} + super.attachInfo (context, info); + } + + @Override + public android.database.Cursor query (android.net.Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) + { + throw new RuntimeException ("This operation is not supported."); + } + + @Override + public String getType (android.net.Uri uri) + { + throw new RuntimeException ("This operation is not supported."); + } + + @Override + public android.net.Uri insert (android.net.Uri uri, android.content.ContentValues initialValues) + { + throw new RuntimeException ("This operation is not supported."); + } + + @Override + public int delete (android.net.Uri uri, String where, String[] whereArgs) + { + throw new RuntimeException ("This operation is not supported."); + } + + @Override + public int update (android.net.Uri uri, android.content.ContentValues values, String where, String[] whereArgs) + { + throw new RuntimeException ("This operation is not supported."); + } +} + |
