android - Is there a way to distinguish if an app was launched from home screen shortcut or form the launcher app drawer? -
i'm trying track applications usage on device.
is there way know if app launched home screen shortcut or launcher?
in logcat see there activitymanager log each time app starts, can't tell if there's difference between shortcut launch , app drawer launch.
thanks
i don't think can tell difference necessarily. if you created shortcut, might able tuck or in intent
distinguish cases, if user creates shortcut on own, there no difference.
bear in mind both shortcuts , "app drawers" constructs of same home screen application, , home screen applications may not have shortcuts or may use substantially different "app drawer".
Comments
Post a Comment