- Dec 12, 2022
- 357
- 2
Is this possible? And if so, what is the proper term (name) to use to describe it?
I would like to find out within the code how the app was started - was the app icon clicked or was the app started in response to a Quick Start Gesture.
The app is running on a Wear OS watch. I've already written and tested simple stuff written in B4A on the watch.
I would like the app to show a page if it was launched by clicking its icon, but just TTS the time and date if the app was launched by a Quick Start Gesture (wrist down-up).
Is there some variable like "UserOpened", maybe some way to look at starting intents, starting parameters, or something else?
I think I have seen apps that do different things depending on how they were started. Is there some other standard way to accomplish this?
Thanks,
Barry.
I would like to find out within the code how the app was started - was the app icon clicked or was the app started in response to a Quick Start Gesture.
The app is running on a Wear OS watch. I've already written and tested simple stuff written in B4A on the watch.
I would like the app to show a page if it was launched by clicking its icon, but just TTS the time and date if the app was launched by a Quick Start Gesture (wrist down-up).
Is there some variable like "UserOpened", maybe some way to look at starting intents, starting parameters, or something else?
I think I have seen apps that do different things depending on how they were started. Is there some other standard way to accomplish this?
Thanks,
Barry.
برای دیدن لینک ها باید ثبت نام کنید