Bug 17921 - TextureViewDemo getting crash on ICS Tab
Summary: TextureViewDemo getting crash on ICS Tab
Alias: None
Product: Android
Classification: Xamarin
Component: Samples ()
Version: 4.12.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Ben O'Halloran
Depends on:
Reported: 2014-02-21 03:25 UTC by narayanp
Modified: 2014-06-26 12:08 UTC (History)
0 users

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description narayanp 2014-02-21 03:25:08 UTC
Steps to reproduce:
1. Open TextureViewDemo android sample.
2. Debug or run the sample on ICS Tab

Actual Result: Application getting crashed on Galaxy Tab 10.1. However this is working fine on another devices link:
HTC one version 4.0.3, Samsung S4 version 4.3

Expected Result: Application should launch successfully on ICS Tab.

Supplement info:
Exception details: https://gist.github.com/saurabh360/93ef1fccf4add5d2c140
ADB logcat: https://gist.github.com/saurabh360/e5800cb04b914e37ec36

Device info:
Galaxy Tab 10.1
Version 4.0.3

Environment details:
All Mac
X.S 4.2.3(build 59)
Git -828c2a91b515daaac7e57bc69fcfda6178d4ec01
X.Android 4.12.0-28

Same issue has been reported bug on different device: Bug 3796
Comment 1 Ben O'Halloran 2014-06-26 12:08:03 UTC
The issue was with devices with only a front facing camera (like many of old ICS tablets). For such devices, the front facing camera is used.
As per PJ's suggestion on Bug 3796, a simple notification is given when installed on a device with no camera.
Git commit: https://github.com/xamarin/monodroid-samples/commit/fb1c3d79fc4295852535e576dc8e7c3d279beebf