![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ios/c/c++/oc
anjsoft
这个作者很懒,什么都没留下…
展开
-
NDK CRUSH DUMP
~/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-objdump -S ./obj/local/armeabi/libdroidblaster.so >~/disassember.dumpaddr2line 可根据地址(PC)找到方法名$ANDROI原创 2013-07-15 21:23:33 · 1941 阅读 · 0 评论 -
NDK调试
1. AnroidManifest.xml 加入2. Android.mk 加入 A PP_OPTIM := debug3.安装并运行。4.在工程目录 ndk-gdb (如果是命令行)5.配置GDB CLIENTRun/Debug Configuration... **在Main TabC/C++ Application to point to obj/local/原创 2013-07-15 18:20:01 · 1850 阅读 · 0 评论 -
NDK Performance analysis
Valgrind: This is probably the most famous open source profiler which can monitor not only performance but also memory and cache usage. This utility is currently being ported to Android. With原创 2013-07-15 21:57:48 · 734 阅读 · 0 评论 -
NDK学习1
在工程目录 javah -classpath src com.anjsoft.myproject.MainActivity -d jni原创 2013-07-14 15:30:03 · 488 阅读 · 0 评论 -
vc学习
自定义类 要输出 一串文本 pDC->Textout(50,50,"ssss");问提是怎样取的pDC ,我在网上搜索发现AfxGetMainWnd()->GetActiveView(),可是没有getActiveView(),只有getactiveWwindow() ,不知为什么 ?后来用 extern CDC*pdc 在View类中取的onCreate 中 static CClient原创 2013-07-13 16:37:06 · 456 阅读 · 0 评论 -
object c
If a release message results in a zero retain count,releaseinvokesdealloc.@autoreleasepool 与到return/break 开始release.eror: could not change executable permissions on the application 可能的原因:相同原创 2013-05-22 09:17:10 · 486 阅读 · 0 评论 -
ios png
还原 当前目录下所有 png 文件到 reverted 目录下面/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/pngcrush -dir reverted -revert-iphone-optimizations -q *.png原创 2013-04-26 10:29:26 · 531 阅读 · 0 评论 -
code 收集
pngcrush -dir reverted -revert-iphone-optimizations -q *.png2 转成caf 文件 ,作提示音afconvert -d LEI16 -f 'caff' input_file.xxx output_file.caf原创 2012-10-20 22:12:32 · 277 阅读 · 0 评论 -
IPA
破解IPA把app拖到itunes就生成ipa了.解开在info.plist中加 SignerIdentity Apple iPhone OS Application Signing原创 2012-12-25 13:59:52 · 226 阅读 · 0 评论 -
IOS线程相关
1、 子线程更新主线程的一种方式 // Perform GUI update on main thread [[NSOperationQueuemainQueue]addOperationWithBlock:^(){ textView.text =log; }];2、计算运行了多少秒NSDate *startDate = [NSDa原创 2012-11-04 19:19:29 · 282 阅读 · 0 评论 -
我的总结
1、追求更好,不追求完美2、先用直接方法,再用间接方法,实际方法与抽像方法并用。比如如搜索时关键字的选择上会体现这种思想。3、计划和总结文字,只少应该有一个,防止走马观花,什么也没留下。边看书边实践,可以不写了,代码就是最好的笔记,时间不够,要记下总结。原创 2012-11-03 07:34:54 · 268 阅读 · 0 评论 -
UINavigationController 不要随便autorelease
UINavigationController 不要随便autorelease,我想所有容器类应该都这样,最好不要autorelease原创 2012-10-20 17:05:44 · 297 阅读 · 0 评论 -
VC学习
http://blog.codingnow.com/2005/10/windows_dll.htmlhttp://blog.codingnow.com/2006/11/windows_unix_dynamic_library.html原创 2013-07-16 16:42:57 · 448 阅读 · 0 评论