Re: [mono-android] taking a pic

2012-01-25 Thread efontana
void cropPicture(Intent data) { Intent intent = new Intent("com.android.camera.action.CROP"); intent.SetType("image/*"); List list = PackageManager.QueryIntentActivities(intent, 0).ToList(); List cropOptions = new List(); if (list.Count == 0) { Toa

Re: [mono-android] taking a pic

2012-01-25 Thread efontana
This works for me; (one for Gallery one for Camera) private void pickFromGallery() { Intent i = new Intent(Intent.ActionGetContent); i.SetType("image/*"); _activity.StartActivityForResult(i, PICK_FROM_FILE); } private void pickFromCamera() {

[mono-android] taking a pic

2012-01-19 Thread Wally McClure
I've got the code below for taking a picture. It uses the phone's camera. It works on my phone, but not on a xoom and not on some other people's camera. What I am finding is that the data.Data property that comes back is null on a device that it doesn't work on. Here are the devices I've te