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
1、UISlider控件就像其名字一样,是一个像滑动变阻器的控件:上图中的圆圈可以移动,它处在不同的位置,这个UISlider会有不同的值。接下来的例子是关于UISlider的简单使用。(1)假设我们已经建立了一个Single
View Application,打开ViewController.xi...
分类:
其他好文 时间:
2014-06-03 13:59:43
阅读次数:
303
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