1,原理:
当Android系统完成BOOT阶段之后,就会发送一条名为ACTION_BOOT_COMPLETED的广播,我们便可在一个BroadcastReceiver中捕获这条广播,然后启动我们的Activity或者Service,当然要注意的是,我们的application必须具有捕获该广播的....
分类:
移动开发 时间:
2014-06-07 03:06:09
阅读次数:
276
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary
*)launchOptions说明:当应用程序启动时执行,应用程序启动入口。只在应用程序启动时执行一次。appli...
分类:
移动开发 时间:
2014-06-04 20:47:41
阅读次数:
205
//在程序的启动处,开启通知-
(BOOL)application:(UIApplication*)application
didFinishLaunchingWithOptions:(NSDictionary*)launchOptions{//.....//开启网络状况的监听[[NSNotific...
分类:
移动开发 时间:
2014-06-04 19:58:55
阅读次数:
281
Global cursor:To change the cursor in a
application wide fashion, you have to access the Glass Pane and set its cursor,
and then make the glass pane v...
分类:
编程语言 时间:
2014-05-30 11:18:29
阅读次数:
284
获取程序的Home目录 NSString *home =
NSHomeDirectory();注意: 虚拟机Home目录: /Users/userName/Library/Application
Support/iPhone Simulator/6.1/Applications/C926CCFA-A...
分类:
其他好文 时间:
2014-05-30 03:05:43
阅读次数:
233
转载:http://www.cnblogs.com/Fan_Fan/archive/2010/05/29/1746860.htmlQT程序在windows下部署发布以下包括了部分网上收集的,以及qt帮助里的内容(Deploying
an Application on Qt/Windows)首先,打开...
actionbar 默认放在顶部,
如果在application或者activity中加入android:uiOptions="splitActionBarWhenNarrow"那么,actionbar将在底部显示。自定义属性,包括自定义actionbar的背景颜色
自定义a...
分类:
移动开发 时间:
2014-05-29 19:34:26
阅读次数:
644
Hiding the C# application to the system tray is
quiet straight forward. With a few line of codes in C# and you can accomplish
this. First you will nee...
分类:
移动开发 时间:
2014-05-29 17:59:38
阅读次数:
311
Please follow the steps precisely in order to
complete the objectives of the assignment. If you use the C++ FreeRTOS
framework, it should make the ass...
分类:
移动开发 时间:
2014-05-29 16:53:33
阅读次数:
483
CGI:Common Gateway
Interface,通用网关接口。CGI处理步骤首先,客户端(即Web浏览器)根据某资源的URL向Web服务器提出请求;Web服务器的守护进程(HTTP
Daemon)将此请求的参数通过标准输入和环境变量传递给指定的CGI程序,并启动此应用程序进行处理,如要存取...
分类:
其他好文 时间:
2014-05-29 15:50:49
阅读次数:
245