Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   iOS Kamera LED und Vibration steuern (https://www.delphipraxis.net/176292-kamera-led-und-vibration-steuern.html)

SyntaxXx 25. Aug 2013 09:23

Kamera LED und Vibration steuern
 
Guten Morgen ihr lieben,
ich habe bei Google geschaut, finde dort aber nichts passendes für Delphi.

Und zwar möchte ich die Kamera LED steuern (An und Aus) und per Knopfdruck die Vibration auslösen.
Nur leider weiß ich nicht, wie ich auf diese zugreifen kann.


Ich hoffe mal, das es eine relativ einfache Sache ist ^^

arnof 25. Aug 2013 10:04

AW: Kamera LED und Vibration steuern
 
Für die Kamera LED gibt es einen Beispiel 8-)

jensw_2000 25. Aug 2013 10:55

AW: Kamera LED und Vibration steuern
 
Wegen der Vibration kannst Du mal schauen ob es einen FMX Wrapper für das "AudioToolbox" Framework gibt.
Falls ja, gibt es dort eine einfache Methode:
Code:
AudioServicesPlaySystemSound(kSystemSoundID_Vibrate);


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz