Fork me on GitHub
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 125 下一页

2015年10月30日

摘要: Add following at the header of your strings.xml fileor:In "Window" > "Preferences" > "Android" > "Lint Error Checking":(For Mac, "Eclipse" > "Preferen... 阅读全文
posted @ 2015-10-30 11:34 pengyingh 阅读(238) 评论(0) 推荐(0)

2015年10月22日

摘要: 详情参见:http://sdkbox-doc.github.io/en/plugins/facebook/v3-js/#manual-integration一步不落然后*** Terminating app due to uncaught exception 'InvalidOperationExc... 阅读全文
posted @ 2015-10-22 17:29 pengyingh 阅读(840) 评论(0) 推荐(0)

2015年10月21日

摘要: private static AppActivity app = null; @Override public Cocos2dxGLSurfaceView onCreateView() { Cocos2dxGLSurfaceView glSurfaceView = new ... 阅读全文
posted @ 2015-10-21 17:30 pengyingh 阅读(647) 评论(0) 推荐(0)

2015年10月20日

摘要: //转自:http://stackoverflow.com/questions/20262974/facebook-ios-sdk-3-10-openactivesessionwithreadpermissions-doesnt-callback-usin- (void)applicationDid... 阅读全文
posted @ 2015-10-20 14:31 pengyingh 阅读(241) 评论(0) 推荐(0)

2015年10月9日

摘要: 当前测试版本:cocos2d-x 3.8.1 3.7也试用,之下的版本没测过,一般是路径改变,文件名称一般不会变注:当前工程是通过控制台new的工程,不是cocosStudio创建的工程必须先通关官网:http://www.cocos.com/doc/article/index?type=co... 阅读全文
posted @ 2015-10-09 11:38 pengyingh 阅读(1290) 评论(0) 推荐(0)

2015年9月28日

摘要: 转自:http://blog.csdn.net/primer_programer/article/details/25987439最近项目要实现这样一个效果:运行后,要有一个service始终保持在后台运行,不管用户作出什么操作,都要保证service不被kill,这可真是一个难题。参考了现今各种定... 阅读全文
posted @ 2015-09-28 19:12 pengyingh 阅读(4832) 评论(1) 推荐(1)
摘要: 安卓新手,笔记有理解不当的地方望指出,经过几天折腾终于可以实现类似ios的本地通知功能(ios就几行代码),可能有第三方sdk可以方便实现,暂时没去找思路:1。 startService 和bindService 同时存在 startService 新开进程 注意AndroidMenifest.... 阅读全文
posted @ 2015-09-28 18:22 pengyingh 阅读(868) 评论(0) 推荐(0)
摘要: 问题:startService和bindService并用的时候,当Activity exist后 Service unbind,但是被系统killProcess,然后执行 Service的OnCreat 和OnStart,导致Service中的数据重置StartForeground 后Serv... 阅读全文
posted @ 2015-09-28 16:46 pengyingh 阅读(7096) 评论(0) 推荐(0)
摘要: 转自:http://xiaoyaozjl.iteye.com/blog/2156335先看下面两段非常简单的代码,功能是通过一个Activity启动并绑定一个本地服务,然后马上调用停止服务package com.example.servicetest2;import android.content.... 阅读全文
posted @ 2015-09-28 15:06 pengyingh 阅读(2465) 评论(0) 推荐(0)

2015年9月25日

摘要: 转自:http://coolxing.iteye.com/blog/1284476所谓的started service, 是我对以startService()方法启动的service的叫法.Service运行在所在进程的main thread中.启动一个service时,不会自动为该service创... 阅读全文
posted @ 2015-09-25 18:16 pengyingh 阅读(501) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 125 下一页

导航