My view on API interface of Intelligent Watch development

Source: Internet
Author: User
Tags knowledge base

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





Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.