wechat smart plateform sdk
play

WeChat Smart Plateform SDK (barneyhu@tencent.com) 2014.09 - PDF document

WeChat Smart Plateform SDK (barneyhu@tencent.com) 2014.09 http://pr.weixin.qq.com/en/ Demo Download SDK package Install Demo Seache our pictures Register Account QQ Number Apply to be a developer Register an APP Platform & Tool


  1. WeChat Smart Plateform SDK (barneyhu@tencent.com) 2014.09 http://pr.weixin.qq.com/en/

  2. Demo Download SDK package Install Demo Seache our pictures Register Account QQ Number Apply to be a developer Register an APP

  3. Platform & Tool Platforms iOS √ Android Tools √ Eclipse Android Studio SDK-Project Settings Project Settings Import .so file Import .jar file

  4. SDK-AndroidManifest.xml Settings ACCESS_NETWORK_STATE INTERNET ACCESS_WIFI_STATE CHANGE_WIFI_STATE READ_PHONE_STATE VIBRATE android.hardware.camera android.hardware.camera.autofocus SDK-Process

  5. SDK-Init Init void setListener(ImgListener listener) -> int init(Context context, String appid) return value:0 or -1 SDK-Start Start int start(byte [] img) return value:0 or -1 void onGetResult(ImgResult result) ->

  6. SDK-Cancel Start int cancel() return value:0 or -1 void onGetState(ImgSearcherState state) -> SDK-Destroy Destroy void destroy()

  7. SDK-Listener Public interface ImgListener { public void onGetResult(ImgResult result); public void onGetError(int errorCode); public void onGetState(ImgSearcherState state); } <- SDK-ImgResult public class ImgResult { public List<Result> res; public int ret; public static class Result { public String md5; public String url; public String picDesc; } } <-

  8. SDK-State public enum ImgSearcherState { /** * Succeed to init */ Start, Searching, Canceling, Canceled } <- SDK-Demo

  9. Recognize Your Pictures Build demo with your APPID Upload your pictures Wait for administrator review Recognize your pictures Thank You ! WeChat & qq: 505807554

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend