ScreenRecorder: An extension for screen recording

Please test in apk. The extension doesn't work in companion.

--------- beginning of main
03-22 20:03:05.798 19394 19394 E eenRecorder_1_: Not starting debugger since process cannot load the jdwp agent.
03-22 20:03:05.880 19394 19394 I eenRecorder_1_: The ClassLoaderContext is a special shared library.
03-22 20:03:05.901 19394 19394 I MultiDex: VM with version 2.1.0 has multidex support
03-22 20:03:05.901 19394 19394 I MultiDex: install: doIt = true
03-22 20:03:05.901 19394 19394 I MultiDex: VM has multidex support, MultiDex support library is disabled.
03-22 20:03:06.069 19394 19394 D AppInventorCompatActivity: Setting classic mode from YAIL: true
03-22 20:03:06.086 19394 19394 I MultiWindowDecorSupport: updateCaptionType >> DecorView@b268cc9[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
03-22 20:03:06.086 19394 19394 D MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@b268cc9[]
03-22 20:03:06.123 19394 19394 D AppInventorCompatActivity: Already have a title bar (classic mode): android.widget.TextView{e822c85 V.ED..... ......ID 0,0-0,0 #1020016 android:id/title}
03-22 20:03:06.124 19394 19394 D Form    : Form Screen1 got onCreate
03-22 20:03:06.124 19394 19394 I Form    : activeForm is now Screen1
03-22 20:03:06.124 19394 19394 D Form    : deviceDensity = 1.75
03-22 20:03:06.126 19394 19394 I Form    : compatScalingFactor = 1.2857143
03-22 20:03:06.127 19394 19394 D Form    : MULTI: _initialized = false formName = Screen1
03-22 20:03:06.130 19394 19394 D Form    : MultiDex already installed.
03-22 20:03:06.131 19394 19394 D Form    : onCreateFinish called 1679533386131
03-22 20:03:06.135 19394 19394 D Form    : recomputeLayout called
03-22 20:03:06.137 19394 19394 D Form    : About to create a new ScaledFrameLayout
03-22 20:03:06.139 19394 19394 D Form    : recomputeLayout called
03-22 20:03:06.140 19394 19394 D Form    : About to create a new ScaledFrameLayout
03-22 20:03:06.140 19394 19394 D Form    : recomputeLayout called
03-22 20:03:06.140 19394 19394 D Form    : About to create a new ScaledFrameLayout
03-22 20:03:06.140 19394 19394 D Form    : Sizing(Responsive)
03-22 20:03:06.140 19394 19394 D Form    : formWidth = 411 formHeight = 846
03-22 20:03:06.145 19394 19394 D Dialog  : mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
03-22 20:03:06.384 19394 19394 D Form    : Sizing(Responsive)
03-22 20:03:06.384 19394 19394 D Form    : formWidth = 411 formHeight = 846
03-22 20:03:06.387 19394 19394 D HVArrangement: Setting up frameContainer = FrameLayout()
03-22 20:03:06.423 19394 19394 D HVArrangement: Setting up frameContainer = ScrollView()
03-22 20:03:06.426 19394 19394 D ScrollView: initGoToTop
03-22 20:03:06.427 19394 19394 D HVArrangement: Setting up frameContainer = FrameLayout()
03-22 20:03:06.453 19394 19394 D HVArrangement: Setting up frameContainer = FrameLayout()
03-22 20:03:06.463 19394 19394 D HVArrangement: Setting up frameContainer = FrameLayout()
03-22 20:03:06.476 19394 19394 D HVArrangement: Setting up frameContainer = FrameLayout()
03-22 20:03:06.505 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.507 19394 19394 D HVArrangement: Setting up frameContainer = FrameLayout()
03-22 20:03:06.598 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.600 19394 19394 D HVArrangement: Setting up frameContainer = FrameLayout()
03-22 20:03:06.611 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.614 19394 19394 D HVArrangement: Setting up frameContainer = FrameLayout()
03-22 20:03:06.629 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.649 19394 19394 D HVArrangement: Setting up frameContainer = FrameLayout()
03-22 20:03:06.696 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.696 19394 19394 W System.err: Form.setChildWidth(): width = -2 parent Width = 411 child = com.google.appinventor.components.runtime.HorizontalArrangement@cfc85da
03-22 20:03:06.701 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.714 19394 19394 I chatty  : uid=10692(appinventor.ai_nickolaeqch.ScreenRecorder_1_1) identical 4 lines
03-22 20:03:06.717 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.728 19394 19394 D Form    : Form.Height = 846
03-22 20:03:06.729 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.730 19394 19394 W System.err: Form.setChildWidth(): width = -2 parent Width = 411 child = com.google.appinventor.components.runtime.VerticalScrollArrangement@f604456
03-22 20:03:06.732 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.736 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.740 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.746 19394 19394 I chatty  : uid=10692(appinventor.ai_nickolaeqch.ScreenRecorder_1_1) identical 2 lines
03-22 20:03:06.750 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.752 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.755 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.761 19394 19394 I chatty  : uid=10692(appinventor.ai_nickolaeqch.ScreenRecorder_1_1) identical 2 lines
03-22 20:03:06.764 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.769 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.793 19394 19394 I chatty  : uid=10692(appinventor.ai_nickolaeqch.ScreenRecorder_1_1) identical 8 lines
03-22 20:03:06.796 19394 19394 D Form    : Form.Width = 411
03-22 20:03:06.798 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@323ae3d
03-22 20:03:06.798 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@575f632
03-22 20:03:06.799 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@e93f83
03-22 20:03:06.799 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@6fc2500
03-22 20:03:06.799 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@aa1f139
03-22 20:03:06.799 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@989437e
03-22 20:03:06.800 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.ListPicker@bb44fe2
03-22 20:03:06.800 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.ListPicker@b1749c7
03-22 20:03:06.801 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.ListPicker@d34bb63
03-22 20:03:06.802 19394 19394 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.ListPicker@79f061c
03-22 20:03:06.807 19394 19394 I Form    : Form Screen1 got onResume
03-22 20:03:06.808 19394 19394 D OpenGLRenderer: Skia GL Pipeline
03-22 20:03:06.812 19394 19394 D EmergencyMode: [EmergencyManager] android createPackageContext successful
03-22 20:03:06.835 19394 19394 D InputTransport: Input channel constructed: fd=56
03-22 20:03:06.835 19394 19394 D ViewRootImpl@d93356f[Screen1]: setView = DecorView@b268cc9[Screen1] TM=true MM=false
03-22 20:03:06.885 19394 19394 D ViewRootImpl@d93356f[Screen1]: Relayout returned: old=[0,0][720,1534] new=[0,0][720,1534] result=0x7 surface={true 492543143936} changed=true
03-22 20:03:06.905 19394 19394 D ScrollView:  onsize change changed 
03-22 20:03:06.905 19394 19394 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:03:06.905 19394 19394 D Form    : keyboard hidden!
03-22 20:03:06.907 19394 19512 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
03-22 20:03:06.907 19394 19512 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-22 20:03:06.907 19394 19512 I OpenGLRenderer: Initialized EGL, version 1.4
03-22 20:03:06.907 19394 19512 D OpenGLRenderer: Swap behavior 2
03-22 20:03:06.918 19394 19512 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-22 20:03:06.918 19394 19512 D OpenGLRenderer: eglCreateWindowSurface = 0x728e3dfc00, 0x72addbf010
03-22 20:03:07.142 19394 19394 D Form    : Sizing(Responsive)
03-22 20:03:07.143 19394 19394 D Form    : formWidth = 411 formHeight = 846
03-22 20:03:07.143 19394 19394 D Form    : ReplayFormOrientation()
03-22 20:03:07.143 19394 19394 D Form    : Sizing(Responsive)
03-22 20:03:07.144 19394 19394 D Form    : formWidth = 411 formHeight = 846
03-22 20:03:07.144 19394 19394 D Form    : ReplayFormOrientation()
03-22 20:03:07.144 19394 19394 D Form    : Sizing(Responsive)
03-22 20:03:07.144 19394 19394 D Form    : formWidth = 411 formHeight = 846
03-22 20:03:07.144 19394 19394 D Form    : ReplayFormOrientation()
03-22 20:03:07.331 19394 19394 D Form    : Sizing(Responsive)
03-22 20:03:07.331 19394 19394 D Form    : formWidth = 411 formHeight = 846
03-22 20:03:07.368 19394 19394 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:03:07.368 19394 19394 D Form    : keyboard hidden!
03-22 20:03:07.374 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_RESIZED: frame=[0,0][720,1534] ci=[0,53][0,0] vi=[0,53][0,0] or=1
03-22 20:03:07.374 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:03:07.374 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:07.375 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:07.477 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:07.477 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:07.477 19394 19394 V InputMethodManager: Starting input: tba=appinventor.ai_nickolaeqch.ScreenRecorder_1_1 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
03-22 20:03:07.477 19394 19394 D InputMethodManager: startInputInner - Id : 0
03-22 20:03:07.477 19394 19394 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
03-22 20:03:07.489 19394 19394 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:03:07.489 19394 19394 D Form    : keyboard hidden!
03-22 20:03:07.492 19394 19407 D InputTransport: Input channel constructed: fd=70
03-22 20:03:07.492 19394 19394 D Form    : askPermission: permission = android.permission.WRITE_EXTERNAL_STORAGE requestCode = 8799
03-22 20:03:07.696 19394 19394 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:03:07.696 19394 19394 D Form    : keyboard hidden!
03-22 20:03:07.700 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:07.700 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:07.700 19394 19394 V InputMethodManager: Starting input: tba=appinventor.ai_nickolaeqch.ScreenRecorder_1_1 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
03-22 20:03:07.700 19394 19394 D InputMethodManager: startInputInner - Id : 0
03-22 20:03:07.701 19394 19394 I Form    : Form Screen1 got onPause
03-22 20:03:07.818 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 0 1
03-22 20:03:07.818 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:07.818 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:08.374 19394 19394 D InputTransport: Input channel destroyed: fd=70
03-22 20:03:10.515 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:03:10.515 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:10.516 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:10.518 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:10.518 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:10.518 19394 19394 V InputMethodManager: Starting input: tba=appinventor.ai_nickolaeqch.ScreenRecorder_1_1 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
03-22 20:03:10.518 19394 19394 D InputMethodManager: startInputInner - Id : 0
03-22 20:03:10.518 19394 19394 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
03-22 20:03:10.544 19394 19394 D InputTransport: Input channel constructed: fd=70
03-22 20:03:10.549 19394 19394 D ViewRootImpl@d93356f[Screen1]: stopped(false) old=false
03-22 20:03:10.555 19394 19394 I Form    : Form Screen1 got onResume
03-22 20:03:10.573 19394 19394 D Form    : askPermission: permission = android.permission.RECORD_AUDIO requestCode = 73285
03-22 20:03:10.727 19394 19394 I Form    : Form Screen1 got onPause
03-22 20:03:10.768 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 0 1
03-22 20:03:10.768 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:10.768 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:11.315 19394 19394 D InputTransport: Input channel destroyed: fd=70
03-22 20:03:12.352 19394 19394 D ViewRootImpl@d93356f[Screen1]: stopped(false) old=false
03-22 20:03:12.384 19394 19394 I Form    : Form Screen1 got onResume
03-22 20:03:12.386 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:03:12.386 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:12.386 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:12.388 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:12.388 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:12.388 19394 19394 V InputMethodManager: Starting input: tba=appinventor.ai_nickolaeqch.ScreenRecorder_1_1 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
03-22 20:03:12.388 19394 19394 D InputMethodManager: startInputInner - Id : 0
03-22 20:03:12.388 19394 19394 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
03-22 20:03:12.393 19394 19394 D InputTransport: Input channel constructed: fd=70
03-22 20:03:15.179 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:03:15.245 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:03:17.344 19394 19399 I eenRecorder_1_: Thread[3,tid=19399,WaitingInMainSignalCatcherLoop,Thread*=0x72ae816400,peer=0x13700970,"Signal Catcher"]: reacting to signal 3
03-22 20:03:17.344 19394 19399 I eenRecorder_1_: 
03-22 20:03:17.679 19394 19399 I eenRecorder_1_: Wrote stack traces to '[tombstoned]'
03-22 20:03:18.103 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:03:18.152 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:03:22.197 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:03:22.282 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:03:23.701 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 0 1
03-22 20:03:23.702 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:23.702 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:25.477 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:03:25.478 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:25.478 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:26.512 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:03:26.577 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:03:28.988 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 0 1
03-22 20:03:28.988 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:28.988 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:32.521 19394 19394 I Form    : Form Screen1 got onPause
03-22 20:03:32.965 19394 19512 W libEGL  : EGLNativeWindowType 0x72addbf010 disconnect failed
03-22 20:03:32.965 19394 19512 D OpenGLRenderer: eglDestroySurface = 0x728e3dfc00, 0x72addbf000
03-22 20:03:32.984 19394 19394 D ViewRootImpl@d93356f[Screen1]: Relayout returned: old=[0,0][720,1534] new=[0,0][720,1534] result=0x5 surface={false 0} changed=true
03-22 20:03:34.573 19394 19394 D InputTransport: Input channel destroyed: fd=70
03-22 20:03:34.797 19394 19394 D ViewRootImpl@d93356f[Screen1]: stopped(true) old=false
03-22 20:03:34.797 19394 19394 I Form    : Form Screen1 got onStop
03-22 20:03:40.571 19394 19394 D ViewRootImpl@d93356f[Screen1]: Relayout returned: old=[0,0][720,1534] new=[0,0][720,1534] result=0x1 surface={false 0} changed=false
03-22 20:03:40.571 19394 19394 D ViewRootImpl@d93356f[Screen1]: stopped(false) old=true
03-22 20:03:40.573 19394 19394 D ViewRootImpl@d93356f[Screen1]: stopped(false) old=false
03-22 20:03:40.573 19394 19394 I Form    : Form Screen1 got onResume
03-22 20:03:40.592 19394 19394 D ViewRootImpl@d93356f[Screen1]: Relayout returned: old=[0,0][720,1534] new=[0,0][720,1534] result=0x7 surface={true 492543143936} changed=true
03-22 20:03:40.610 19394 19512 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-22 20:03:40.611 19394 19512 D OpenGLRenderer: eglCreateWindowSurface = 0x728e3dfc00, 0x72addbf010
03-22 20:03:40.629 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:03:40.629 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:40.629 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:40.633 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:40.633 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:40.633 19394 19394 V InputMethodManager: Starting input: tba=appinventor.ai_nickolaeqch.ScreenRecorder_1_1 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
03-22 20:03:40.633 19394 19394 D InputMethodManager: startInputInner - Id : 0
03-22 20:03:40.633 19394 19394 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
03-22 20:03:40.688 19394 19394 D InputTransport: Input channel constructed: fd=69
03-22 20:03:43.721 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:03:43.795 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:03:45.076 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:03:45.140 19394 19394 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:03:45.155 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:45.155 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:45.155 19394 19394 V InputMethodManager: Starting input: tba=appinventor.ai_nickolaeqch.ScreenRecorder_1_1 ic=com.android.internal.widget.EditableInputConnection@d6da5f7 mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
03-22 20:03:45.156 19394 19394 D InputMethodManager: startInputInner - Id : 0
03-22 20:03:45.164 19394 19394 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
03-22 20:03:45.167 19394 19394 D InputTransport: Input channel constructed: fd=71
03-22 20:03:45.168 19394 19394 D InputTransport: Input channel destroyed: fd=69
03-22 20:03:45.168 19394 19394 D InputMethodManager: SSI - flag : 0 Pid : 19394 view : appinventor.ai_nickolaeqch.ScreenRecorder_1_1
03-22 20:03:45.168 19394 19394 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:03:45.168 19394 19394 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:03:45.195 19394 19394 D InputTransport: Input channel constructed: fd=77
03-22 20:03:45.195 19394 19394 D ViewRootImpl@7c3b5ce[PopupWindow:5ccaa93]: setView = android.widget.PopupWindow$PopupDecorView{b0d5cef V.E...... R.....I. 0,0-0,0} TM=true MM=false
03-22 20:03:45.237 19394 19394 D ViewRootImpl@7c3b5ce[PopupWindow:5ccaa93]: Relayout returned: old=[0,53][720,1534] new=[516,550][569,613] result=0x7 surface={true 491962458112} changed=true
03-22 20:03:45.241 19394 19512 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-22 20:03:45.241 19394 19512 D OpenGLRenderer: eglCreateWindowSurface = 0x728e3dfe00, 0x728b3f6010
03-22 20:03:45.249 19394 19394 D ViewRootImpl@7c3b5ce[PopupWindow:5ccaa93]: MSG_RESIZED: frame=[516,550][569,613] ci=[0,0][0,0] vi=[0,0][0,0] or=1
03-22 20:03:45.417 19394 19394 D ViewRootImpl@d93356f[Screen1]: MSG_RESIZED: frame=[0,0][720,1534] ci=[0,53][0,721] vi=[0,53][0,721] or=1
03-22 20:03:45.457 19394 19394 D ViewRootImpl@d93356f[Screen1]: Relayout returned: old=[0,0][720,1534] new=[0,0][720,1534] result=0x1 surface={true 492543143936} changed=false
03-22 20:03:45.479 19394 19394 D ScrollView:  onsize change changed 
03-22 20:03:45.480 19394 19394 D Form    : onGlobalLayout(): diffPercent = 0.5332464
03-22 20:03:45.480 19394 19394 D Form    : keyboard shown!
03-22 20:03:46.193 19394 19394 D ViewRootImpl@7c3b5ce[PopupWindow:5ccaa93]: ViewPostIme pointer 0
03-22 20:03:46.231 19394 19394 D ViewRootImpl@7c3b5ce[PopupWindow:5ccaa93]: Relayout returned: old=[516,550][569,613] new=[516,549][569,612] result=0x1 surface={true 491962458112} changed=false
03-22 20:03:46.232 19394 19394 D ViewRootImpl@7c3b5ce[PopupWindow:5ccaa93]: MSG_RESIZED: frame=[516,549][569,612] ci=[0,0][0,0] vi=[0,0][0,0] or=1
03-22 20:03:46.265 19394 19394 D ViewRootImpl@7c3b5ce[PopupWindow:5ccaa93]: Relayout returned: old=[516,549][569,612] new=[517,547][570,610] result=0x1 surface={true 491962458112} changed=false
03-22 20:03:46.265 19394 19394 D ViewRootImpl@7c3b5ce[PopupWindow:5ccaa93]: MSG_RESIZED: frame=[517,547][570,610] ci=[0,0][0,0] vi=[0,0][0,0] or=1
03-22 20:03:46.281 19394 19394 D ViewRootImpl@7c3b5ce[PopupWindow:5ccaa93]: Relayout returned: old=[517,547][570,610] new=[520,546][573,609] result=0x1 surface={true 491962458112} changed=false
03-22
ystem.err: java.io.IOException: prepare failed.
03-22 20:06:21.637 22293 22293 W System.err: 	at android.media.MediaRecorder._prepare(Native Method)
03-22 20:06:21.637 22293 22293 W System.err: 	at android.media.MediaRecorder.prepare(MediaRecorder.java:1309)
03-22 20:06:21.637 22293 22293 W System.err: 	at com.sunny.ScreenRecorder.ScreenRec.initRecorder(Unknown Source:124)
03-22 20:06:21.637 22293 22293 W System.err: 	at com.sunny.ScreenRecorder.ScreenRecorder.InitializeRecorder(Unknown Source:74)
03-22 20:06:21.637 22293 22293 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.expr.PrimProcedure.apply(PrimProcedure.java:285)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.mapping.CallContext.runUntilDone(CallContext.java:234)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.mapping.CallContext.runUntilValue(CallContext.java:298)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.mapping.MethodProc.applyN(MethodProc.java:113)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.kawa.reflect.Invoke.applyN(Invoke.java:193)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.kawa.functions.Apply.applyN(Apply.java:70)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.mapping.ProcedureN.apply2(ProcedureN.java:39)
03-22 20:06:21.637 22293 22293 W System.err: 	at com.google.youngandroid.runtime.callComponentMethod(runtime2875152825589326729.scm:1113)
03-22 20:06:21.637 22293 22293 W System.err: 	at appinventor.ai_nickolaeqch.ScreenRecorder_1_1.Screen1.Screen1$Initialize(Screen1.yail:26)
03-22 20:06:21.637 22293 22293 W System.err: 	at appinventor.ai_nickolaeqch.ScreenRecorder_1_1.Screen1$frame.apply0(Screen1.yail:542)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.expr.ModuleBody.applyN(ModuleBody.java:226)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.expr.ModuleMethod.applyN(ModuleMethod.java:216)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.kawa.functions.ApplyToArgs.applyN(ApplyToArgs.java:139)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.kawa.functions.Apply.applyN(Apply.java:70)
03-22 20:06:21.637 22293 22293 W System.err: 	at gnu.mapping.ProcedureN.apply2(ProcedureN.java:39)
03-22 20:06:21.637 22293 22293 W System.err: 	at appinventor.ai_nickolaeqch.ScreenRecorder_1_1.Screen1.dispatchEvent(Screen1.yail:10130)
03-22 20:06:21.637 22293 22293 W System.err: 	at com.google.appinventor.components.runtime.EventDispatcher.delegateDispatchEvent(EventDispatcher.java:222)
03-22 20:06:21.637 22293 22293 W System.err: 	at com.google.appinventor.components.runtime.EventDispatcher.dispatchEvent(EventDispatcher.java:199)
03-22 20:06:21.637 22293 22293 W System.err: 	at com.google.appinventor.components.runtime.Form$2.run(Form.java:885)
03-22 20:06:21.637 22293 22293 W System.err: 	at android.os.Handler.handleCallback(Handler.java:873)
03-22 20:06:21.637 22293 22293 W System.err: 	at android.os.Handler.dispatchMessage(Handler.java:99)
03-22 20:06:21.637 22293 22293 W System.err: 	at android.os.Looper.loop(Looper.java:216)
03-22 20:06:21.637 22293 22293 W System.err: 	at android.app.ActivityThread.main(ActivityThread.java:7285)
03-22 20:06:21.637 22293 22293 W System.err: 	at java.lang.reflect.Method.invoke(Native Method)
03-22 20:06:21.637 22293 22293 W System.err: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-22 20:06:21.637 22293 22293 W System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
03-22 20:06:21.714 22293 22293 D Form    : Sizing(Responsive)
03-22 20:06:21.715 22293 22293 D Form    : formWidth = 411 formHeight = 846
03-22 20:06:21.750 22293 22293 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:06:21.750 22293 22293 D Form    : keyboard hidden!
03-22 20:06:21.756 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_RESIZED: frame=[0,0][720,1534] ci=[0,53][0,0] vi=[0,53][0,0] or=1
03-22 20:06:21.756 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:06:21.757 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:21.757 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:21.767 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:21.768 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:21.768 22293 22293 V InputMethodManager: Starting input: tba=appinventor.ai_nickolaeqch.ScreenRecorder_1_1 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
03-22 20:06:21.768 22293 22293 D InputMethodManager: startInputInner - Id : 0
03-22 20:06:21.768 22293 22293 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
03-22 20:06:21.772 22293 22293 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:06:21.772 22293 22293 D Form    : keyboard hidden!
03-22 20:06:21.778 22293 22345 D InputTransport: Input channel constructed: fd=75
03-22 20:06:21.797 22293 22293 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:06:21.797 22293 22293 D Form    : keyboard hidden!
03-22 20:06:21.798 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:21.799 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:21.799 22293 22293 V InputMethodManager: Starting input: tba=appinventor.ai_nickolaeqch.ScreenRecorder_1_1 ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
03-22 20:06:21.799 22293 22293 D InputMethodManager: startInputInner - Id : 0
03-22 20:06:23.698 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:23.764 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:23.784 22293 22293 D Dialog  : mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
03-22 20:06:23.795 22293 22293 I DecorView: mWindow.mActivityCurrentConfig is null.
03-22 20:06:23.796 22293 22293 I MultiWindowDecorSupport: updateCaptionType >> DecorView@8bf5a79[], isFloating: true, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: false
03-22 20:06:23.796 22293 22293 D MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@8bf5a79[]
03-22 20:06:23.805 22293 22293 D ScrollView: initGoToTop
03-22 20:06:23.835 22293 22293 D InputTransport: Input channel constructed: fd=79
03-22 20:06:23.836 22293 22293 D ViewRootImpl@1192470[Screen1]: setView = DecorView@8bf5a79[Screen1] TM=true MM=false
03-22 20:06:23.869 22293 22293 D ViewRootImpl@1192470[Screen1]: Relayout returned: old=[0,53][720,1534] new=[80,480][640,1107] result=0x7 surface={true 491961581568} changed=true
03-22 20:06:23.876 22293 22311 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-22 20:06:23.877 22293 22311 D OpenGLRenderer: eglCreateWindowSurface = 0x72adcece00, 0x728b320010
03-22 20:06:23.891 22293 22293 D AbsListView:  in onLayout changed 
03-22 20:06:23.892 22293 22293 D ViewRootImpl@1192470[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:06:23.904 22293 22293 D ViewRootImpl@1192470[Screen1]: MSG_RESIZED: frame=[80,480][640,1107] ci=[0,0][0,0] vi=[0,0][0,0] or=1
03-22 20:06:23.936 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 0 1
03-22 20:06:23.937 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:23.937 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:24.685 22293 22293 D ViewRootImpl@1192470[Screen1]: ViewPostIme pointer 0
03-22 20:06:24.733 22293 22293 D ViewRootImpl@1192470[Screen1]: ViewPostIme pointer 1
03-22 20:06:24.734 22293 22293 D AbsListView: onTouchUp() mTouchMode : 0
03-22 20:06:24.806 22293 22311 W libEGL  : EGLNativeWindowType 0x728b320010 disconnect failed
03-22 20:06:24.806 22293 22311 D OpenGLRenderer: eglDestroySurface = 0x72adcece00, 0x728b320000
03-22 20:06:24.806 22293 22293 D ViewRootImpl@1192470[Screen1]: dispatchDetachedFromWindow
03-22 20:06:24.827 22293 22293 D InputTransport: Input channel destroyed: fd=79
03-22 20:06:24.840 22293 22293 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:06:24.840 22293 22293 D Form    : keyboard hidden!
03-22 20:06:24.842 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:06:24.842 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:24.842 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:24.845 22293 22293 E ViewRootImpl: sendUserActionEvent() returned.
03-22 20:06:24.860 22293 22293 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:06:24.860 22293 22293 D Form    : keyboard hidden!
03-22 20:06:25.420 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:25.477 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:25.480 22293 22293 D Dialog  : mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
03-22 20:06:25.485 22293 22293 I DecorView: mWindow.mActivityCurrentConfig is null.
03-22 20:06:25.486 22293 22293 I MultiWindowDecorSupport: updateCaptionType >> DecorView@4678959[], isFloating: true, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: false
03-22 20:06:25.486 22293 22293 D MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@4678959[]
03-22 20:06:25.492 22293 22293 D ScrollView: initGoToTop
03-22 20:06:25.517 22293 22293 D InputTransport: Input channel constructed: fd=79
03-22 20:06:25.518 22293 22293 D ViewRootImpl@cf0592a[Screen1]: setView = DecorView@4678959[Screen1] TM=true MM=false
03-22 20:06:25.544 22293 22293 D ViewRootImpl@cf0592a[Screen1]: Relayout returned: old=[0,53][720,1534] new=[80,480][640,1107] result=0x7 surface={true 491938349056} changed=true
03-22 20:06:25.549 22293 22311 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-22 20:06:25.549 22293 22311 D OpenGLRenderer: eglCreateWindowSurface = 0x728b2aab00, 0x7289cf8010
03-22 20:06:25.564 22293 22293 D AbsListView:  in onLayout changed 
03-22 20:06:25.565 22293 22293 D ViewRootImpl@cf0592a[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:06:25.576 22293 22293 D ViewRootImpl@cf0592a[Screen1]: MSG_RESIZED: frame=[80,480][640,1107] ci=[0,0][0,0] vi=[0,0][0,0] or=1
03-22 20:06:25.610 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 0 1
03-22 20:06:25.610 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:25.611 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:26.457 22293 22293 D ViewRootImpl@cf0592a[Screen1]: ViewPostIme pointer 0
03-22 20:06:26.521 22293 22293 D ViewRootImpl@cf0592a[Screen1]: ViewPostIme pointer 1
03-22 20:06:26.522 22293 22293 D AbsListView: onTouchUp() mTouchMode : 0
03-22 20:06:26.590 22293 22311 W libEGL  : EGLNativeWindowType 0x7289cf8010 disconnect failed
03-22 20:06:26.590 22293 22311 D OpenGLRenderer: eglDestroySurface = 0x728b2aab00, 0x7289cf8000
03-22 20:06:26.590 22293 22293 D ViewRootImpl@cf0592a[Screen1]: dispatchDetachedFromWindow
03-22 20:06:26.612 22293 22293 D InputTransport: Input channel destroyed: fd=79
03-22 20:06:26.622 22293 22293 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:06:26.622 22293 22293 D Form    : keyboard hidden!
03-22 20:06:26.623 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:06:26.623 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:26.623 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:26.629 22293 22293 E ViewRootImpl: sendUserActionEvent() returned.
03-22 20:06:27.168 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:27.241 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:27.246 22293 22293 D Dialog  : mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
03-22 20:06:27.250 22293 22293 I DecorView: mWindow.mActivityCurrentConfig is null.
03-22 20:06:27.250 22293 22293 I MultiWindowDecorSupport: updateCaptionType >> DecorView@44b1c64[], isFloating: true, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: false
03-22 20:06:27.250 22293 22293 D MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@44b1c64[]
03-22 20:06:27.257 22293 22293 D ScrollView: initGoToTop
03-22 20:06:27.283 22293 22293 D InputTransport: Input channel constructed: fd=79
03-22 20:06:27.284 22293 22293 D ViewRootImpl@a707ac9[Screen1]: setView = DecorView@44b1c64[Screen1] TM=true MM=false
03-22 20:06:27.312 22293 22293 D ViewRootImpl@a707ac9[Screen1]: Relayout returned: old=[0,53][720,1534] new=[80,480][640,1107] result=0x7 surface={true 491938889728} changed=true
03-22 20:06:27.316 22293 22311 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-22 20:06:27.316 22293 22311 D OpenGLRenderer: eglCreateWindowSurface = 0x728d77f400, 0x7289d7c010
03-22 20:06:27.330 22293 22293 D AbsListView:  in onLayout changed 
03-22 20:06:27.331 22293 22293 D ViewRootImpl@a707ac9[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:06:27.340 22293 22293 D ViewRootImpl@a707ac9[Screen1]: MSG_RESIZED: frame=[80,480][640,1107] ci=[0,0][0,0] vi=[0,0][0,0] or=1
03-22 20:06:27.397 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 0 1
03-22 20:06:27.397 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:27.397 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:28.055 22293 22293 D ViewRootImpl@a707ac9[Screen1]: ViewPostIme pointer 0
03-22 20:06:28.111 22293 22293 D ViewRootImpl@a707ac9[Screen1]: ViewPostIme pointer 1
03-22 20:06:28.111 22293 22293 D AbsListView: onTouchUp() mTouchMode : 0
03-22 20:06:28.178 22293 22311 W libEGL  : EGLNativeWindowType 0x7289d7c010 disconnect failed
03-22 20:06:28.179 22293 22311 D OpenGLRenderer: eglDestroySurface = 0x728d77f400, 0x7289d7c000
03-22 20:06:28.179 22293 22293 D ViewRootImpl@a707ac9[Screen1]: dispatchDetachedFromWindow
03-22 20:06:28.196 22293 22293 D InputTransport: Input channel destroyed: fd=79
03-22 20:06:28.204 22293 22293 D Form    : onGlobalLayout(): diffPercent = 0.063233376
03-22 20:06:28.205 22293 22293 D Form    : keyboard hidden!
03-22 20:06:28.206 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 1 1
03-22 20:06:28.206 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:28.206 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:28.211 22293 22293 E ViewRootImpl: sendUserActionEvent() returned.
03-22 20:06:30.410 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:31.129 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:31.502 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:31.850 22293 22299 I eenRecorder_1_: Thread[3,tid=22299,WaitingInMainSignalCatcherLoop,Thread*=0x72ae816400,peer=0x13ac0230,"Signal Catcher"]: reacting to signal 3
03-22 20:06:31.850 22293 22299 I eenRecorder_1_: 
03-22 20:06:32.036 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:32.142 22293 22299 I eenRecorder_1_: Wrote stack traces to '[tombstoned]'
03-22 20:06:32.307 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:32.973 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:33.211 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:33.805 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:40.086 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:40.447 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:40.806 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:41.057 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:41.396 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:41.660 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:42.000 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:42.245 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:42.661 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:42.906 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:43.414 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 0
03-22 20:06:43.692 22293 22293 D ViewRootImpl@d93356f[Screen1]: ViewPostIme pointer 1
03-22 20:06:43.709 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:43.709 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:43.709 22293 22293 V InputMethodManager: Starting input: tba=appinventor.ai_nickolaeqch.ScreenRecorder_1_1 ic=com.android.internal.widget.EditableInputConnection@96110af mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false
03-22 20:06:43.709 22293 22293 D InputMethodManager: startInputInner - Id : 0
03-22 20:06:43.718 22293 22293 I InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus
03-22 20:06:43.720 22293 22293 D InputTransport: Input channel constructed: fd=79
03-22 20:06:43.720 22293 22293 D InputTransport: Input channel destroyed: fd=75
03-22 20:06:43.721 22293 22293 D InputMethodManager: SSI - flag : 0 Pid : 22293 view : appinventor.ai_nickolaeqch.ScreenRecorder_1_1
03-22 20:06:43.721 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:43.721 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:43.749 22293 22293 D InputTransport: Input channel constructed: fd=80
03-22 20:06:43.749 22293 22293 D ViewRootImpl@83c66a7[PopupWindow:98bc8a8]: setView = android.widget.PopupWindow$PopupDecorView{528c754 V.E...... R.....I. 0,0-0,0} TM=true MM=false
03-22 20:06:43.779 22293 22293 D ViewRootImpl@83c66a7[PopupWindow:98bc8a8]: Relayout returned: old=[0,53][720,1534] new=[592,550][645,613] result=0x7 surface={true 491938889728} changed=true
03-22 20:06:43.783 22293 22311 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-22 20:06:43.783 22293 22311 D OpenGLRenderer: eglCreateWindowSurface = 0x728b2aac80, 0x7289d7c010
03-22 20:06:43.792 22293 22293 D ViewRootImpl@83c66a7[PopupWindow:98bc8a8]: MSG_RESIZED: frame=[592,550][645,613] ci=[0,0][0,0] vi=[0,0][0,0] or=1
03-22 20:06:43.921 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_RESIZED: frame=[0,0][720,1534] ci=[0,53][0,721] vi=[0,53][0,721] or=1
03-22 20:06:43.970 22293 22293 D ViewRootImpl@d93356f[Screen1]: Relayout returned: old=[0,0][720,1534] new=[0,0][720,1534] result=0x1 surface={true 492543098880} changed=false
03-22 20:06:43.987 22293 22293 D ScrollView:  onsize change changed 
03-22 20:06:43.987 22293 22293 D Form    : onGlobalLayout(): diffPercent = 0.5332464
03-22 20:06:43.987 22293 22293 D Form    : keyboard shown!
03-22 20:06:45.486 22293 22293 I Form    : Form Screen1 got onPause
03-22 20:06:45.508 22293 22293 D ViewRootImpl@d93356f[Screen1]: MSG_WINDOW_FOCUS_CHANGED 0 1
03-22 20:06:45.508 22293 22293 D InputMethodManager: prepareNavigationBarInfo() DecorView@b268cc9[Screen1]
03-22 20:06:45.508 22293 22293 D InputMethodManager: getNavigationBarColor() -855310
03-22 20:06:45.618 22293 22311 W libEGL  : EGLNativeWindowType 0x7289d7c010 disconnect failed
03-22 20:06:45.618 22293 22311 D OpenGLRenderer: eglDestroySurface = 0x728b2aac80, 0x7289d7c000
03-22 20:06:45.618 22293 22293 D ViewRootImpl@83c66a7[PopupWindow:98bc8a8]: dispatchDetachedFromWindow
03-22 20:06:45.641 22293 22293 D InputTransport: Input channel destroyed: fd=80
03-22 20:06:45.657 22293 22293 D InputTransport: Input channel destroyed: fd=79
03-22 20:06:45.664 22293 22293 W IInputConnectionWrapper: beginBatchEdit on inactive InputConnection
03-22 20:06:45.664 22293 22293 W IInputConnectionWrapper: endBatchEdit on inactive InputConnection
03-22 20:06:45.782 22293 22293 D ViewRootImpl@d93356f[Screen1]: stopped(true) old=false
03-22 20:06:45.784 22293 22293 I Form    : Form Screen1 got onStop
03-22 20:06:45.803 22293 22311 W libEGL  : EGLNativeWindowType 0x72addb4010 disconnect failed
03-22 20:06:45.803 22293 22311 D OpenGLRenderer: eglDestroySurface = 0x728c908800, 0x72addb4000
03-22 20:06:45.818 22293 22293 D ViewRootImpl@d93356f[Screen1]: Relayout returned: old=[0,0][720,1534] new=[0,0][720,1534] result=0x5 surface={false 0} changed=true
03-22 20:06:45.978 22293 22293 D ViewRootImpl@d93356f[Screen1]: Relayout returned: old=[0,0][720,1534] new=[0,0][720,1534] result=0x1 surface={false 0} changed=false
--------- beginning of crash
03-22 20:21:05.700 22293 22293 E AndroidRuntime: FATAL EXCEPTION: main
03-22 20:21:05.700 22293 22293 E AndroidRuntime: Process: appinventor.ai_nickolaeqch.ScreenRecorder_1_1, PID: 22293
03-22 20:21:05.700 22293 22293 E AndroidRuntime: android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{2300dc u0 appinventor.ai_nickolaeqch.ScreenRecorder_1_1/com.sunny.ScreenRecorder.ScreenRec}
03-22 20:21:05.700 22293 22293 E AndroidRuntime: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1917)
03-22 20:21:05.700 22293 22293 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:106)
03-22 20:21:05.700 22293 22293 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:216)
03-22 20:21:05.700 22293 22293 E AndroidRuntime: 	at android.app.ActivityThread.main(ActivityThread.java:7285)
03-22 20:21:05.700 22293 22293 E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
03-22 20:21:05.700 22293 22293 E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
03-22 20:21:05.700 22293 22293 E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
--------- beginning of main
03-23 06:48:20.125 10874 10874 E eenRecorder_1_: Not starting debugger since process cannot load the jdwp agent.
03-23 06:48:20.222 10874 10874 I eenRecorder_1_: The ClassLoaderContext is a special shared library.
03-23 06:48:20.292 10874 10874 I MultiDex: VM with version 2.1.0 has multidex support
03-23 06:48:20.292 10874 10874 I MultiDex: install: doIt = true
03-23 06:48:20.292 10874 10874 I MultiDex: VM has multidex support, MultiDex support library is disabled.
03-23 06:48:20.396 10874 10874 D AppInventorCompatActivity: Setting classic mode from YAIL: true
03-23 06:48:20.407 10874 10874 I MultiWindowDecorSupport: updateCaptionType >> DecorView@b268cc9[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true
03-23 06:48:20.407 10874 10874 D MultiWindowDecorSupport: setCaptionType = 0, DecorView = DecorView@b268cc9[]
03-23 06:48:20.419 10874 10874 D AppInventorCompatActivity: Already have a title bar (classic mode): android.widget.TextView{e822c85 V.ED..... ......ID 0,0-0,0 #1020016 android:id/title}
03-23 06:48:20.420 10874 10874 D Form    : Form Screen1 got onCreate
03-23 06:48:20.420 10874 10874 I Form    : activeForm is now Screen1
03-23 06:48:20.420 10874 10874 D Form    : deviceDensity = 1.75
03-23 06:48:20.422 10874 10874 I Form    : compatScalingFactor = 1.2857143
03-23 06:48:20.424 10874 10874 D Form    : MULTI: _initialized = false formName = Screen1
03-23 06:48:20.427 10874 10874 D Form    : MultiDex already installed.
03-23 06:48:20.427 10874 10874 D Form    : onCreateFinish called 1679572100427
03-23 06:48:20.429 10874 10874 D Form    : recomputeLayout called
03-23 06:48:20.430 10874 10874 D Form    : About to create a new ScaledFrameLayout
03-23 06:48:20.433 10874 10874 D Form    : recomputeLayout called
03-23 06:48:20.433 10874 10874 D Form    : About to create a new ScaledFrameLayout
03-23 06:48:20.433 10874 10874 D Form    : recomputeLayout called
03-23 06:48:20.433 10874 10874 D Form    : About to create a new ScaledFrameLayout
03-23 06:48:20.434 10874 10874 D Form    : Sizing(Responsive)
03-23 06:48:20.434 10874 10874 D Form    : formWidth = 411 formHeight = 846
03-23 06:48:20.441 10874 10874 D Dialog  : mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
03-23 06:48:20.726 10874 10874 D Form    : Sizing(Responsive)
03-23 06:48:20.727 10874 10874 D Form    : formWidth = 411 formHeight = 846
03-23 06:48:20.730 10874 10874 D HVArrangement: Setting up frameContainer = FrameLayout()
03-23 06:48:20.771 10874 10874 D HVArrangement: Setting up frameContainer = ScrollView()
03-23 06:48:20.777 10874 10874 D ScrollView: initGoToTop
03-23 06:48:20.778 10874 10874 D HVArrangement: Setting up frameContainer = FrameLayout()
03-23 06:48:20.801 10874 10874 D HVArrangement: Setting up frameContainer = FrameLayout()
03-23 06:48:20.812 10874 10874 D HVArrangement: Setting up frameContainer = FrameLayout()
03-23 06:48:20.826 10874 10874 D HVArrangement: Setting up frameContainer = FrameLayout()
03-23 06:48:20.857 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.859 10874 10874 D HVArrangement: Setting up frameContainer = FrameLayout()
03-23 06:48:20.866 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.868 10874 10874 D HVArrangement: Setting up frameContainer = FrameLayout()
03-23 06:48:20.874 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.876 10874 10874 D HVArrangement: Setting up frameContainer = FrameLayout()
03-23 06:48:20.882 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.903 10874 10874 D HVArrangement: Setting up frameContainer = FrameLayout()
03-23 06:48:20.946 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.946 10874 10874 W System.err: Form.setChildWidth(): width = -2 parent Width = 411 child = com.google.appinventor.components.runtime.HorizontalArrangement@cfc85da
03-23 06:48:20.950 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.953 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.959 10874 10874 I chatty  : uid=10692(appinventor.ai_nickolaeqch.ScreenRecorder_1_1) identical 3 lines
03-23 06:48:20.962 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.971 10874 10874 D Form    : Form.Height = 846
03-23 06:48:20.973 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.973 10874 10874 W System.err: Form.setChildWidth(): width = -2 parent Width = 411 child = com.google.appinventor.components.runtime.VerticalScrollArrangement@f604456
03-23 06:48:20.975 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.991 10874 10874 I chatty  : uid=10692(appinventor.ai_nickolaeqch.ScreenRecorder_1_1) identical 5 lines
03-23 06:48:20.993 10874 10874 D Form    : Form.Width = 411
03-23 06:48:20.996 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.001 10874 10874 I chatty  : uid=10692(appinventor.ai_nickolaeqch.ScreenRecorder_1_1) identical 2 lines
03-23 06:48:21.004 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.008 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.011 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.014 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.019 10874 10874 I chatty  : uid=10692(appinventor.ai_nickolaeqch.ScreenRecorder_1_1) identical 2 lines
03-23 06:48:21.022 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.034 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.038 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.044 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.050 10874 10874 D Form    : Form.Width = 411
03-23 06:48:21.053 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@323ae3d
03-23 06:48:21.054 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@575f632
03-23 06:48:21.054 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@e93f83
03-23 06:48:21.054 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@6fc2500
03-23 06:48:21.055 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@aa1f139
03-23 06:48:21.055 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.Button@989437e
03-23 06:48:21.057 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.ListPicker@bb44fe2
03-23 06:48:21.059 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.ListPicker@b1749c7
03-23 06:48:21.061 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.ListPicker@d34bb63
03-23 06:48:21.067 10874 10874 I Form    : calling Initialize method for Object com.google.appinventor.components.runtime.ListPicker@79f061c
03-23 06:48:21.076 10874 10874 I Form    : Form Screen1 got onResume
03-23 06:48:21.077 10874 10874 D OpenGLRenderer: Skia GL Pipeline
03-23 06:48:21.084 10874 10874 D EmergencyMode: [EmergencyManager] android createPackageContext successful
03-23 06:48:21.117 10874 10874 D InputTransport: Input channel constructed: fd=56
03-23 06:48:21.117 10874 10874 D ViewRootImpl@d93356f[Screen1]: setView = DecorView@b268cc9[Screen1] TM=true MM=false
03-23 06:48:21.170 10874 10874 D ViewRootImpl@d93356f[Screen1]: Relayout returned: old=[0,0][720,1534] new=[0,0][720,1534] result=0x7 surface={true 492543102976} changed=true
03-23 06:48:21.180 10874 10921 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
03-23 06:48:21.180 10874 10921 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0
03-23 06:48:21.180 10874 10921 I OpenGLRenderer: Initialized EGL, version 1.4
03-23 06:48:21.180 10874 10921 D OpenGLRenderer: Swap behavior 2
03-23 06:48:21.189 10874 10874 D ScrollView:  onsize change changed 
03-23 06:48:21.190 10874 10874 D Form    : onGlobalLayout(): diffPercent = 0.5260756
03-23 06:48:21.190 10874 10874 D Form    : keyboard shown!
03-23 06:48:21.191 10874 10921 D mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, EGLBoolean) returns 0x3000
03-23 06:48:21.191 10874 10921 D OpenGLRenderer: eglCreateWindowSurface = 0x72a5e82c00, 0x72addb5010
03-23 06:48:21.237 10874 10874 D Form    : Sizing(Responsive)
03-23 06:48:21.239 10874 10874 D Form    : formWidth = 411 formHeight = 846
03-23 06:48:21.239 10874 10874 D Form    : ReplayFormOrientation()
03-23 06:48:21.239 10874 10874 D Form    : Sizing(Responsive)
03-23 06:48:21.239 10874 10874 D Form    : formWidth = 411 formHeight = 846
03-23 06:48:21.240 10874 10874 D Form    : ReplayFormOrientation()
03-23 06:48:21.240 10874 10874 D Form    : Sizing(Responsive)
03-23 06:48:21.240 10874 10874 D Form    : formWidth = 411 formHeight = 846
03-23 06:48:21.240 10874 10874 D Form    : ReplayFormOrientation()
03-23 06:48:21.297 10874 10874 I MediaRecorderJNI: setup
03-23 06:48:21.378 10874 10874 I MediaRecorderJNI: setAudioSource(1)
03-23 06:48:21.399 10874 10874 I MediaRecorderJNI: setVideoSource(2)
03-23 06:48:21.401 10874 10874 I MediaRecorderJNI: setVideoEncoder(2)
03-23 06:48:21.401 10874 10874 I MediaRecorderJNI: setAudioEncoder(1)
03-23 06:48:21.402 10874 10874 I MediaRecorderJNI: setParameter()
03-23 06:48:21.402 10874 10874 I MediaRecorderJNI: setParameter()
03-23 06:48:21.403 10874 10874 I MediaRecorderJNI: setVideoFrameRate(30)
03-23 06:48:21.403 10874 10874 I MediaRecorderJNI: setVideoSize(720, 1481)
03-23 06:48:21.403 10874 10874 I MediaRecorderJNI: setMaxDuration(0)
03-23 06:48:21.403 10874 10874 I MediaRecorderJNI: setMaxFileSize(0)
03-23 06:48:21.408 10874 10874 W MediaRecorder: setOutputFile: path = /storage/emulated/0/Recordings/capture_1679572101408.mp4
03-23 06:48:21.446 10874 10874 W MediaRecorder: prepare: mPath = /storage/emulated/0/Recordings/capture_1679572101408.mp4
03-23 06:48:21.448 10874 10874 I MediaRecorderJNI: setOut

Ok I think I found it.

how can solution the error?. please help me, thanks.

I'll have to check.
Extension is working fine on Android 7.1 and 13 but crashing on Android 9 and 10.

ok thanks a lot :smiley::smiley::smiley:

v1.3 was working for you? On Android 9?

i will try and i say to you later if its working.

Thank you very much, but I have encountered another problem. This extension cannot work properly on Android 10

Please check v1.3

Hi, do you have a full video how to build your screenrecorder extension

Hello vknows360 do still have the aia file for version 1.4?

i tried your apk version 1.4 it worked for me however i cant find the video in my files.

When i try to open the android>data its all blank and said that due to android restriction the content of this folder can only be shown on a computer

Yes, data folder is no longer accessible directly.
You'll have to use Total Commander or similar apps.

1 Like

Hi i tried this and it works on my phone. may i know if you still have the aia of this?

this is version 1.3 however i used 1.4 for my android 11 or should i use 1.3 version?

Aia is here

You just have to update aix.
v1.3 wasn't working in Android 12 and above.

1 Like

Oh i see. they are same blocks but i juust have to change the extension to 1.3 in order to work in android 11. thank you.

Sir i tried to update the extension to 1.3 with the same blocks of your aia but it still not working to my android 11 but when i try your apk it works on my phone.

this is the aia

ScreenRecorder.aia (66.0 KB)

If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...

which means in your case post a screenshot of your relevant blocks...

To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, etc... this takes time, and most people will not do that...
Thank you.

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like