ScreenRecorder: An extension for screen recording

"Attempt to invoke virtual method 'void com.sunny.ScreenRecorder.ScreenRec.initRecorder()' on a null object reference
Note: You will not see another error reported for 5 seconds".

4 Likes

why such an error

2 Likes

you miss this block. First Initialize the ScreenRecorder

2 Likes

blocks

2 Likes

this was the blocks i used

1 Like

Put the "call.ScreenRecorder1.InitializeRecorder" block in "when.Screen1.initialize.do" block.
By triggering these two blocks one by one. The extension fails to initialize and you are already calling start.

1 Like

Much helpful extension I created my own screen recorder no need playstore
:wink:
Will this extension

  1. Record internal audio+screen
  2. Record external audio+screen
  3. Record internal, external audio+screen
    Can you make this extension record in background even if closed
6 Likes

can you please share an example for how i should do it

2 Likes

It will not work in companion.

This extension can't record internal audio.

Sure, if you agree to sponser.

8 Likes

In the block screen, on the left side of the screen you have different block groups. Control, Logic, Math, etc. Below is the Screen1 block group. Click Screen1 and find the block "when.Screen1.Initialize.do" there. Take out this block and put the block "call.ScreenRecorder1.InitializeRecorder" in it.

Here's the answer. You need to compile the APK to try the app.

3 Likes

can you share a project in which you used this extension
It's not working for me

3 Likes

depending on what you need, you might want to try the audio capture extension

which is able to capture the audio of other applications (usage type MEDIA, GAME and UNKNOWN) using the new Audio Playback Capture API in Android 10

Taifun


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

3 Likes

Are you getting any error?
Elaborate more.

2 Likes

yes


i used this bloks

3 Likes

The extension can't work directly in Kodular.
You will have to do some modifications in manifest.
Check Kodular Community for more details.

3 Likes

but the error was same when I used the MIT app inventor too

2 Likes

There is a sample .aia application in the first post. Download the file for your projects and try it out. If it works, follow the example blocks.

2 Likes

Are you testing in companion?

2 Likes

no . after exporting as an app

2 Likes

Which android version?

2 Likes