@LucaMs.... I also saw that example on StackOverflow but, like you, I had no success.
I speak no Java so translating for B4A use can be very hit & miss. This is not the first time I find myself with a similar problem with intents or reflections. Maybe someone could write a primer for those of us that are mono-lingual !