How to make an application to beam itself to others phone?

I need make an in-house small application. This application has a function to beam itself to others phone in order that easy to distribute itself.

Anyone has idea to make it?

Thanks.