S Scantech Well-Known Member Licensed User Longtime User Feb 23, 2013 #1 This occurs when you have inputlist shown and then rotate the screen on Android 4.2.2 Nexus 7 java.lang.IllegalArgumentException: View not attached to window manager at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:383) at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:285) at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:84) at android.widget.PopupWindow.dismiss(PopupWindow.java:1270) at de.amberhome.quickaction.PopupWindows.dismiss(PopupWindows.java:142) at de.amberhome.quickaction.QuickAction3D$3.onClick(QuickAction3D.java:250) at android.view.View.performClick(View.java:4204) at android.view.View$PerformClick.run(View.java:17355) at android.os.Handler.handleCallback(Handler.java:725) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5041) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStart.main(Native Method)
This occurs when you have inputlist shown and then rotate the screen on Android 4.2.2 Nexus 7 java.lang.IllegalArgumentException: View not attached to window manager at android.view.WindowManagerGlobal.findViewLocked(WindowManagerGlobal.java:383) at android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:285) at android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:84) at android.widget.PopupWindow.dismiss(PopupWindow.java:1270) at de.amberhome.quickaction.PopupWindows.dismiss(PopupWindows.java:142) at de.amberhome.quickaction.QuickAction3D$3.onClick(QuickAction3D.java:250) at android.view.View.performClick(View.java:4204) at android.view.View$PerformClick.run(View.java:17355) at android.os.Handler.handleCallback(Handler.java:725) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5041) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) at dalvik.system.NativeStart.main(Native Method)
NJDude Expert Licensed User Longtime User Feb 23, 2013 #2 I have a Nexus 7 running Android 4.2.2 and I don't have that issue, just to let you know.
S Scantech Well-Known Member Licensed User Longtime User Feb 23, 2013 #3 Hello NJ I believe it is caused by AHQuickAction. See my post http://www.b4x.com/forum/additional-libraries-classes-official-updates/14563-ahquickaction-library-nice-looking-popup-menus-14.html#post154226
Hello NJ I believe it is caused by AHQuickAction. See my post http://www.b4x.com/forum/additional-libraries-classes-official-updates/14563-ahquickaction-library-nice-looking-popup-menus-14.html#post154226
thedesolatesoul Expert Licensed User Longtime User Feb 23, 2013 #4 i had the same problem. you should not call a modal dialog on top of quick action. i bypassed this by using callsubdelayed from the quickaction click sub to call any modal dialogs. Sent from my GT-I9305 using Tapatalk 2
i had the same problem. you should not call a modal dialog on top of quick action. i bypassed this by using callsubdelayed from the quickaction click sub to call any modal dialogs. Sent from my GT-I9305 using Tapatalk 2
NJDude Expert Licensed User Longtime User Feb 23, 2013 #5 Scantech said: Hello NJ I believe it is caused by AHQuickAction. See my post http://www.b4x.com/forum/additional-libraries-classes-official-updates/14563-ahquickaction-library-nice-looking-popup-menus-14.html#post154226 Click to expand... Just move this line from Process_Globals to Globals: Code: Copy Dim ac2 As AHQuickAction3D That will do it.
Scantech said: Hello NJ I believe it is caused by AHQuickAction. See my post http://www.b4x.com/forum/additional-libraries-classes-official-updates/14563-ahquickaction-library-nice-looking-popup-menus-14.html#post154226 Click to expand... Just move this line from Process_Globals to Globals: Code: Copy Dim ac2 As AHQuickAction3D That will do it.
S Scantech Well-Known Member Licensed User Longtime User Feb 23, 2013 #6 Thanks for your help. Transferring over to Process_Global did not crash the app, however ran into other problem which I did not feel like looking into it. I used CallsubDelay, which did the trick.
Thanks for your help. Transferring over to Process_Global did not crash the app, however ran into other problem which I did not feel like looking into it. I used CallsubDelay, which did the trick.
thedesolatesoul Expert Licensed User Longtime User Feb 23, 2013 #7 Any activity objects should still be on Globals, otherwise that would cause memory leaks.