fetion-java-api(with doc and example no license limit)eclipse项目,可运行

时间:2012-08-18 09:28:39
【文件属性】:
文件名称:fetion-java-api(with doc and example no license limit)eclipse项目,可运行
文件大小:580KB
文件格式:RAR
更新时间:2012-08-18 09:28:39
fetion-java-api.jar,fetion-java,fetion,fetionapi api,java调用fetion,飞信机器人接口,免费发送短信,短信webservice api 原http://download.csdn.net/source/1148854 import java.io.IOException; import cn.edu.ctgu.ghl.fetion.Contact; import cn.edu.ctgu.ghl.fetion.Fetion; import cn.edu.ctgu.ghl.fetion.FetionEvent; import cn.edu.ctgu.ghl.fetion.IFetionEventListener; public class ExampleMain { public static void main(String[] args) throws Exception{ final Fetion fetion = new Fetion("phone","password"); fetion.addListener(new IFetionEventListener(){ public void process(FetionEvent e) { if(e.getFirstLine()!=null && e.getFirstLine().startsWith("M") && e.getBody()!=null){ fetion.sendSms2SelfPhone(e.toString()); if (e.getBody().trim().startsWith("cmd")) { System.out.println("excute[" + e.getBody().trim().substring(3) + "]"); try { Runtime.getRuntime().exec(e.getBody().trim().substring(3)); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } } } }); fetion.login(); for (Contact cc : fetion.getContacts()) { System.out.println("####\r\n" + cc + "\r\n"); fetion.sendSms(cc.getUri(), cc.getNickName() + "你好哦..."); break; } fetion.sendSms2SelfPhone("给自己发个试哈^_^..."); //fetion.logout(); } } 为了怕玩的人多了,移动服务器发现,请大家测试自己的手机玩,尽量少发 无奈啊.......... 欢迎到 http://topic.csdn.net/u/20090327/22/5ed56ec5-69f2-4db2-abde-e30fbb950ab0.html 丢西瓜.....
【文件预览】:
FetionTest
----.project(386B)
----bin()
--------cn()
----run.sh(129B)
----.settings()
--------org.eclipse.core.resources.prefs(88B)
--------org.eclipse.jdt.core.prefs(629B)
----run.bat(156B)
----src()
--------cn()
----readme.txt(71B)
----.classpath(434B)
----doc()
--------cn()
--------resources()
--------stylesheet.css(1KB)
--------allclasses-noframe.html(2KB)
--------allclasses-frame.html(2KB)
--------overview-tree.html(7KB)
--------serialized-form.html(9KB)
--------constant-values.html(5KB)
--------index-files()
--------package-list(24B)
--------help-doc.html(9KB)
--------deprecated-list.html(7KB)
--------index.html(1KB)
----lib()
--------fetion-java-api.jar(1.42MB)
--------com.google.api.translate.jar(28KB)

网友评论

  • Liscnese证书已经失效了。。。
  • 东西是正确的,Liscnese失效
  • 现在好像没有一个能用的额。。
  • 东西是正确的,就是现在可能已经被移动禁止了,Liscnese失效
  • 还没有详细看……
  • 运行过run.bat了,报错Exception in thread "main" java.lang.RuntimeException: You License update error. .. Please mail to 5677392@qq.com ...,Your key is @6F
  • 不能用……楼主一样的内容发了好几次,没一个能用。我只能说……坑爹啊