Or maybe it's this part.
02-22 14:39:49.921: VERBOSE/WindowManager(1297): Remove
Window{479e6eb0 Starting com.testapp.views paused=false}:
mSurface=Surface(name=Starting com.testapp.views, identity=8795)
mExiting=false isAnimating=false app-animation=null
inPendingTransaction=false mDisplayFrozen=false
02-22 14:39:49.931: ERROR/ActivityManager(1297): fail to set top app
changed!
02-22 14:39:49.951: INFO/WindowManager(1297): WIN DEATH:
Window{47acc2e8 com.testapp.views/com.testapp.views.MainActivity
paused=false}
02-22 14:39:49.951: VERBOSE/WindowManager(1297): Remove
Window{47acc2e8 com..testapp.views/com.testapp.views.MainActivity
paused=false}: mSurface=null mExiting=false isAnimating=false app-
animation=null inPendingTransaction=false mDisplayFrozen=false
02-22 14:39:49.961: INFO/WindowManager(1297): Setting rotation to 0,
animFlags=1
02-22 14:39:49.981: INFO/ActivityManager(1297): Config changed:
{ scale=1.0 imsi=214/1 loc=en_ES touch=3 keys=1/1/2 nav=1/1 orien=1
layout=34 uiMode=17 seq=504 skin=default}
02-22 14:39:49.991: VERBOSE/upgrading(1430): onConfigurationChanged
02-22 14:39:49.991: VERBOSE/upgrading(1430): onConfigurationChanged to
call verify locale
02-22 14:39:49.991: INFO/upgrading(1430): verifyLocale status: 0
02-22 14:39:50.001: INFO/upgrading(1430): verifyLocale providerLocale:
en_ES
02-22 14:39:50.031: INFO/UsageStats(1297): Unexpected resume of
com.htc.launcher while already resumed in com.testapp.views
02-22 14:39:50.041: INFO/ActivityManager(1297): Starting activity:
Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10000000
cmp=com.testapp.views/.MainActivity }
02-22 14:39:50.051: DEBUG/AndroidRuntime(18751): Shutting down VM
02-22 14:39:50.061: DEBUG/dalvikvm(18751): Debugger has detached;
object registry had 1 entries
02-22 14:39:50.071: INFO/AndroidRuntime(18751): NOTE: attach of thread
'Binder Thread #3' failed
02-22 14:39:50.121: DEBUG/InputManagerService(1297): Window already
focused, ignoring focus gain of:
com.android.internal.view.IInputMethodClient$Stub$Proxy@47c49250
02-22 14:39:50.281: INFO/dalvikvm(18424): Jit: resizing JitTable from
8192 to 16384
02-22 14:39:50.441: INFO/[POST_RESELECT](18424): [spanChange] (o,
oldStart, newStart, oldEnd, newEnd)=(android.text.Selection
$START@401cda50,-1,0,-1,0)
02-22 14:39:50.441: INFO/[POST_RESELECT](18424): [spanChange] (o,
oldStart, newStart, oldEnd, newEnd)=(android.text.Selection
$END@40154738,-1,0,-1,0)
02-22 14:39:50.461: INFO/ActivityManager(1297): Start proc
com.testapp.views for activity com.testapp.views/.MainActivity:
pid=18760 uid=10106 gids={3003, 1015}
02-22 14:39:50.551: DEBUG/dalvikvm(1213): GC_EXPLICIT freed 322
objects / 12400 bytes in 87ms
02-22 14:39:50.561: INFO/WindowManager(1297): Setting rotation to 3,
animFlags=1
02-22 14:39:50.581: VERBOSE/upgrading(1430): onConfigurationChanged
02-22 14:39:50.581: VERBOSE/upgrading(1430): onConfigurationChanged to
call verify locale
02-22 14:39:50.581: INFO/upgrading(1430): verifyLocale status: 0
02-22 14:39:50.581: INFO/ActivityManager(1297): Config changed:
{ scale=1.0 imsi=214/1 loc=en_ES touch=3 keys=1/1/2 nav=1/1 orien=2
layout=34 uiMode=17 seq=505 skin=default}
02-22 14:39:50.591: INFO/upgrading(1430): verifyLocale providerLocale:
en_ES
02-22 14:39:50.621: DEBUG/dalvikvm(1213): GC_EXPLICIT freed 57
objects / 2544 bytes in 67ms
Or does anyone know of a logcat translation page or just a place where
I can read about how to read it? Because I don't understand a lot of
it.
//André
On Feb 22, 3:03 pm, André <[email protected]> wrote:
> 02-22 14:38:15.941: VERBOSE/upgrading(1430): onConfigurationChanged to
> call verify locale
> 02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale status: 0
> 02-22 14:38:15.951: INFO/upgrading(1430): verifyLocale providerLocale:
> en_ES
> 02-22 14:38:15.951: INFO/UsageStats(1297): Unexpected resume of
> com.testapp.views while already resumed in com.testapp.views
> 02-22 14:38:20.947: WARN/WindowManager(1297): App freeze timeout
> expired.
> 02-22 14:38:20.947: WARN/WindowManager(1297): Force clearing freeze:
> AppWindowToken{47f54088 token=HistoryRecord{47a85750
> com.testapp.views/.MainActivity}}
>
> This is what I got from the logcat. I think it is here it crashes. Can
> you read it? Because I don't understand much of it!
>
> //André
>
> On Feb 22, 2:26 pm, André <[email protected]> wrote:
>
>
>
>
>
>
>
> > I have a problem with the two layouts. When I rotate the phone from
> > portrait to landscape (and vice versa) in my main activity the
> > application closes without the force close message. If I start my app
> > in either landscape or portrait the layouts work, but if I just
> > switched from either orientation it takes 3 - 5 tries before the
> > program starts with the outcome that the program just shuts down in
> > the 3 - 5 attempts.
>
> > My main activity's layout file is called main.xml and I have this file
> > in res/layout, res/layout-port & res/layout-land with some
> > modifictaions in layout-land.
> > I call setContentView(R.layout.main); from onCreate.
>
> > Is there something vital I'm missing for this to work?
>
> > //André
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en