public void sendPlayStateBrocast() {if (mContext !=
null){Intent intent = new
Intent(BROCAST_NAME);intent.putExtra(MusicPlayState.PLAY_STATE_NAME, mPl...
分类:
其他好文 时间:
2014-04-30 02:49:15
阅读次数:
414
1.如果你看到一个数组的行为方式很像一个数据结构,就可以把数组变成对象private int
aa,变成: int aa; public int GetAA() {return aa;}//好处:使得获取的数据更加有效
分类:
其他好文 时间:
2014-04-30 00:55:25
阅读次数:
373
public class Factory2 { /** * @param args 工厂模式
*/ public static void main(String[] args) { // TODO Auto-generated method stub
Ifactory ifactory =...
分类:
其他好文 时间:
2014-04-30 00:33:52
阅读次数:
504
public class Factory2 { /** * @param args 工厂模式
*/ public static void main(String[] args) { // TODO Auto-generated method stub
//工厂模式 Ifactory if...
分类:
其他好文 时间:
2014-04-30 00:13:13
阅读次数:
512
package com.szy.service;import
android.app.Service;import android.content.Intent;import
android.os.IBinder;import android.util.Log;public class Exampl...
分类:
其他好文 时间:
2014-04-30 00:10:08
阅读次数:
510
public abstract
classAsyncTaskextendsObjectjava.lang.Object?android.os.AsyncTaskClass
OverviewAsyncTask enables proper and easy use of the UI thread. ...
分类:
移动开发 时间:
2014-04-29 21:05:32
阅读次数:
748
今天想探索一下cocos2dx的内存管理,我们就先从CCObject开始吧class
CC_DLL CCObject : public CCCopying{public: // object id, CCScriptSupport need
public m_uID unsigned i...
分类:
其他好文 时间:
2014-04-29 18:51:08
阅读次数:
575
{使用一般处理程序动态生成验证码}1.新建WebSite项目,添加一般处理程序命名为yzm.ashx,添加如下代码:
public void ProcessRequest(HttpContext context) {
//将context.Response.ContentType = "text/p...
分类:
Web程序 时间:
2014-04-29 18:33:35
阅读次数:
501
package com.szy.service;import
android.app.IntentService;import android.content.Intent;import
android.util.Log;public class ExampleIntentService exten...
分类:
其他好文 时间:
2014-04-29 18:02:50
阅读次数:
432
简单记录:模糊查询的select语句的拼写 public List
GetWhereStudent(string name, string sub, string isG) { List lt = new List();
str...
分类:
Web程序 时间:
2014-04-29 17:17:34
阅读次数:
864