// 获取文件路径 /** 1 *
bundle是一个目录,其中包含应用程序的所有资源,通过mainBundle 得到这个目录后就可以获取resource下的资源 */ NSString
*filePath = [[NSBundle mainBundle] pathFo...
分类:
移动开发 时间:
2014-07-22 23:13:34
阅读次数:
349
时间:4月29日晚上9点地点:信息学院楼组员4月29日今日完成任务4月30日明天计划任务杨波界面数据库链接代码完成;调试整合代码;周亚豪调试欢迎界面设计了查询自习室界面;学习Intent界面跳转;崔海营录入了周一周二的数据;将其余几天的数据导入数据库;闵芮继续调试了昨天的代码,不成功,准备转向调用设...
分类:
其他好文 时间:
2014-07-22 23:10:53
阅读次数:
356
检测到标签后在Activity中的处理流程
1. 在onCreate()中获取NfcAdapter对象;
NfcAdapter nfcAdapter = NfcAdapter.getDefaultAdapter(this);
2.在onNewIntent()中获取Tag对象或者NdefMessage信息;
获取Tag对象:
Tag tag = intent.getParcelableEx...
分类:
移动开发 时间:
2014-07-22 23:04:33
阅读次数:
476
当 Activity 的启动模式是 singleTask 或者 singleInstance
的时候。如果使用了 intent 传值,则可能出现 intent 的值无法更新的问题。也就是说每次 intent 接收到的值都是第一次接到的值。因为
intent 没有被更新。想要更新需要做两件事情。1. ...
分类:
移动开发 时间:
2014-05-02 20:54:53
阅读次数:
394
eclipse安装maven插件-解决requires ‘bundle
org.slf4j.api
1.6.2′【转载】http://robin.sh/html/1526_eclipse-maven.html给eclipse安装maven插件,网上教程已经很多,不在累述。关键是安装过程中报错:req...
runtime
bundle/vim-pathogen/autoload/pathogen.vimset nocompatible " be iMproved,
requiredfiletype off " required" set th...
分类:
其他好文 时间:
2014-05-01 08:38:20
阅读次数:
327
最近在做项目使用webview显示后,有写文档需要打开,找了一些资料,研究了一下,弄出来了!...
分类:
移动开发 时间:
2014-04-30 22:22:40
阅读次数:
296
基于adt bundle for windows-的AndroidOpenCV安装文档说明
说明:本文档是基于快速搭建android开发平台adt bundle for windows软件的AndroidOpenCV运行环境搭建,主要参考OpenCV官方文档: http://docs.opencv.org/trunk/doc/tutorials/introduction/android_...
分类:
移动开发 时间:
2014-04-30 22:11:38
阅读次数:
616
package mars.listview;import
java.util.ArrayList;import java.util.HashMap;import
android.app.ListActivity;import android.os.Bundle;import android.view...
分类:
其他好文 时间:
2014-04-30 20:23:44
阅读次数:
474
我们一般切换UIViewController的时候用的是如下代码
#import "UIViewControllerDemo.h"
UIViewControllerDemo *vc = [UIViewControllerDemo alloc] initWithNibName:nil bundle:nil] autorelease];
[self.navigationController pushViewController:vc animated:YES];...
分类:
其他好文 时间:
2014-04-27 21:21:00
阅读次数:
294