02 2016 档案
摘要:今天项目中要在lua中调用有返回值的c++函数,对于这方面从来没用做过,所以就开始各种照猫画虎~~~~ 找到了audio.lua。看到了function audio.playMusic(filename, isLoop)方法。 修改sharedEngine:playMusic( filename,
阅读全文
Duplicate methods named spliterator with the parameters () and () are inherited from the types Colle
摘要:java8不支持导致的,更新eclipse到4.4. http://mirrors.ustc.edu.cn/eclipse/technology/epp/downloads/release/luna/R/eclipse-jee-luna-R-win32-x86_64.zip 参考: http://s
阅读全文
摘要:一、判断网络连接是否可用public static boolean isNetworkAvailable(Context context) { ConnectivityManager cm = (ConnectivityManager) context .getSystemService(Conte
阅读全文