Bug 7619 - Fragment walkthrough crashes on the tablet, but not the phone
Summary: Fragment walkthrough crashes on the tablet, but not the phone
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Samples ()
Version: 4.2.x
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: John Pilczak
URL:
Depends on:
Blocks:
 
Reported: 2012-10-03 10:20 UTC by Paul Johnson
Modified: 2014-07-10 09:25 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description Paul Johnson 2012-10-03 10:20:10 UTC
I have built and deployed the app on the walkthrough for fragments with the target set at 2.3 (so I've included the supportlib etc).

When built and being used on a phone, it's fine. On a tablet, the application flashes up the title bar and dies. By the looks of things, it is because currentPlayId is not set.

If playId is set to 0, the banner remains on the screen, but the menus aren't inflated.
Comment 1 John Pilczak 2014-06-26 17:14:20 UTC
I was not able to reproduce this bug on the current version of the walkthrough on a tablet. Is it still occurring for you? If so, please include some version information on the environment you are using which can be found in the menu by clicking the About Xamarin Studio (if in Xamarin) or about Visual Studio if using Visual Studio and then clicking Show Details. Also, if possible, some log data which can be found under the help menu.

My Device Info:
Acer A200 (Android Version 4.0.3)

My Environment Info:
=== Xamarin Studio ===

Version 5.0.1 (build 3)
Installation UUID: ea2dde6b-0915-4e87-bf59-0163cddeada5
Runtime:
	Mono 3.4.0 ((no/954ed3c)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 304000214

=== Xamarin.Android ===

Version: 4.12.5 (Trial Edition)
Android SDK: /Users/johnpilczak/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		1.6   (API level 4)
		2.1   (API level 7)
		2.2   (API level 8)
		2.3   (API level 10)
		3.1   (API level 12)
		3.2   (API level 13)
		4.0   (API level 14)
		4.0.3 (API level 15)
		4.2   (API level 17)
		4.3   (API level 18)
		4.4   (API level 19)
Java SDK: /usr
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

=== Build Information ===

Release ID: 500010003
Git revision: f94ee866936d25105704eb63728ad5a981eda0a4
Build date: 2014-06-04 12:19:12-04
Xamarin addins: 1a6044e8321ea07e03a56b5381951686c82fed8b

=== Operating System ===

Mac OS X 10.9.2
Darwin Vinces-xMac.local 13.1.0 Darwin Kernel Version 13.1.0
    Thu Jan 16 19:40:37 PST 2014
    root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64
Comment 2 Paul Johnson 2014-07-10 09:25:57 UTC
No longer occurs. Closing the bug.