B4A Library [B4A] [B4XPages] ScreenRecorder/ScreenShots

DonManfred

Expert
Licensed User
Longtime User
and I got this error
What is the path to Android.jar you are using? It should point to [...]\Platform-30\Android.jar

Follow the installation instructions carefully:

 

CR95

Active Member
Licensed User
You are right.
I re-install the ANDROID package (I was using Platform-28).
Now it is Platform-30 and compilation is OK.
Thanks for your quick advice
 

moster67

Expert
Licensed User
Longtime User
why this error?
Please post the complete error output from the logs. You may need to need to disable filter logs in the IDE to do so.
Which android version are you using?
 

moster67

Expert
Licensed User
Longtime User
By googling, it seems like the error is related to Width and Height values on certain devices when the configuration takes place.
Try to change Width and Height in the StartRecording method.

Others say it might be related to the MediaPlayer (in the sample project I used VideoView) not being released when being used together with MediaProjection. Try to set VideoView = null once you have finished playing the recorded video and then reinitialize it before showing another video or perhaps use another video player.

Sorry that I cannot be of any further help.
 

stari

Active Member
Licensed User
Longtime User
Error
I get this by compiling:
B4A Version: 13.00
Parsing code. (0.05s)
Java Version: 19
Building folders structure. (0.02s)
Running custom action. Error
-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------
Started : Friday, October 25, 2024 7:33:12 AM
Source : D:\70 let\Shared Files\
Dest : D:\70 let\B4A\Files\
Files : *.*

Options : *.* /DCOPYA /COPYAT /R:1000000 /W:30
------------------------------------------------------------------------------
2024/10/25 07:33:12 ERROR 2 (0x00000002) Accessing Source Directory D:\70 let\Shared Files\
The system cannot find the file specified.

What is wrong ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…