getAppName

fun getAppName(context: Context): String

Returns the human-readable name of the application.

Return

A String representing the application label as defined in the manifest.

Parameters

context

The Context used to access the package manager and application info.