Sample App > Orientation on LG Optimus S

I have an LG Optimus S LS260 phone, and this sample app does not work. I want transitions when I change orientation, and the way this app seems to do it is not include a build.settings file? This is what is included in the Sample Code\Interface\Orientation Folder…

main.lua [lua]–
– Abstract: Orientation sample app

– Version: 1.0

– Sample code is MIT licensed, see http://developer.anscamobile.com/code/license
– Copyright © 2010 ANSCA Inc. All Rights Reserved.

– This demonstrates how to handle orientation changes manually, by rotating elements within
– Corona. Note that the Corona stage remains fixed in place, and only the text rotates in this case.

– The advantage of this method is that you have full control over how to handle the change, as in
– the animation shown here. The disadvantage is that native UI elements will not rotate.

– Alternatively, you can use the device’s automatic orientation changes to rotate the entire stage,
– which will also rotate native UI elements. See the “NativeOrientation” sample code for more.

local label = display.newText( “portrait”, 0, 0, nil, 30 )
label:setTextColor( 255,255,255 )
label.x = display.contentWidth/2
label.y = display.contentHeight/2

local function onOrientationChange( event )
– change text to reflect current orientation
label.text = event.type
local direction = event.type

– rotate text so it remains upright
local newAngle = label.rotation - event.delta
transition.to( label, { time=150, rotation=newAngle } )
end

Runtime:addEventListener( “orientation”, onOrientationChange )[/lua]

config.lua [lua]-- config.lua

application =
{
content =
{
width = 320,
height = 480,
scale = “zoomEven” – zoom to fill screen, possibly cropping edges
},
}[/lua]

Can someone tell me what I need to do to get this working on my phone? Thanks! [import]uid: 7721 topic_id: 5984 reply_id: 305984[/import]