I'm able to develop java games, copy them to my phone and then run them on my phone with no problems.
However, there is nothing stopping people from copying the .jar file across to other phones making it easy for people to pirate my games. When you buy commercial games for your mobile, initially you have a free demo version which you can select to upgrade to full version (at a cost). The demo versions are always unlocked so freely distributable but the bought game is always locked so you cannot copy this to other phones or even transfer it across to your computer.
Does anyone know of a tutorial on how to do this in Java? Or are the distributors (i.e. Vodafone Live where you download games from) able to put these locks in place for you when you upload your game to their servers?
Any help would be appreciated. I'm not new to Java but new to mobile development!