Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • R REVECallSDKSample
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • sdk
  • REVECallSDKSample
  • Wiki
  • Demo App Details

Demo App Details · Changes

Page history
Update Demo App Details authored Nov 14, 2021 by Sourav Das's avatar Sourav Das
Hide whitespace changes
Inline Side-by-side
Showing with 4 additions and 3 deletions
+4 -3
  • Demo-App-Details.md Demo-App-Details.md +4 -3
  • No files found.
Demo-App-Details.md
View page @ 2110e78d
# Demo App Details # Demo App Details
A small demo app is provided with is SDK to make the SDK even clearer to the USER.
This demo app follows the steps suggestion from [this page](home). This demo app follows the steps suggestion from [this page](home).
The app's MainActivity starts the SIP functionalities Through an instance of the SIPWrappper class with correct configuration. *The Demo app is written with **Kotlin**.* The app's MainActivity starts the SIP functionalities Through an instance of the SIPWrappper class with correct configuration. *The Demo app is written with **Kotlin**.*
```kotlin ```kotlin
sipWrapper = SIPWrapper() SIPWrapper.restartSIP(applicationContext, thisAppConfig)
sipWrapper.restartSIP(applicationContext, thisAppConfig)
``` ```
Main Activity also hosts all the log in and log out logic. Main activity's workflow can be characterized as a linear progression described as below. Main Activity also hosts all the log in and log out logic. Main activity's workflow can be characterized as a linear progression described as below.
...@@ -17,7 +18,7 @@ Main Activity also hosts all the log in and log out logic. Main activity's workf ...@@ -17,7 +18,7 @@ Main Activity also hosts all the log in and log out logic. Main activity's workf
The App has a CallWindowActivity Class. This is launched when the user starts an outgoing call or when an Incoming call is made with the user as reveiver. User can Accept or Decline Incoming call and End the outgoing calls From here. This Activity also stores Log data to the room database. The App has a CallWindowActivity Class. This is launched when the user starts an outgoing call or when an Incoming call is made with the user as reveiver. User can Accept or Decline Incoming call and End the outgoing calls From here. This Activity also stores Log data to the room database.
Both CallWindow and Main Activity uses MainViewModel to access the call log database. We encourage you to use your own database as the Room Database used here is locally stored and the user will lose all the call logs if somehow the local logs are deleted. Main Activity uses MainViewModel and CallWindowActivity uses CallViewModel to access the call log database. We encourage you to use your own database as the Room Database used here is locally stored and the user will lose all the call logs if somehow the local logs are deleted.
## MainActivity ## MainActivity
In this activity You can start an outgoing call by typing the number in the editText and then clicking the call button. On top of the layout current registration state and current balance are shown. In this activity You can start an outgoing call by typing the number in the editText and then clicking the call button. On top of the layout current registration state and current balance are shown.
......
Clone repository
  • Call Handling
  • Configuring Listeners
  • Demo App Details
  • Get Api Key
  • Other Important Topics
  • Home