I made a midp 2.0 game and now i wish to protect it against piracy. I was thinking about adding a date protection that checks the date when the game is first run and the date when the game was purchased. My questions are:
1. Does java.util.Date return the Date in the same format for all devices? Is there a way of getting only the Month and the Day?
2. How do i make that jar save a variable even after it closes? I want that after the first run of the game a variable will be changed so that the date check will be bypassed on future runs.