This app was build, among other reasons, to demonstrate this blogpost about updating a single item in a RecyclerView
For more info on this app:
Store JWT SigningKey in Java KeyStore. Ask Question. I have only managed to create a key store using the JDK keytool to sign my app. My question is: is there any way I can store a key inside the key store associated with my app, prior to its deployment on the device so that I can retrieve the key inside the app and use it to sign the JWT?
An Android app to build a simple NCCO(Nexmo Call Control Object) and create an outgoing phone call.
Set up
To run this project you'll have to create a Nexmo Apllication, and authenticate your network calls with your JWT.There are a few ways to accomplish it.
To do that without your server side supprt, here are instructions to do it with Nexmo CLI:
- If you don't already have one, setup a [Nexmo account]((https://dashboard.nexmo.com/).
- Use npm to install and setup the Nexmo CLI:
- Set up Nexmo CLI with your API_KEY and API_SECRET, which can be found on Nexmo dashboard
- Create a new Nexmo Voice Application, and generate locally a private key file:
In the output of that command you'll find the ID of the generated app. Take a note of it.
- Create a JSON Web Token (JWT). Make sure to replace MY_APP_ID with the Nexmo Application Id generated on previous step.in this example the JWT will expire in 1 day from the moment it was generated.
The output will give you a JWT. Copy it.
After opening this project in Android Studio, open
NexmoApiService.kt
file, paste your JWT as the value of const val APP_JWT
App Jwt Nexmo Jwt Generate Private.key Application_id Your_app_id Code
Now you'll be able to make authenticated network calls.
How to use this app?
After running the app:
- Insert the phone number you'd like to call to.
- Click on Talk, Stream or Input buttons to add an action to the NCCO.
- When you're ready, click the Call button below to place the call. (notice: the calls will be charged on your Nexmo account credit)
Read more about Nexmo Voice API
An Android app to build a simple NCCO(Nexmo Call Control Object) and create an outgoing phone call.
Set up
To run this project you'll have to create a Nexmo Apllication, and authenticate your network calls with your JWT.There are a few ways to accomplish it.
To do that without your server side supprt, here are instructions to do it with Nexmo CLI:
- If you don't already have one, setup a [Nexmo account]((https://dashboard.nexmo.com/).
- Use npm to install and setup the Nexmo CLI:
- Set up Nexmo CLI with your API_KEY and API_SECRET, which can be found on Nexmo dashboard
- Create a new Nexmo Voice Application, and generate locally a private key file:
In the output of that command you'll find the ID of the generated app. Take a note of it.
- Create a JSON Web Token (JWT). Make sure to replace MY_APP_ID with the Nexmo Application Id generated on previous step.in this example the JWT will expire in 1 day from the moment it was generated.
The output will give you a JWT. Copy it.
After opening this project in Android Studio, open
NexmoApiService.kt
file, paste your JWT as the value of const val APP_JWT
Now you'll be able to make authenticated network calls.
How to use this app?
After running the app:
- Insert the phone number you'd like to call to.
- Click on Talk, Stream or Input buttons to add an action to the NCCO.
- When you're ready, click the Call button below to place the call. (notice: the calls will be charged on your Nexmo account credit)