How I use remote controllers in android?

now I wanna use remote controller in android, but can’t find some code or blueprint for remote controller, how use a remote controller in android?

waitting online.