# Navigate from Voice/Video call to another activity

**URL:** <https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561>\
**Category:** Android\
**Tags:** sendbird-call, call-sdk, android\
**Created:** [July 1, 2020, 3:58pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561 "2020-07-01T15:58:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nemi](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@Nemi](https://community.sendbird.com/u/Nemi)\
**Post date:** [July 1, 2020, 3:58pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/1 "2020-07-01T15:58:18Z")

</div>

I have implemented sendbird calling sdk in my application using the code examples given in your sample app.  
I have 2 queries regarding the same:

1. How to add ringtone when the receiver side gets the incoming call screen.
2. If i want to navigate from call screen to some other activity rather than the last activity which was open to make a call, how can i do that?

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [July 1, 2020, 4:04pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/2 "2020-07-01T16:04:25Z")

</div>

Nemi,

In regards to your first question, @kckern mentioned they’ll be updating the Quick Start guide to instruct how to add in things such as ringback and ringtones:

> [@Add missing functions to calling app](https://community.sendbird.com/t/add-missing-functions-to-calling-app/556/4):
>
> Thank you for the feedback. While dial tones are not customary in a WebRTC context, adding sound effects for notifications or other call states is a valid use case. We are looking into updating the quickstart samples to include a demonstration of how to build sound effects into the app.

---

<div class="post-metadata">

**Author:** ![Nemi](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@Nemi](https://community.sendbird.com/u/Nemi)\
**Post date:** [July 1, 2020, 4:34pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/3 "2020-07-01T16:34:13Z")

</div>

and can you please help me with the second query?

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [July 1, 2020, 4:45pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/4 "2020-07-01T16:45:11Z")

</div>

I unfortunately do not have any useful information in regards to your second query. Hopefully there is someone more familiar with Android development that can comment.

---

<div class="post-metadata">

**Author:** ![Alex\_Preston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/alex_preston/32/167_2.png) [@Alex\_Preston](https://community.sendbird.com/u/Alex_Preston)\
**Post date:** [July 1, 2020, 5:50pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/5 "2020-07-01T17:50:57Z")

</div>

Hey @Nemi,

Is there a reason you can’t start an activity via an [intent](https://developer.android.com/training/basics/firstapp/starting-activity)? Something like:

```
        Intent intent = new Intent(this, WhateverAcitivityYouWant.class);
        startActivity(intent);
```

---

<div class="post-metadata">

**Author:** ![Nemi](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@Nemi](https://community.sendbird.com/u/Nemi)\
**Post date:** [July 1, 2020, 6:02pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/6 "2020-07-01T18:02:48Z")

</div>

Hey @Alex_Preston  
Thanks for the response. I am familiar with the above Intent method but in the sample app i am unable to find which function finally finish the Video/Voice call activity as most of the functions and layout designs are handled by abstract class “CallActivity”.  
In sample app once the call gets disconnected i believe the activity finish itself but i want to open some other activity with call details like call duration, call id etc.

---

<div class="post-metadata">

**Author:** ![Alex\_Preston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/alex_preston/32/167_2.png) [@Alex\_Preston](https://community.sendbird.com/u/Alex_Preston)\
**Post date:** [July 1, 2020, 10:31pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/7 "2020-07-01T22:31:30Z")

</div>

@Nemi Ahh okay, so as far as I see in the CallActivity class, when the state changes from STATE.STATE\_ENDING, to STATE.STATE\_END, the [finishWithEnding(status)](https://github.com/sendbird/quickstart-calls-android/blob/master/app/src/main/java/com/sendbird/calls/quickstart/call/CallActivity.java#L517) gets called which calls finish(), hence how it gets to the previous activity. So what you could do is instead of calling finish() you could simply start another activity and pass the callID as a stringExtra. From there you can get that call object in the next activity via SendBirdCall.getCall(callID). That would contain all of the things like call duration, calleeid, callerid, etc. Did I understand your ask correctly?

---

<div class="post-metadata">

**Author:** ![Nemi](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@Nemi](https://community.sendbird.com/u/Nemi)\
**Post date:** [July 2, 2020, 8:04am UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/8 "2020-07-02T08:04:39Z")

</div>

@Alex_Preston yes that’s what i was looking for. Thanks for the help. Really appreciate your quick response.  
Thanks @Tyler for your reference as well.

---

<div class="post-metadata">

**Author:** ![Nemi](https://avatars.discourse-cdn.com/v4/letter/n/c6cbf5/32.png) [@Nemi](https://community.sendbird.com/u/Nemi)\
**Post date:** [July 5, 2020, 3:31pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/9 "2020-07-05T15:31:56Z")

</div>

@Tyler any update on the first query??  
otherwise @Alex_Preston can you please help with the same?

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [July 5, 2020, 4:08pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/10 "2020-07-05T16:08:38Z")

</div>

@Nemi I have no insight on the progress of that change. You may want to PM @kckern directly or get in contact with the Support team.

---

<div class="post-metadata">

**Author:** ![Alex\_Preston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/alex_preston/32/167_2.png) [@Alex\_Preston](https://community.sendbird.com/u/Alex_Preston)\
**Post date:** [July 8, 2020, 10:47pm UTC](https://community.sendbird.com/t/navigate-from-voice-video-call-to-another-activity/561/11 "2020-07-08T22:47:45Z")

</div>

Hey @Nemi currently they are working on creating a guide for this. It isnt quite ready yet.
