I have some code which i have taken from the android api, what you need to do is edit that code.
I also need you to set up an environment where i can program in c++, i dont mind what ide you use as long as i can program in c++.
the c++ issue isnt big or that important, the main thing here is editing that code.