Please suggest me how can I get current open application name, even if there is home screen on device then I will find \"Home screen is open\".
Simply using this code
getActivity().getApplicationInfo().packageName
It gives you application info, and then call the package name.