Re: idea about serial key.
If you already gave them your app, it's a bit late :)
If they 'talk' to a host, you can do the validation on the host. Send a 'serial number' when you connect to the database, and reject it if it is not in your list.
If they have a phone in them, you could do something based around the IMEI, but protecting s/ware is a big area.
Have you sold them 20 copies, or have you sold them the application to run on their devices?
You could work out a system based on the device id, and when they install, they call/email you to get a valid serial number, but in this case, it may be better just to trust the client.
Re: idea about serial key.
what ive given to them is the first version only.. we still have modification to made and this time as a part of modification i want to add this feature..
we have sold 20 Devices + the application installer, we just want to control them on purchasing the mobile device.. what we want is the application to run only if the device is purchased from us.
Re: idea about serial key.
Have you looked at GetDeviceUniqueID?