Description: Extension to translate text with Microsoft Translation API Released:2022-05-01T18:30:00Z Last Updated:2022-05-01T18:30:00Z Permissions:android.permission.INTERNET
See the procedure in Quickstart in post number 4 and follow the directions:
You need an active Azure subscription. If you don't have an Azure subscription, you can create one for free
Once you have your Azure subscription, create a Translator resource in the Azure portal.
After your resource deploys, select Go to resource and retrieve your key and endpoint.
I went to create an account but is asking me for a credit card and says the services are free for 12 months. I do not know if Translation is one of the free for 12 months or free for ever on Tier 0.
Hi there,
I have tried to replicate your basic code shown in section 4 where you call 'MicrosoftTranslator1.Translate' and I am receiving an error message stating;
"Attempt to invoke virtual method 'java.util.iterator org.json.simple.jsonarray.iteratir()'on a nul object reference".
Azure account details and log in seem to be working.
Could I ask if there is something else I need to add to avoid the error?