I wonder if the constant should be defined in a generic constants class, or by the class using the intent?

My preference if for the latter, since it works kind of like an interface does:

"I am Activity A, I need Intent data B"