码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
android 将Service绑定到Activity
Service可以和Activity绑定,后者会维持对Service实例的引用,此引用允许你像对待其他实例化的那样,对正在运行的Service进行方法调用。 允许Service和Activity绑定,这样能够获得更加详细的接口。要让一个Service支持绑定,需要实现onBind方法,并返回被绑定Service的当前实例。 package com.example.androidtest.ser...
分类:移动开发   时间:2014-07-26 15:07:40    阅读次数:227
【leetcode刷题笔记】Minimum Window Substring
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).For example,S="ADOBECODEBA...
分类:Windows程序   时间:2014-07-26 14:50:20    阅读次数:326
Longest Consecutive Sequence leetcode java
题目:Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given [100, 4, 200, 1, 3, 2],The lon....
分类:编程语言   时间:2014-07-26 14:50:11    阅读次数:226
android 霓虹灯效果
package com.example.test;import java.util.Timer;import java.util.TimerTask;import android.os.Bundle;import android.os.Handler;import android.os.Messag...
分类:移动开发   时间:2014-07-26 14:50:00    阅读次数:266
通过自定义view替代layout.xml表示activity的界面
创建了一个新项目之后,在src内新建一个类public class 类名 extends View 1 package com.example.activity_view; 2 3 import android.content.Context; 4 import android.graphics.....
分类:其他好文   时间:2014-07-26 14:37:00    阅读次数:236
【leetcode刷题笔记】Interleaving String
Givens1,s2,s3, find whethers3is formed by the interleaving ofs1ands2.For example,Given:s1="aabcc",s2="dbbca",Whens3="aadbbcbcac", return true.Whens3="...
分类:其他好文   时间:2014-07-26 14:24:50    阅读次数:251
hdu 2583 permutation 动态规划
Problem DescriptionPermutation plays a very important role in Combinatorics. For example ,1 2 3 4 5 and 1 3 5 4 2 are both 5-permutations. As everyone...
分类:其他好文   时间:2014-07-26 14:15:48    阅读次数:237
Simplify Path leetcode java
题目:Given an absolute path for a file (Unix-style), simplify it.For example,path = "/home/", => "/home"path = "/a/./b/../../c/", => "/c"Corner Cases:D....
分类:编程语言   时间:2014-07-26 14:15:15    阅读次数:264
[LeetCode] Binary Tree Level Order Traversal
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).For example: Given binary tree {3...
分类:其他好文   时间:2014-07-26 14:03:16    阅读次数:174
linux下opengl的安装(with qt)
sudo apt-get install build-essential sudo apt-get install libgl1-mesa-dev sudo apt-get install libglu1-mesa-dev sudo apt-get install freeglut3-dev qt的.pro文件添加: LIBS += -lglut ?\ -lGL...
分类:系统相关   时间:2014-07-26 03:31:17    阅读次数:285
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!