Rony Rony - 1 year ago 124
Android Question

How to check If I am currently on home screen

Is this possible to check if currently my app is in background and home screen is launched

Answer Source
if (apps.get(0).topActivity.getPackageName().equals("")

this somehow solved my problem only for default home

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download