Check FM radio support

Check FM radio support bygetting proper system information
#include <system_info.h>
#include <dlog.h> // for logging purposes

void
check_radio_support() {
	bool value;
	int ret;

	ret = system_info_get_platform_bool("tizen.org/feature/fmradio", &value);
	if (ret == SYSTEM_INFO_ERROR_NONE)
	{
	  LOGI("FM radio support: %s", value? "yes" : "no");
	}
}

Responses

0 Replies