[FREE] Blocker - An extension to block screenshots and screen recording! 🚫

Hello everyone, :wave:
Here's a new extension by me to block screen shot and screen recording.
Just has 2 blocks.

Blocks :

blocks

DisableCapture - It will prevent the user from taking screen shots and screen recording.
And if the user tries to take a screen shot, will see a message like - "This app doesn't allow taking screenshots." Else if the user tries to screen record, it will record a black screen.


EnableCapture - It will enable the user to take screen shots and screen recordings.

That's all.

Downloads :

Versions

V1 (4.0 KB)
V2 (4.1 KB)

Blocker.aia (4.4 KB)

Thanks !

18 Likes

Good One @Aquib_Khan
:+1:

but I think I've seen this somewhere :thinking:

2 Likes

You have, an extension by @Ken - but this only does screenshots, the one by @Cian that covered video is lost. So if this one works, then it is a good addition.

4 Likes

Thank you !

Yes, it works. The screen recording turns black.

4 Likes

:boom: :exploding_head: :+1:

2 Likes

You can block screen recording by disabling screenshots. :smile:

4 Likes

Thank you ! :wink:

2 Likes

Wow a very good extension

3 Likes

then how to enable?

1 Like

Good question...
@Aquib_Khan, after disabling once how can we enable it again?

2 Likes

Thank you @Faraz_Firoz !

Yes, I'll try adding that too.

2 Likes

blocker.disable looks like you disabled this blocker, means capture is allowed. Maybe change the name to disableCapture

3 Likes

Will be added in the next update ! :+1:

1 Like

New V2 released ! :partying_face:
Major Update !

:star2: Blocks renamed.
:star2: New block added.
:star2: Size increased by 0.1 KB. :rofl:

Blocks :

blocks

Download :

Latest Version V2

Took lots of hard work and time ! :sweat:

6 Likes

The file you put for download is an .aia project it's not a extension file. How I can use it in my other projects?

1 Like

@qwe_rfv Please check it under Downloads > Versions > V2

1 Like

This is answer :point_down:
How do I put an aia file in the MIT app inventor?

Congratulation @Aquib_Khan
:clap: :partying_face:

1 Like

Thanks ! :wink:

1 Like

@Aquib_Khan

public class Blocker extends AndroidNonvisibleComponent {
    private Activity a;

    public Blocker(ComponentContainer componentContainer) {
        super(componentContainer.$form());
        this.a = ***.$context();
    }

    public void DisableCapture() {
        this.a.***().setFlags(8192, 8192);
    }

    public void EnableCapture() {
        this.a.***().****Flags(8192);
    }
}

Do you know anything about this code :slightly_smiling_face: