C++

How to control "the system audio volume" of iOS

Author: h.mohri Use C++Builder 10.2 to control audio volume of iOS. I used the MPVolumeView class of iOS. The MPVolumeView class is declared in “iOSapi.MediaPlayer.hpp”. Include two files. #include <iOSapi.MediaPlayer.hpp> #include <iOSapi.UIKit.hpp> Form design Arrange “Up” and “Down” two TButton. Use this button to control the volume. Add MPVolumeView to…
Read more
C++

Convert CSV file to TFDMemTable format JSON file.

Author: h.mohri Convert fromCSVfile to “JSONfile” of “TFDMemTable format”. This program usesC++Builder 10.2 Tokyo Release 1. include #include <iostream> #include <fstream> #include <string> #include <codecvt> #include <FireDAC.Comp.Client.hpp> #include <FireDAC.Stan.StorageJSON.hpp> #include…
Read more