instrumentation指令集需要在manifest节点下
android:name="android.test.InstrumentationTestRunner"
android:targetPackage="com.example.junittest" />
uses-library 需要在application节点下
...
分类:
移动开发 时间:
2014-08-03 12:49:55
阅读次数:
202
题目:Given a collection of numbers, return all possible permutations.For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3], [2,....
分类:
编程语言 时间:
2014-08-03 10:09:25
阅读次数:
193
题目:Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarificatio....
分类:
编程语言 时间:
2014-08-03 10:07:05
阅读次数:
231
题目:Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order.For example,Given the following matrix:[[ ....
分类:
编程语言 时间:
2014-08-03 05:24:09
阅读次数:
276
题目:Given an index k, return the kth row of the Pascal's triangle.For example, given k = 3,Return [1,3,3,1].Note:Could you optimize your algorithm to ....
分类:
编程语言 时间:
2014-08-03 05:24:06
阅读次数:
304
题目: Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.For example,Given n = 3,You should return the foll....
分类:
编程语言 时间:
2014-08-03 05:21:18
阅读次数:
272
题目:Given numRows, generate the first numRows of Pascal's triangle.For example, given numRows = 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1...
分类:
编程语言 时间:
2014-08-03 05:16:25
阅读次数:
303
题目:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the....
分类:
编程语言 时间:
2014-08-03 04:40:04
阅读次数:
351
好吧,我承认etimer有点小复杂,主要是它似乎和contiki的process搅在一起,到处都在call_process。那就先搜搜contiki下的etimer的example看看,然后再试着写一个demo玩玩。 在写demo之前,先说说自己是怎么找到etimer 的example的文件的...
分类:
其他好文 时间:
2014-08-02 23:08:24
阅读次数:
275
The demo generatefrom 北京尚学堂package com.example.scrollview;import android.support.v7.app.ActionBarActivity;import android.support.v7.app.ActionBar;impo...
分类:
其他好文 时间:
2014-08-02 20:52:34
阅读次数:
334