With the development of mobile technology, many traditional electronic products also began to increase the function of mobile, such as the past can only watch time watches, can also be connected to the Internet through smart phone or home network, display calls information, mail, photos, news, weather information and other content. And major technology giants have launched their own smart watches, such as: Samsung: GALAXY Gear smart watch
Apple: iwatch
Sony: Smartwatch
Epson: Pulsense Series Intelligent Watch PS-500
Product Development Technical Support API
The main features of the current market intelligence watch are similar to a scaled-down version of smartphones, but this simply can't play the value of smart watches, put text and images on a smaller screen, which greatly reduces the user experience, so if you want to let smart watch play it more convenient, smarter advantages, Only let it do speech control, voice parsing. So what kind of technical support is needed to develop a smart watch that supports voice control?
Actually very simple, recommend a smart watch to do the technical support platform Bar-Turing people.
The Turing man has powerful semantic parsing ability and natural speech processing ability. For example, for smart watches to provide location inquiries, route search, weather inquiries, set up a memo and other functions.
The Turing Man platform provides free API interface for enterprise and individual development users, and can also have its own independent question and answer knowledge base after registering.
Here's how to implement API access:
public class Robort_demo {
/** invoke the Turing device human platform interface * *
public static void Main (string[] args) throws IOException {String Requesturl = "Http://www.wendacloud.com/openapi/api?ke Y= registration activates the return of apikey&info= Beijing today Weather ";
HttpGet request = new HttpGet (Requesturl);
HttpResponse response = Httpclients.createdefault (). Execute (Request);
if (Response.getstatusline (). Getstatuscode () ==200) {
String result = entityutils.tostring (response.getentity ());
SYSTEM.OUT.PRINTLN ("Return result:" +result);
}
}
}
Results: {"code": 100000, "text": "Today 37 ℃ Body Sense 25 ℃ clear no continuous wind direction ≤ 3 level today night 23 ℃ cloudy without constant wind direction ≤ 3 class"}
Parameter key: Registration activation returned by Apikey
Info: Request Content
Packages that need to be imported: Commons-logging-1.0.4.jar, Httpclient-4.3.1.jar, Httpcore-4.3.jar