TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pritish Deshmukh
NA
194
197.5k
Fatal Error occurs in Monoandroid 4.0 but it works fine in previous version
Dec 7 2011 9:05 AM
Hello,
My application crash with the latest update in debug as well as in
release mode, same code works fine with previous version.
The crash occur while adding
Android.Views.ViewTreeObserver.IOnGlobalLayoutListener in relative layout's
ViewTreeObserver.AddOnGlobalLayoutListener
12-07 19:16:46.434: E/AndroidRuntime(482): FATAL EXCEPTION: main
12-07 19:16:46.434: E/AndroidRuntime(482): android.view.WindowManager$BadTokenException: Unable to add window -- token
android.os.BinderProxy@44f3e1e8
is not valid; is your activity running?
12-07 19:16:46.434: E/AndroidRuntime(482): at android.view.ViewRoot.setView(ViewRoot.java:505)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:177)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.view.Window$LocalWindowManager.addView(Window.java:424)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3178)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2684)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.os.Handler.dispatchMessage(Handler.java:99)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.os.Looper.loop(Looper.java:123)
12-07 19:16:46.434: E/AndroidRuntime(482): at android.app.ActivityThread.main(ActivityThread.java:4627)
12-07 19:16:46.434: E/AndroidRuntime(482): at java.lang.reflect.Method.invokeNative(Native Method)
12-07 19:16:46.434: E/AndroidRuntime(482): at java.lang.reflect.Method.invoke(Method.java:521)
12-07 19:16:46.434: E/AndroidRuntime(482): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
12-07 19:16:46.434: E/AndroidRuntime(482): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
12-07 19:16:46.434: E/AndroidRuntime(482): at dalvik.system.NativeStart.main(Native Method)
Regards
Pritish
Reply
Answers (
0
)
Silverlight enabled Wcf webservice call from the windows mobile application.
Blank Screen in WP7 phoneGap application