Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
Delphi

How to vibrate iOS and Android phones using FireMonkey and XE8

Pawel Glowacki asked about vibrating smartphones using Delphi code for iOS and Android. Thierry Laborde and Williamm Wittwer of Embarcadero France provided the following Delphi and FireMonkey sample code:

Notes: For the iOS part you have to go to the SDK Manager, choose the SDK for iOS, and click on the button to add a Path and parameter it likes in the joined picture. Don’t forget to click on the button ‘Update Local File Cache. For the Android part don’t forget to add the authorization for Vibration in the parameter of the project. http://docwiki.embarcadero.com/RADStudio/XE8/en/SDK_Manager

Interested in learning how to control and vibrate iOS and Android phones with FireMonkey and XE8? You may use the App Builder Software and make the most of it. 
See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES