Kotlin
Como usar o painel
Primeiro, você pode navegar seus números atuais.
Se você não tiver números disponíveis, pode compre um.
Como usar a CLI da Vonage
Depois de encontrar um número que lhe agrade, você pode comprá-lo usando o vonage numbers buy comando:
Copiar
vonage numbers buy US 16127779311
✅ Searching for numbers
Are you sure you want to purchase the number 16127779311 for €0.90? [y/n] y
✅ Purchasing number
Number 16127779311 purchased
Number: 16127779311
Country: 🇺🇸 United States
Type: Mobile
Features: MMS, SMS, VOICE
Monthly Cost: €0.90
Setup Cost: €0.00
Linked Application ID: Not linked to any application
Voice Callback: Not Set
Voice Callback Value: Not Set
Voice Status Callback: Not Set
Copiar
vonage numbers buy US 16127779311
✅ Searching for numbers
Are you sure you want to purchase the number 16127779311 for €0.90? [y/n] y
✅ Purchasing number
Number 16127779311 purchased
Number: 16127779311
Country: 🇺🇸 United States
Type: Mobile
Features: MMS, SMS, VOICE
Monthly Cost: €0.90
Setup Cost: €0.00
Linked Application ID: Not linked to any application
Voice Callback: Not Set
Voice Callback Value: Not Set
Voice Status Callback: Not Set
vonage numbers buy US 16127779311
✅ Searching for numbers
Are you sure you want to purchase the number 16127779311 for €0.90? [y/n] y
✅ Purchasing number
Number 16127779311 purchased
Number: 16127779311
Country: 🇺🇸 United States
Type: Mobile
Features: MMS, SMS, VOICE
Monthly Cost: €0.90
Setup Cost: €0.00
Linked Application ID: Not linked to any application
Voice Callback: Not Set
Voice Callback Value: Not Set
Voice Status Callback: Not Set
Receber uma ligação dentro do aplicativo
Você recebe uma chamada de um telefone no seu aplicativo
Etapas
1
Introdução a esta tarefa2
Prerequisites3
Criar um servidor de webhooks4
Criar uma aplicação da Vonage5
Compre um número da Vonage6
Vincular um número da Vonage7
Criar um usuário8
Gerar um JWT9
Criar um projeto Android10
Adicionar permissões11
Criação da interface12
Inicializar o cliente13
Gerenciar a chamada14
E agora?