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

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:

@Jinx where did you get that code ?

1 Like

got them from developer.android.com and then i converted it to aix code in niotron ide :slightly_smiling_face:

Note: i used same name conventions to give a feel like code is hacked :rofl: but it's not
@TIMAI2
Thanks

1 Like

Yes, I thought that you decompiled it... :laughing:

It's easy code just two lines :slightly_smiling_face:
and i also didn't made that line of code public

1 Like

I am not sure what your point is ?

1 Like

Nothing just for fun :slightly_smiling_face:

Did you really did not decompiled it ? :thinking:
I suspect you...

Reasons for suspecting you
  1. The pattern i.e the order of the code is exactly the same.
  2. I decompiled this extension and exactly got the same number that is inside the setFlags, (8192)

3.

How do you know that I have only written private Activity a; line ?


4.

How do you know that there will be two numbers here ?


5.

This line is the main reason for suspecting you... I feel you decompiled it...


P.S - There is 99% chance that you decompiled my extension.

@Jinx I await a reply...

2 Likes

Pls gave the aix of the extension :')

It is in the first post of the topic, under Versions.