上一页 1 2 3 4 5 6 7 8 ··· 12 下一页

2010年1月10日

摘要: I tried to download android source code by following instructions in this article: Using Repo and Git. Because I'm working with cygwin on windows, the readline module isn't available. The repo... 阅读全文
posted @ 2010-01-10 16:47 rxwen 阅读(848) 评论(0) 推荐(0) 编辑

2010年1月9日

摘要: I need to change a visual stuio 2003 project's source control system from visual sourcesafe to subversion. In order to commit clean source files to svn, I first need to completely remove vss bindi... 阅读全文
posted @ 2010-01-09 11:00 rxwen 阅读(239) 评论(0) 推荐(0) 编辑

2010年1月7日

摘要: Property system is an important feature on android. It runs as a service and manages system configurations and status. All these configurations and status are properties. A property is a key/value pai... 阅读全文
posted @ 2010-01-07 22:19 rxwen 阅读(1593) 评论(0) 推荐(0) 编辑

2010年1月4日

摘要: android media framework is built on top of a set of media libraries, including OpenCORE, vorbis and sonivox. So one of goal of android media framework is to provide a consistent interface for all serv... 阅读全文
posted @ 2010-01-04 21:46 rxwen 阅读(2211) 评论(0) 推荐(0) 编辑

2009年12月24日

摘要: Question:Write an O(n)-time nonrecursive procedure that, given an n-node binary tree, prints out the key of each node in the tree. Use a stack as an auxiliary data structure. Answer:This isn't a d... 阅读全文
posted @ 2009-12-24 17:04 rxwen 阅读(218) 评论(0) 推荐(0) 编辑

2009年12月17日

摘要: Question:Let X[1 .. n] and Y [1 .. n] be two arrays, each containing n numbers already in sorted order. Give an O(lg n)-time algorithm to find the median of all 2n elements in arrays X and Y.Answer:Wi... 阅读全文
posted @ 2009-12-17 08:49 rxwen 阅读(214) 评论(0) 推荐(0) 编辑

2009年12月11日

摘要: I came across a question regarding c++, is it more efficient to use memcmp to determine equality of two objects of the same type.This is not a question regarding efficiency at all, it's about correctn... 阅读全文
posted @ 2009-12-11 09:13 rxwen 阅读(277) 评论(0) 推荐(0) 编辑

2009年12月9日

摘要: While doing android programming, it's a common sense to use Activity to interact with users and use Service to perform time consuming tasks (actually, such tasks are usually performed on a new thread ... 阅读全文
posted @ 2009-12-09 08:50 rxwen 阅读(271) 评论(0) 推荐(0) 编辑

2009年12月7日

摘要: There are times when I deployed an application on a box different from the developing box, the application failed to start with following message:"This application has failed to start because the appl... 阅读全文
posted @ 2009-12-07 08:30 rxwen 阅读(429) 评论(0) 推荐(0) 编辑

2009年12月4日

摘要: Question: Suppose that you want to output 0 with probability 1/2 and 1 with probability 1/2. At your disposal is a procedure BIASED-RANDOM, that outputs either 0 or 1. It outputs 1 with some probabili... 阅读全文
posted @ 2009-12-04 13:04 rxwen 阅读(232) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页

导航