AlexaAndroid
AlexaAndroid copied to clipboard
Response Speed
A request such as weather takes about 5 seconds on average to hear back from Alexa. While Http request and response is taking about 3 seconds, the parsing of response is taking about 2 seconds. This is a very long time to extract the data. Getting bytes out of ResponseBody (IOUtils.toByteArray in ResponseParser.java) is taking most time. Tried using ResponseBody.bytes to get data, but this also takes similar time. Is there a better way to extract data from ResponseBody from Alexa. Any help would be greatly appreciated.
Thank you, Ram Pattikonda
Maybe us NDK?
What device are you using?