Developer Sanghyun Oh from Korea has released a Bluetooth + Arduino + Android controller app for an AC power plug. The app is built with Delphi XE8 Firemonkey and is demoed controlling a fan. Full source code for the Arduino side and the Delphi XE8 Firemonkey side is available. The app is built for Android but also may work on IOS, Windows, and OSX where Bluetooth is available. In addition to the Bluetooth module and the AC module on the Arduino there is also an LED board which the Delphi app can display messages on. The Delphi app itself contains a timer control in addition to being able to turn the AC plug on and off so that it can turn off after a specific amount of time. A setup like this could be used in home or industrial automation. You should be able to use this code with Appmethod as well.
Bluetooth Arduino Power Controller Source Code For Delphi XE8 Firemonkey On Android by Delphi XE5 XE6 XE7 XE8 10 Seattle Berlin Firemonkey, Delphi Android, Delphi IOS is licensed under a Creative Commons Attribution 4.0 International License.