Tossing, Chris <chris.tossing@...> writes: > > > > We can run the media picker sample, although it seemed to return a null image for some reason, but when we try to put almost the same code in our app, it crashes in the Xamarin.Mobile assembly. We checked the permissions, and the sample > does not seem to require any permissions (e.g. the camera permission). > > We are getting the following stack trace: > > 0x7 in Xamarin.Media.MediaPickerActivity.Touch C# > 0x158 in Xamarin.Media.MediaPickerActivity.OnCreate C# > 0x12 in Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ C# > 0x12 in System.Object.36e725bc-2d06-4843-bb15- 3a6de0d158e2 C# > > Any ideas? > > Thank you, > > > Chris Tossing > Software Engineer > G4S Technology Software Solutions LLC > Direct Dial: +1 (781) 457-0779 > Cell: +1 (847) 942-0359 > [email protected] > www.1f.com > 21 North Avenue, Burlington, Massachusetts 01803 USA > > P > Please consider the environment before printing this email > > > > The details of this company are as follows: > G4S Technology Limited, Registered Office: Challenge House, International Drive, Tewkesbury, Gloucestershire GL20 8UQ, Registered in England No. 2382338. > This communication may contain information which is confidential, personal and/or privileged. > It is for the exclusive use of the intended recipient(s). > If you are not the intended recipient(s), please note that any distribution, forwarding, copying or use of this communication or the information in it is strictly prohibited. > Any personal views expressed in this e-mail are those of the individual > sender and the company does not endorse or accept responsibility for them. > Prior to taking any action based upon this e-mail message, you should seek appropriate confirmation of its authenticity. > This e-mail has been scanned for all viruses by MessageLabs. >
We missed the external storage permission, it started working after the permission was added. But the camera activity does not close once the picture is saved or discarded. One has to press the back button to go back to the activity which launched the camera. We don't see this behavior when we launch the camera and handle the results through our code i.e. using startactivityforresult and handling the onactivityresult callback. _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
