Error in creating extension

I am new to create extension I want to create a file picker extension and I try to make but I got error see my code please help me

I guess file chooser extensions use intents, (not sure)

Yes.

But here you will have to implement ActivityResultListener to get callback.
For example:

Woow, completely different from what he did