Easy as fuk, first you need to buy any android phone, then go its settings and allow 3rd parties applications. Then write a application which will auto connect to another android device and put this application on your phone, you can always add the features in your application.
get the required softwares from here
http://developer.android.com/