20 Nov 2011, 15:26
Generic-user-small

Shen Wang (4 posts)

I’ve bought Hello Android book a month ago and went through Sudoku example. It is by far the best Android programming book I’ve seen.

When I tried the codes in 3.4 section, I could switch the portrait to landscape correctly. But when I continued to press Ctrl+F11 to switch display from landscape to portrait, display was not correct. I ran it on screen simulator 2.3. How to fix it? Thank in advance.

Shen

20 Nov 2011, 16:38
Generic-user-small

Arnd R.Strube (53 posts)

Hi Shen,

It’s a simulator problem. Nothing wrong with the book or with your code.

A. Robert

29 Nov 2011, 02:27
Generic-user-small

Shen Wang (4 posts)

Thanks.

06 Dec 2011, 15:01
Burnette_ed_pragsmall

Ed Burnette (1316 posts)

You can use the Android 2.2 simulator or the 4.0 simulator. I don’t believe they have the problem.

06 Apr 2012, 13:03
Generic-user-small

Alan Birtle (2 posts)

Hi Ed,

I was using Android 2.3.3 simulator when I started the book. I also get the same problem of the app shutting down. After seeing your post, I have tried using 2.0 and 4.0 simulators but still get the same problem of having to do a force stop after pressing Ctrl+F11.

Any advise would be appreciated.

Thank you Alan Birtle

06 Apr 2012, 14:00
Generic-user-small

Alan Birtle (2 posts)

Hi Ed,

Very sorry about my last post.

It was entirely my own fault.

It was a typo in the layout-land.xls file. I used a lower-case ‘t’ in the line TableLayout declarations.

Thanks Alan.

12 Apr 2012, 18:20
Burnette_ed_pragsmall

Ed Burnette (1316 posts)

No sweat, that’s one of the most common problems people run into. I wish there was a Lint rule to catch it.

  You must be logged in to comment