1、通过storyboard创建: (1)先加载storyboard文件: UIStoryboard
* storyboard = [UIStoryboard storyboardWithName:@“Test” bundle:nil]; (2)
初始化storyboard中的控制器...
分类:
移动开发 时间:
2014-05-27 02:27:33
阅读次数:
250
1.在vc6中要加入额外的库文件时候,在project->setting->linker->object/library
modules中写上要添加的模块的文件名就可以了,比如TinyXml.lib。2.在VS2008中为项目 - 属性 - 配置属性 - 链接器 - 输入 -
附加依赖项如下图所示:
分类:
其他好文 时间:
2014-05-24 07:48:21
阅读次数:
323
在应用程序开发过程中,会遇到很多网络访问问题,自己没有能力提供后台服务,这时就可以抓取网络上的数据包,获取数据接口,应用在程序中。下面介绍使用paros抓取网络数据包得步骤。1.
保证 iphone/android 和电脑在同一个网段2. 在 iphone Setting 设置电脑的 ip 地址 这...
分类:
其他好文 时间:
2014-05-24 03:15:27
阅读次数:
269
在后台线程中执行各种操作(网络连接、大数据存储)的时候,我们希望让客户能看到后台有操作在进行,那么既能有效的提示用户,又不占用当前操作空间,最好的方法就是在标题栏有个进度条。[代码]
[Java]代码protected void onCreate(Bundle savedInstanceState)...
分类:
移动开发 时间:
2014-05-24 00:54:52
阅读次数:
302
package com.dhy.phonedial;
import android.app.Activity;
import android.app.Fragment;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflate...
分类:
移动开发 时间:
2014-05-18 15:58:42
阅读次数:
342
MainActivity如下:
package cc.cn;
import java.util.HashMap;
import org.json.JSONObject;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import com.android.volley....
分类:
移动开发 时间:
2014-05-18 15:18:31
阅读次数:
297
一、起因最近在玩Boost库。当然首先是要进行Booist库的安装和配置。于是浅墨Google了一下boost库的安装配置攻略,下载了最新版1.55的boost库,就愉悦地开始进行配置了。当进行到第五步,要在VS命令提示符中运行bootstrap.bat的时候,问题就来了,按着攻略打开Visual Studio2010命令提示符,就迎面报错:“Setting environment for usi...
分类:
其他好文 时间:
2014-05-18 08:33:52
阅读次数:
562
this bundle is invalid . new apps and app updates submitted to the app store must be built with public...
分类:
移动开发 时间:
2014-05-18 04:57:16
阅读次数:
341
异常类型为:android.view.WindowManager$BadTokenException:
Unable to add window
我在fragment中public
View onCreateView(LayoutInflater
inflater, ViewGroup
container,Bundle
savedInstanceState) {中试图调用对话框静态工...
分类:
其他好文 时间:
2014-05-18 04:27:35
阅读次数:
240
MainActivity如下:
package cc.y;
import android.app.Activity;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Bitmap.Config;
import android.os.Bundle;
import and...
分类:
移动开发 时间:
2014-05-18 03:54:44
阅读次数:
365