摘要:所谓坑, 就是文档中没有标明的特别需要处理的细节, 工作中会被无故的卡住各种令人恼火的问题. 包括系统级的bug和没有文档化的限制. 继Android的各种坑后, 现在做Amazon平台, 遇到的坑很多, 这里记录一下备忘: 先汇总下Android Native下的各种问题, 当然有些限制有明确文档
阅读全文
摘要:////////////////////////////////////////////////////////////////////////////Java code snippet//get APK's versionCode in AndroidManifest.xmlpublic int ...
阅读全文
摘要:AAC V.S. MP3http://en.wikipedia.org/wiki/Advanced_Audio_Coding#AAC.27s_improvements_over_MP3AAC patent lisense FAQ:http://www.vialicensing.com/licensi...
阅读全文
摘要:previous:[工作记录] Android OpenGL ES 2.0: square texture not supported on some devicerecently I found that it is the mipmap of a non-square texture thatc...
阅读全文
摘要:之前关于OBB的内容: Android上使用native IO 最近工作中的问题笔记 工作记录[续] android OBB 自从用了Java来mount OBB, 再也没有遇到挂载的问题. 但最近在LG Nexus5 和LG G2上测试, 发现某个大约30K文件的文件, 一次性读取出来以后, 处理
阅读全文
摘要:https://code.google.com/p/android/issues/detail?id=42904#makechanges我们游戏的输入系统是自己渲染(通过跨平台渲染接口)的. 首先有predefined的keycode, 然后平台相关的模块把platform keycode map到...
阅读全文
摘要:npot texture: non-power-of-two texture.rectangle texture: non-square (height != wdith)在测试Samsumg Galaxy S4的时候, 发现rectangle texture支持不好, 虽然创建成功, 但是绘制有问...
阅读全文
摘要:the problem definitly apears after changing toolchain from gcc 4.6 to gcc 4.8.here's a solution with all details, no extra explanation needed:http://s...
阅读全文
摘要:前两篇在这里:Android上使用native IO最近工作中的问题笔记最近遇到的问题是,java.io.IOException: FAT FullStackOverflow的结果:http://stackoverflow.com/questions/18906055/what-causes-job...
阅读全文
摘要:used version: NDK r9b,arm-linux-androideabi-4.6 GCC, with "-O2 -finline-limit=24".got this error:internal compiler error: segmentation faultI remember...
阅读全文
摘要:GLES2.0:Some device will give a warning on compling shaders(yet the compling will succeed), and the rendering result is incorrect with blink & artifac...
阅读全文
摘要:the key point is "Modified UTF-8" is not like "Regular UTF-8", a legal Rgular UTF8 code sequence may be considered illegal against Modified UTF8.One w...
阅读全文
摘要:http://developer.android.com/tools/help/adb.html#wireless
阅读全文
摘要:调试GLES, 发现某平台有各种问题,1.用三星手机测试和iphone测试, 在drawcall以后不调用glDisableVertexAttribArray, 没有问题. 但在某平台下,后续的draw call会花屏.实际问题主要是因为shader会优化掉某些不用的attrib, 这种情况下, 要...
阅读全文
摘要:首先, 官方google play对APK大小有限制: 50M.(https://support.google.com/googleplay/android-developer/answer/113469?hl=en)所以想通过google play发布大数据的应用的话, 得通过扩展包, 一个叫做O...
阅读全文