clariusdev / mobileapi

Android API Allowing IPC with the Clarius App
https://www.clarius.com
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

Customize the return activity from the Clarius' app upper right icon #22

Closed pcanas closed 2 years ago

pcanas commented 2 years ago

I realized that once our app is connected with the Clarius app, the latter modifies its upper-right icon that, when clicked, goes back to our application (see image attached below).

I'd like to customize the return activity once this button is clicked, since it looks to me that it goes back to the LAUNCH activity and I'd like it to resume from the point where I left it. Would this be possible?

IMG_20220517_121109

clariusk commented 2 years ago

We use getLaunchIntent(), would there be an alternative intent to call to perform what you are describing?

pcanas commented 2 years ago

I have been researching, and I did not find anything convincing that would not require minimum coordination between the third party and Clarius' development teams. Therefore, I will use your current approach and adapt it so that it works for our use case. Thanks for your help!