login public?class?login?extends?Activity?{
????ImageView?iv3;
????@Override
????protected?void?onCreate(Bundle?savedInstanceState)?{
????????super.onCreate(savedInsta...
分类:
移动开发 时间:
2015-08-03 19:30:20
阅读次数:
109
SHOW PROCESSLIST显示哪些线程正在运行。您也可以使用mysqladmin processlist语句得到此信息。如果您有SUPER权限,您可以看到所有线程。否则,您只能看到您自己的线程(也就是,与您正在使用的MySQL账户相关的线程)。如果您不使用FULL关键词,则只显示每个查询的前1...
分类:
编程语言 时间:
2015-08-03 14:19:53
阅读次数:
161
[super viewDidLoad]; // 实例化UILabel并指定其边框 UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(0.0, 80.0, 320.0, 300.0)]; // 设置label显示的文本 [lab...
分类:
其他好文 时间:
2015-08-03 08:52:32
阅读次数:
101
定制控件的方式1、继承其他控件类。 例如,EditText,是继承TextView.例子:带图标的文本框public IconTextView(Context context, AttributeSet attrs) { super(context, attrs); ...
分类:
其他好文 时间:
2015-08-03 00:58:43
阅读次数:
145
最近研究怎样防止服务被杀死,网上百度了下,发现基本就两只设置方法,1.在Service onStartCommand中返回super.onStartCommand(intent, START_STICKY, startId);,这样进程被一键杀死后会立即自动重启。 2.注册receiver,监听开机等事件,在onReceive中启动服务。
在模拟器上没问题,可以正常启动,而且杀不死,但在...
分类:
移动开发 时间:
2015-08-02 18:17:17
阅读次数:
204
1.定义dialogprivate ProgressDialog dialog;2.定义Handler对象private Handler handler =new Handler(){
@Override
//当有消息发送出来的时候就执行Handler的这个方法
public void handleMessage(Message msg){
super.handleMe...
分类:
移动开发 时间:
2015-07-31 12:59:59
阅读次数:
181
1 - (void)viewDidLoad 2 { 3 [super viewDidLoad]; 4 5 // 蓝色 6 UIView *blue = [[UIView alloc] init]; 7 blue.backgroundColor = [UIC...
分类:
移动开发 时间:
2015-07-31 12:39:08
阅读次数:
138
#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad{ [super viewDidLoad]; // Do any additiona....
分类:
移动开发 时间:
2015-07-31 12:36:15
阅读次数:
98
package com.entity;/*2015-7-18*/public class Rover { private CurrentPosition position; public Rover(CurrentPosition position) { super(); ...
分类:
其他好文 时间:
2015-07-31 01:03:51
阅读次数:
135
Build 10x FasterRich mobile games and apps in record timeCoronais designed to enable super-fast development. Our elegantAPIsmake adding complex featur...
分类:
其他好文 时间:
2015-07-30 19:20:29
阅读次数:
121