public override void onReceive(Context context, Intent intent) { if (intent.Action.Equals(MainActivity.ACTION_COMPLETE_PROCESS_BITMAP)) { sbyte[] pixels = intent.getByteArrayExtra(MainActivity.EXTRA_NAME_BITMAP_PIXELS); int width = intent.getIntExtra(MainActivity.EXTRA_NAME_BITMAP_WIDTH, 0); int height = intent.getIntExtra(MainActivity.EXTRA_NAME_BITMAP_HEIGHT, 0); outerInstance.printBitmap(pixels, width, height); } }
public override void onReceive(Context context, Intent intent) { if (intent.Action.Equals(MainActivity.ACTION_COMPLETE_PROCESS_BITMAP)) { sbyte[] pixels = intent.getByteArrayExtra(MainActivity.EXTRA_NAME_BITMAP_PIXELS); int width = intent.getIntExtra(MainActivity.EXTRA_NAME_BITMAP_WIDTH, 0); int height = intent.getIntExtra(MainActivity.EXTRA_NAME_BITMAP_HEIGHT, 0); outerInstance.printBitmap(pixels, width, height); } }