摘要:
package com.fuda;import org.apache.http.client.CookieStore;import com.fuda.model.StudentInfoModel;import com.nostra13.universalimageloader.cache.disc.naming.Md5FileNameGenerator;import com.nostra13.universalimageloader.core.DisplayImageOptions;import com.nostra13.universalimageloader.core.ImageLoade 阅读全文
摘要:
package com.fuda.ui;import android.app.Activity;import android.os.Bundle;import android.os.Handler;import android.os.Parcel;import android.os.Parcelable;import android.view.Gravity;import android.view.View;import android.view.ViewGroup;import android.view.animation.AlphaAnimation;import android.view 阅读全文
摘要:
private AsyncHttpClient asyncHttpClient; private Dialog dialog;/** * 改变简历状态 */ private void postchangestate(final boolean mIsOpen,final boolean mIsLoader) { asyncHttpClient = new AsyncHttpClient(); RequestParams rp = new RequestParams(); if(mIsLoader){ ... 阅读全文
摘要:
在/res/values目录下的文件中定义要显示的字符串,主要是考虑到后期可能需要换成英文之类的用户名或密码为空调用private MessageBar mMessageBar;mMessageBar.show(getResources().getString(R.string.login_error)); 阅读全文
摘要:
//追加数据NSString *homePat = NSHomeDirectory();NSString *sourcePath = [homePath stringByAppedingPathComponent:@"testfile.ext"];NSFileHandle *fileHandle = [NSFileHandle fileHandleForUpdatingAtPath:sourcePath];//将结点跳转到文件末尾[fileHandle seekToEndOfFile];NSString *str = @"追加的数据";NSData *s 阅读全文
摘要:
#ifndef __TABLEVIEWTESTSCENE_H__#define __TABLEVIEWTESTSCENE_H__#include "cocos2d.h"#include "cocos-ext.h"void runTableViewTest();class TableViewTestLayer : public cocos2d::CCLayer, public cocos2d::extension::CCTableViewDataSource, public cocos2d::extension::CCTableViewDelegate{p 阅读全文
摘要:
#include "../CCControlScene.h"class CCControlSliderTest : public CCControlScene{public: CCControlSliderTest(); virtual ~CCControlSliderTest(); bool init(); void valueChanged(CCObject *sender, CCControlEvent controlEvent);protected: CCLabelTTF* m_pDisplayValueLabel; CONTROL_SCENE_CR... 阅读全文