I have an existing Blackberry Java application that I'm ready to submit to the Blackberry AppWorld, but I first want to add a dynamic key registration feature. If you have created such a feature before, I would like to ask you to implement it for me. It involves both some Java code and some server-side PHP.
The application you develop should work both for AppWorld purchases as well as purchases from my web site ([url removed, login to view]).
Dynamic Licensing for purchases from AppWorld is described at the following URL: [url removed, login to view]
I'm interested primarily in code developed from someone who has done this before. So please show me at least one example of a Blackberry App using dynamic licensing that you have created.
There will be two deliverables:
1) A simple JDE App for Blackberry that requires pressing a Registration button before it can run and say "Hello World". I will incorporate your code into my App. In more detail:
Upon starting the App, the users sees a screen with a field for entering email address with a "Register" button below it. After entering the email address and pressing Register, the code uploads the Blackberry’s PIN and user email over the Internet to [url removed, login to view] (see #2, below). [url removed, login to view] returns a key. The app checks that Key against a key that it generates internally (based on email address and PIN). If the keys match, then the app displays "Hello World".
2) PHP code, called [url removed, login to view], that obtains the PIN and email address from #1 and returns a key.
Here's the core PHP code for #2.
$pin = (isset($_REQUEST["PIN"])) ? $_REQUEST["PIN"] : null;
$email = (isset($_REQUEST["email"])) ? $_REQUEST["email"] : null;
// Add the code here to create the key using $pin and email address,
but make sure this string ends up as "key=[something here]"
$key = "key=somedynamickey";
header('Content-Length: ' . strlen(utf8_decode($key)));
Blackberry Curve, Bold, Pearl, World Phone and others that run relatively recent RIM OS versions (from the past two years). This is a JDE application.