How can I automatically set the ring style to silent/vibrate depending upon the calander entry?

Is it possible to write an application using J2ME for the same?

Please some one help me..

I am Using A780