Android Question B4A: Impossible behavior

grafsoft

Well-Known Member
Licensed User
Longtime User
Hi,
I start an app with a pushservice. When the message is clicked, a download starts. Everything runs fine, until ... see my comments.

B4X:
Sub schreib
   If writing=True Then Return
   writing=True
   Label1.Text=Basis.t_saving & "x"
   ' The 3 lines above are executed. I can see label1.text

   Msgbox ("vor deletepic","")
' not executed. I see no msgbox
   Label1.Text="1"
' not executed
...

When I am in debug mode, the app is alive and I start the push notice, everything runs fine. But when the app is not allive and has to be started via the push notice, I cannot debug.

Strange ...
 

grafsoft

Well-Known Member
Licensed User
Longtime User
Right, thanks! But the debugging info does not help me, the logs I created are not there.

It seems that the app hangs at a certein point without any reason, but not in debug mode. Some timing problem?
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
It does not crash, it behaves beyond all logic. You won't see much here ...

LogCat connected to: B4A-Bridge: Lenovo MEDION E4503
--------- beginning of main
Installing file.
DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{17785ab6 anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{3519fe8a I.E..... R......D 0,0-480,854}
--------- beginning of system
ACT-HIDE_WINDOW handled : 0 / android.os.BinderProxy@f8cd87e
Flushing caches (mode 0)
Flushing caches (mode 0)
unregister, handle(0xb8a03118) (w:480 h:854 s:480 f:0x1 u:0x000f02)
unregister, handle(0xb8a03950) (w:480 h:854 s:480 f:0x1 u:0x000f02)
unregister, handle(0xb8a7c718) (w:480 h:854 s:480 f:0x1 u:0x000f02)
unregister, handle(0xb8a7e710) (w:480 h:854 s:480 f:0x1 u:0x000f02)
PackageAdded: package:FB.Tag
Background sticky concurrent mark sweep GC freed 3207(206KB) AllocSpace objects, 0(0B) LOS objects, 14% free, 1887KB/2MB, paused 10.917ms total 16.324ms
Connected to B4A-Bridge (Wifi)
getStorageVolume, volume:StorageVolume:
mStorageId=65537 mPath=/storage/sdcard0 mDescriptionId=17040783
mPrimary=true mRemovable=true mEmulated=false mMtpReserveSpace=0
mAllowMassStorage=true mMaxFileSize=0 mOwner=null mUuid=3330-6564
mUserLabel=null mState=mounted
getStorageVolume, volume:StorageVolume:
mStorageId=131073 mPath=/storage/sdcard1 mDescriptionId=17040785
mPrimary=false mRemovable=false mEmulated=true mMtpReserveSpace=10
mAllowMassStorage=false mMaxFileSize=0 mOwner=UserHandle{0} mUuid=null
mUserLabel=null mState=mounted
sending message to waiting queue (CallSubDelayed - UpdateStatus)
Connected to B4A-Bridge (Wifi)
getStorageVolume, volume:StorageVolume:
mStorageId=65537 mPath=/storage/sdcard0 mDescriptionId=17040783
mPrimary=true mRemovable=true mEmulated=false mMtpReserveSpace=0
mAllowMassStorage=true mMaxFileSize=0 mOwner=null mUuid=3330-6564
mUserLabel=null mState=mounted
getStorageVolume, volume:StorageVolume:
mStorageId=131073 mPath=/storage/sdcard1 mDescriptionId=17040785
mPrimary=false mRemovable=false mEmulated=true mMtpReserveSpace=10
mAllowMassStorage=false mMaxFileSize=0 mOwner=UserHandle{0} mUuid=null
mUserLabel=null mState=mounted
sending message to waiting queue (CallSubDelayed - UpdateStatus)
 
Last edited:
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
Now with version 5.50

LogCat connected to: B4A-Bridge: Lenovo MEDION E4503
--------- beginning of system
BIND_APPLICATION handled : 0 / AppBindData{appInfo=ApplicationInfo{22940dad anywheresoftware.b4a.b4abridge}}
Handling launch of ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}: app=android.app.Application@3d10d7a9, appName=anywheresoftware.b4a.b4abridge, pkg=anywheresoftware.b4a.b4abridge, comp={anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}, dir=/data/app/anywheresoftware.b4a.b4abridge-1/base.apk
Performing resume of ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}} finished=false
ACT-AM_ON_RESUME_CALLED ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
Resume ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}} started activity: false, hideForNow: false, finished: false
Resuming ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}} with isForward=true
Scheduling idle handler for ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
ACT-LAUNCH_ACTIVITY handled : 0 / ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
hoder:android.app.IActivityManager$ContentProviderHolder@56b307b,provider,holder.Provider:android.content.ContentProviderProxy@318b4e98
SVC-Creating service: CreateServiceData{token=android.os.BinderProxy@3dd7a7d3 className=anywheresoftware.b4a.b4abridge.service1 packageName=anywheresoftware.b4a.b4abridge intent=null}
SVC-CREATE_SERVICE handled : 0 / CreateServiceData{token=android.os.BinderProxy@3dd7a7d3 className=anywheresoftware.b4a.b4abridge.service1 packageName=anywheresoftware.b4a.b4abridge intent=null}
SVC-SERVICE_ARGS handled : 0 / ServiceArgsData{token=android.os.BinderProxy@3dd7a7d3 startId=1 args=Intent { cmp=anywheresoftware.b4a.b4abridge/.service1 }}
--------- beginning of main
Installing file.
** Activity (main) Pause, UserClosed = false **
ACT-AM_ON_PAUSE_CALLED ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
ACT-PAUSE_ACTIVITY handled : 1 / android.os.BinderProxy@1449c473
Flushing caches (mode 0)
Flushing caches (mode 0)
unregister, handle(0xb8481bb0) (w:480 h:854 s:480 f:0x1 u:0x000f02)
unregister, handle(0xb84e0930) (w:480 h:854 s:480 f:0x1 u:0x000f02)
unregister, handle(0xb84f9a40) (w:480 h:854 s:480 f:0x1 u:0x000f02)
unregister, handle(0xb84f9aa8) (w:480 h:854 s:480 f:0x1 u:0x000f02)
Finishing stop of ActivityRecord{1602b8e2 token=android.os.BinderProxy@1449c473 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}: show=false win=com.android.internal.policy.impl.PhoneWindow@4ef00e0
DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{23e9ecb anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{c7234cf I.E..... R....... 0,0-480,854}
ACT-STOP_ACTIVITY_HIDE handled : 0 / android.os.BinderProxy@1449c473
Flushing caches (mode 1)
PackageAdded: package:FB.Tag
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
The problem is - I do not know that. And it has nothing to do with the push service, I checked that.

It is a simple sub in an activity module.

B4X:
Sub schreib
   If writing=True Then Return
   writing=True
   Label1.Text=Basis.t_saving
   ' All the follwing lines are executed in debug mode.
   ' And in release mode, I see no changes on the screen, the sub deeletepic seems to be executed, but not readphoto.

   ' Msgbox ("vor deletepic","")
   ' Label1.Text="1"


   CallSubDelayed (Me,updatescreen(1))
   
   Basis.deletepic (Main.photonumber)
   ' Msgbox ("vor readphoto","")
   ' Label1.Text="2"
   
   CallSubDelayed (Me,updatescreen(2))
   Basis.readphoto (Main.photonumber & ".dat")
   Dim s As String
   s=Main.hostname & "_downloaded.php?nr=" & Main.photonumber & "&p=" & Settings.pnr
   DoEvents
   Dim jobx As HttpJob
   jobx.Initialize ("x",Me)
   Log (s)
   ' Msgbox (s,"")
   ' Label1.Text=s
   jobx.Download (s)
   CallSubDelayed (Me,updatescreen(3))
 
Upvote 0

Informatix

Expert
Licensed User
Longtime User
The problem is - I do not know that. And it has nothing to do with the push service, I checked that.

It is a simple sub in an activity module.

B4X:
Sub schreib
   If writing=True Then Return
   writing=True
   Label1.Text=Basis.t_saving
   ' All the follwing lines are executed in debug mode.
   ' And in release mode, I see no changes on the screen, the sub deeletepic seems to be executed, but not readphoto.

   ' Msgbox ("vor deletepic","")
   ' Label1.Text="1"


   CallSubDelayed (Me,updatescreen(1))
 
   Basis.deletepic (Main.photonumber)
   ' Msgbox ("vor readphoto","")
   ' Label1.Text="2"
 
   CallSubDelayed (Me,updatescreen(2))
   Basis.readphoto (Main.photonumber & ".dat")
   Dim s As String
   s=Main.hostname & "_downloaded.php?nr=" & Main.photonumber & "&p=" & Settings.pnr
   DoEvents
   Dim jobx As HttpJob
   jobx.Initialize ("x",Me)
   Log (s)
   ' Msgbox (s,"")
   ' Label1.Text=s
   jobx.Download (s)
   CallSubDelayed (Me,updatescreen(3))
DonManfred already explained why CallSubDelayed (Me,updatescreen(1)) does not work as expected. You should start by fixing that.
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
OK, the file is attached. After pressing the only button "Do it" the procedure starts.

In debug mode:

Module synch, line 179: Module show should open. But it does not.

B4X:
      Main.script="Draw/"
      Activity.finish
      StartActivity (Show)

In release mode:

Now it crashes, I tried USB debugging but I get no log (I disconnected, the device is in USB debug mode, connection to the computer is established.

But I know it is in this sub, because this line "Basis.readphoto (Main.photonumber & ".dat")" takes quite a few seconds, so that the tex of the label ("2") should be visible.

B4X:
Sub schreib
   If writing=True Then Return
   writing=True
   Label1.Text=Basis.t_saving
   
   ' Msgbox ("vor deletepic","")
   Label1.Text="1"


   ' CallSubDelayed (Me,updatescreen(1))
   
   Basis.deletepic (Main.photonumber)
   ' Msgbox ("vor readphoto","")
   Label1.Text="2"
   
   ' CallSubDelayed (Me,updatescreen(2))
   Basis.readphoto (Main.photonumber & ".dat")
   Dim s As String
   s=Main.hostname & "_downloaded.php?nr=" & Main.photonumber
   DoEvents
   Dim jobx As HttpJob
   jobx.Initialize ("x",Me)
   Log (s)
   ' Msgbox (s,"")
   Label1.Text=s
   jobx.Download (s)
   ' CallSubDelayed (Me,updatescreen(3))
End Sub

Someone please help me. Charge something if you want, or let me donate, whatever.
 

Attachments

  • test2.zip
    157.4 KB · Views: 247
Upvote 0

Informatix

Expert
Licensed User
Longtime User
OK, the file is attached. After pressing the only button "Do it" the procedure starts.

In debug mode:

Module synch, line 179: Module show should open. But it does not.

B4X:
      Main.script="Draw/"
      Activity.finish
      StartActivity (Show)

In release mode:

Now it crashes, I tried USB debugging but I get no log (I disconnected, the device is in USB debug mode, connection to the computer is established.

But I know it is in this sub, because this line "Basis.readphoto (Main.photonumber & ".dat")" takes quite a few seconds, so that the tex of the label ("2") should be visible.

B4X:
Sub schreib
   If writing=True Then Return
   writing=True
   Label1.Text=Basis.t_saving
  
   ' Msgbox ("vor deletepic","")
   Label1.Text="1"


   ' CallSubDelayed (Me,updatescreen(1))
  
   Basis.deletepic (Main.photonumber)
   ' Msgbox ("vor readphoto","")
   Label1.Text="2"
  
   ' CallSubDelayed (Me,updatescreen(2))
   Basis.readphoto (Main.photonumber & ".dat")
   Dim s As String
   s=Main.hostname & "_downloaded.php?nr=" & Main.photonumber
   DoEvents
   Dim jobx As HttpJob
   jobx.Initialize ("x",Me)
   Log (s)
   ' Msgbox (s,"")
   Label1.Text=s
   jobx.Download (s)
   ' CallSubDelayed (Me,updatescreen(3))
End Sub

Someone please help me. Charge something if you want, or let me donate, whatever.
OK, now I see what you're trying to do. Schreib is in fact the sub called by unzip_UnZipDone and unzip_unzipprogression, two events raised by my Archiver lib. Contrary to Erel, I raise all my events in their thread. If you want to run these events in the main thread to perform an operation that requires to be run in this UI thread (e.g. displaying a MsgBox, updating a view, etc.), you have to call your code with CallSubDelayed. So your solution could simply be CallSubDelayed(Me, "schreib") in the two events. BTW, you should rename this function to add an underscore in its name. And stop running in Debug Mode. Different thread = Release Mode. It's not an option.
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
I know that, but I did not have more info.

Now I did 2 things:

1. Removed the libraries I do not need for the test. Maybe you can test now.
2. Inserted some msgboxes. It happens between here
B4X:
Basis.debuginfo ("starting unzip",False)
ar.AsyncUnZip (Main.outdir,fname,Main.outdir,"unzip")
and here
B4X:
Sub unzip_UnZipDone(CompletedWithoutError As Boolean, NbOfFiles As Int)
   ' Msgbox (CompletedWithoutError, NbOfFiles)
   Basis.debuginfo ("unzipdone starting schreib",False)
   CallSubDelayed (Me,schreib)
End Sub

Sub unzip_unzipprogression (count As Int, filename As String)
   Basis.debuginfo ("unzipprogression starting schreib",False)
   CallSubDelayed (Me,schreib)
End Sub
These subs are never reached. The program crashes after 1 second.

Thank you!
 

Attachments

  • test3.zip
    157 KB · Views: 218
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
When I take out all these callsubdelayed, it still does not work.
no one told you to remove them. You just need to use them the right way. See callsubdelayed2 (as i already explained)
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
I have taken the callsubdelayed out long ago, because I do not need them. It has nothing to do with that.

Screenshot is of no value. "the application has been stopped".

It happens while unzipping is working. But I see your point, will try to get further info.
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
This is the log file. I do not know how to provide more information.

It happens between

ar.AsyncUnZip (Main.outdir,fname,Main.outdir,"unzip")

and these subs ar never reached

Sub unzip_UnZipDone(CompletedWithoutError As Boolean, NbOfFiles As Int)'
Sub unzip_unzipprogression (count As Int, filename AsString)

LogCat connected to: B4A-Bridge: Lenovo MEDION E4503
--------- beginning of system
ACT-AM_ON_PAUSE_CALLED ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
ACT-PAUSE_ACTIVITY handled : 1 / android.os.BinderProxy@3e60fbb3
Finishing stop of ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}: show=false win=com.android.internal.policy.impl.PhoneWindow@3237072e
ACT-STOP_ACTIVITY_HIDE handled : 0 / android.os.BinderProxy@3e60fbb3
--------- beginning of main
PackageAdded: package:b4a.example
Flushing caches (mode 0)
Flushing caches (mode 0)
Performing resume of ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}} finished=false
ACT-AM_ON_RESUME_CALLED ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
Resume ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}} started activity: false, hideForNow: false, finished: false
Resuming ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}} with isForward=true
DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{10fe1e0b anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{27e5a00f V.E..... R.....ID 0,0-480,854}
Scheduling idle handler for ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
ACT-RESUME_ACTIVITY handled : 1 / android.os.BinderProxy@3e60fbb3
register, handle(0xb753f050) (w:480 h:854 s:480 f:0x1 u:0x000f02)
[Mali]window_type=1, is_framebuffer=0, errnum = 0
[Mali]surface->num_buffers=4, surface->num_frames=3, win_min_undequeued=1
[Mali]max_allowed_dequeued_buffers=3
unregister, handle(0xb753f050) (w:480 h:854 s:480 f:0x1 u:0x000f02)
register, handle(0xb7507fc8) (w:480 h:854 s:480 f:0x1 u:0x000f02)
[KY] gralloc_lock here ~~~ !!!!
** Activity (main) Resume **
getStorageVolume, volume:StorageVolume:
mStorageId=65537 mPath=/storage/sdcard0 mDescriptionId=17040783
mPrimary=true mRemovable=true mEmulated=false mMtpReserveSpace=0
mAllowMassStorage=true mMaxFileSize=0 mOwner=null mUuid=3330-6564
mUserLabel=null mState=mounted
getStorageVolume, volume:StorageVolume:
mStorageId=131073 mPath=/storage/sdcard1 mDescriptionId=17040785
mPrimary=false mRemovable=false mEmulated=true mMtpReserveSpace=10
mAllowMassStorage=false mMaxFileSize=0 mOwner=UserHandle{0} mUuid=null
mUserLabel=null mState=mounted
Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
from settings cache , name = install_non_market_apps , value = 1
onWindowFocus: null softInputMode=290 first=true flags=#1810100
START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{27e5a00f V.E..... R.....ID 0,0-480,854} ic=null tba=android.view.inputmethod.EditorInfo@8b2a757 controlFlags=#104
** Activity (main) Pause, UserClosed = false **
ACT-AM_ON_PAUSE_CALLED ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
ACT-PAUSE_ACTIVITY handled : 0 / android.os.BinderProxy@3e60fbb3
Finishing stop of ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}: show=true win=com.android.internal.policy.impl.PhoneWindow@3237072e
ACT-STOP_ACTIVITY_SHOW handled : 0 / android.os.BinderProxy@3e60fbb3
START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{27e5a00f V.E..... R....... 0,0-480,854} ic=null tba=android.view.inputmethod.EditorInfo@2e879ab1 controlFlags=#100
Background sticky concurrent mark sweep GC freed 7313(474KB) AllocSpace objects, 0(0B) LOS objects, 27% free, 1594KB/2MB, paused 5.639ms total 12.800ms
register, handle(0xb730f248) (w:480 h:854 s:480 f:0x1 u:0x000f02)
[KY] gralloc_lock here ~~~ !!!!
Performing resume of ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}} finished=false
ACT-AM_ON_RESUME_CALLED ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{10fe1e0b anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{27e5a00f V.E..... R.....I. 0,0-480,854}
Resume ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}} started activity: false, hideForNow: false, finished: false
Resuming ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}} with isForward=true
Scheduling idle handler for ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
** Activity (main) Resume **
ACT-RESUME_ACTIVITY handled : 1 / android.os.BinderProxy@3e60fbb3
getStorageVolume, volume:StorageVolume:
mStorageId=65537 mPath=/storage/sdcard0 mDescriptionId=17040783
mPrimary=true mRemovable=true mEmulated=false mMtpReserveSpace=0
mAllowMassStorage=true mMaxFileSize=0 mOwner=null mUuid=3330-6564
mUserLabel=null mState=mounted
getStorageVolume, volume:StorageVolume:
mStorageId=131073 mPath=/storage/sdcard1 mDescriptionId=17040785
mPrimary=false mRemovable=false mEmulated=true mMtpReserveSpace=10
mAllowMassStorage=false mMaxFileSize=0 mOwner=UserHandle{0} mUuid=null
mUserLabel=null mState=mounted
Setting install_non_market_apps has moved from android.provider.Settings.Global to android.provider.Settings.Secure, returning read-only value.
from settings cache , name = install_non_market_apps , value = 1
onWindowFocus: null softInputMode=290 first=false flags=#1810100
START INPUT: com.android.internal.policy.impl.PhoneWindow$DecorView{27e5a00f V.E..... R.....ID 0,0-480,854} ic=null tba=android.view.inputmethod.EditorInfo@328459a7 controlFlags=#100
register, handle(0xb75a33a0) (w:480 h:854 s:480 f:0x1 u:0x000f02)
[KY] gralloc_lock here ~~~ !!!!
** Activity (main) Pause, UserClosed = true **
ACT-AM_ON_PAUSE_CALLED ActivityRecord{2e234522 token=android.os.BinderProxy@3e60fbb3 {anywheresoftware.b4a.b4abridge/anywheresoftware.b4a.b4abridge.main}}
ACT-PAUSE_ACTIVITY_FINISHING handled : 0 / android.os.BinderProxy@3e60fbb3
register, handle(0xb75abac0) (w:480 h:854 s:480 f:0x1 u:0x000f02)
[KY] gralloc_lock here ~~~ !!!!
Flushing caches (mode 0)
Flushing caches (mode 0)
unregister, handle(0xb7507fc8) (w:480 h:854 s:480 f:0x1 u:0x000f02)
unregister, handle(0xb730f248) (w:480 h:854 s:480 f:0x1 u:0x000f02)
unregister, handle(0xb75a33a0) (w:480 h:854 s:480 f:0x1 u:0x000f02)
unregister, handle(0xb75abac0) (w:480 h:854 s:480 f:0x1 u:0x000f02)
Flushing caches (mode 0)
Flushing caches (mode 0)
ACT-DESTROY_ACTIVITY handled : 1 / android.os.BinderProxy@3e60fbb3
Flushing caches (mode 0)
 
Upvote 0
Top