Can I use elementary phone functionalities like vibration in Java code?
Can I use elementary phone functionalities like vibration in Java code?
Not at the moment. Currently, the standard MIDP 1.0 or CLDC 1.0 specifications do not support sound, vibration or device light features. Nokia offers an API extension, Nokia UI API, which enhances the developer's ability to deliver quality games for Nokia devices. The Nokia UI API provides: low-level access to image pixel data, transparency support, full screen drawing, sound, vibration and device lights control.
Nokia UI API is already available in Nokia Developer's Suite for the Java(TM) 2 Platform Micro Edition and in Nokia MIDP SDKs. These can be downloaded at Forum Nokia website, This creates the possibility for developers to start creating applications that can use these features and then be ready when the devices will be available.