Android Question What is permission denied for window type 2010

welu1805

Active Member
Licensed User
Longtime User
Hi all,

in the log is a warning :

Logger connected to: joyar PYRO_7_PLUS_3G
--------- beginning of main
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
ExecuteMemoryTable: PRAGMA table_info ('Texte')
ExecuteMemoryTable: PRAGMA table_info ('Texte')
ExecuteMemoryTable: PRAGMA table_info ('Texte')
ExecuteMemoryTable: PRAGMA table_info ('RecordEvents')
ExecuteMemoryTable: PRAGMA table_info ('Texte')
ExecuteMemoryTable: PRAGMA table_info ('Texte')
ExecuteMemoryTable: PRAGMA table_info ('Texte')
aktSprache gefunden
de
in UpdateUI
Billing service connected.
Checking for in-app billing 3 support.
In-app billing version 3 supported for de.wedersoft.musicbook
Subscriptions AVAILABLE.
/storage/emulated/0/Android/data/de.wedersoft.musicbook/files
/storage/9016-4EF8/Android/data/de.wedersoft.musicbook/files
** Activity (main) Resume **
Starting async operation: refresh inventory
Querying owned items, item type: inapp
Package name: de.wedersoft.musicbook
Calling getPurchases with continuation token: null
true, Setup successful. (response: 0:OK)
Subscriptions supported: true
Owned items response: 0
Continuation token: null
Querying SKU details.
queryPrices: nothing to do because there are no SKUs.
Querying owned items, item type: subs
Package name: de.wedersoft.musicbook
Calling getPurchases with continuation token: null
Owned items response: 0
Continuation token: null
Querying SKU details.
queryPrices: nothing to do because there are no SKUs.
Ending async operation: refresh inventory
true
(MyMap) {}
in OwnedProducts nicht gefunden oder gefunden und nicht Status PURCHASED (canceld oder refunded
** Activity (main) Pause, UserClosed = false **
** Activity (editor) Create, isFirst = true **
Class not found: de.wedersoft.rtf2.buttonlutz, trying: de.wedersoft.musicbook.buttonlutz
Class not found: de.wedersoft.rtf2.buttonlutz, trying: de.wedersoft.musicbook.buttonlutz
** Activity (editor) Resume **
*** Service (statusbar) Create ***
** Service (statusbar) Start **
** Service (statusbar) Start **
statusbar_addoverlay (java line: 174)
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4j.object.JavaObject.RunMethod(JavaObject.java:131)
at de.wedersoft.musicbook.statusbar._addoverlay(statusbar.java:174)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:191)
at anywheresoftware.b4a.keywords.Common$11.run(Common.java:1154)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6523)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)
Caused by: android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@63d98a2 -- permission denied for window type 2010
at android.view.ViewRootImpl.setView(ViewRootImpl.java:799)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:359)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:93)
... 13 more
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
ExecuteMemoryTable: PRAGMA table_info ('Texte')
ExecuteMemoryTable: PRAGMA table_info ('Texte')
ExecuteMemoryTable: PRAGMA table_info ('RecordEvents')
ExecuteMemoryTable: PRAGMA table_info ('Texte')
ExecuteMemoryTable: PRAGMA table_info ('Texte')
aktSprache gefunden
de
in UpdateUI
Billing service connected.
Checking for in-app billing 3 support.
In-app billing version 3 supported for de.wedersoft.musicbook
Subscriptions AVAILABLE.
/storage/emulated/0/Android/data/de.wedersoft.musicbook/files
/storage/9016-4EF8/Android/data/de.wedersoft.musicbook/files
** Activity (main) Resume **
Starting async operation: refresh inventory
Querying owned items, item type: inapp
Package name: de.wedersoft.musicbook
Calling getPurchases with continuation token: null
true, Setup successful. (response: 0:OK)
Subscriptions supported: true
Owned items response: 0
Continuation token: null
Querying SKU details.
queryPrices: nothing to do because there are no SKUs.
Querying owned items, item type: subs
Package name: de.wedersoft.musicbook
Calling getPurchases with continuation token: null
Owned items response: 0
Continuation token: null
Querying SKU details.
queryPrices: nothing to do because there are no SKUs.
Ending async operation: refresh inventory
true
(MyMap) {}
in OwnedProducts nicht gefunden oder gefunden und nicht Status PURCHASED (canceld oder refunded

The app is running, but which permission is missing?

Lutz
 
Top