If I publish an app to the google play store what stops people from stealing my code?
<p>I ask this question because I couldn't find the answer I was looking for but simply put is there anything in place in the app store to prevent stolen code? I notice that there are a lot of clones on android which made me wonder whether they are directly ripped off or just so easy to replicate that they end up cloned. 
Can people just simply download the apk file and reverse engineer it?</p>

<p>Is there anything google has in place that prevents this, or if there isn't, is there anyway that I myself can prevent it or make it more difficult for people wanting to steal my code? </p>

<p>I'm still new to Java and learning so it will be a while before I start this, but the project I have in mind will consume a large chunk of what little spare time that I have for a while, so I don't want to put a lot of time into it without proper measures only to have it stolen and sold for someone else's profit in a week.</p>

<p>If this has been answered before whether on this site or another please point me to there and delete this if necessary.</p>