码迷,mamicode.com
首页 >  
搜索关键字:extra    ( 2903个结果
解析activity之间数据传递方法的详解
转自:http://www.jb51.net/article/37227.htm本篇文章是对activity之间数据传递的方法进行了详细的分析介绍,需要的朋友参考下1 基于消息的通信机制 Intent--------boudle,extra用这种简单的形式,一般而言传递一些简单的类型是比较容易的,如...
分类:其他好文   时间:2014-06-21 10:32:58    阅读次数:309
[LeetCode] Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for...
分类:其他好文   时间:2014-06-20 21:48:33    阅读次数:254
Apache虚拟主机(VirtualHost)配置
首先找到Apache的配置文件httpd.conffind / -name httpd.conf找到以下代码处#Virtual hosts#Include conf/extra/httpd-vhosts.conf按照上面的格式加入一行,你的虚拟主机配置文件,当然,你可以先加入再去写配置Include...
分类:其他好文   时间:2014-06-18 23:17:06    阅读次数:295
【Leetcode】Pascal's Triangle II
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 use only O(k) extra space? 思路:最简单的方法就是按...
分类:其他好文   时间:2014-06-18 12:40:54    阅读次数:265
XAMPP 设置虚拟站点
1. url 劫持C:\Windows\System32\drivers\etc\hosts127.0.0.1 pro2. 设置虚拟路径D:\XAMPP\apache\conf\extra\httpd-vhosts.conf DocumentRoot "D:/XAMPP/htdocs" ...
分类:其他好文   时间:2014-06-17 20:01:44    阅读次数:271
Palindrome Number
题目 Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of converting the integer to ...
分类:其他好文   时间:2014-06-17 16:12:39    阅读次数:226
Android downloadmanger 2之对于下载完成和点击下载通知的监听
监听下载完成: 要想在下载完成后收到一个通知,需要注册一个Receiver来接收ACTION_DOWLOAD_COMPLETE广播。它将包含一个EXTRA_DOWNLOAD_ID extra,其中包含了已经完成下载的引用ID: public void funclick(View view){ String serviceString = Context.DOWNLOAD_SERVICE;...
分类:移动开发   时间:2014-06-15 15:32:44    阅读次数:618
【Leetcode】Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null. Follow up: Can you solve it without using extra space? 思路:由【Leetcode】Linked List Cycle可知,利用一快一慢...
分类:其他好文   时间:2014-06-15 14:23:38    阅读次数:288
[LeetCode] Remove Duplicates from Sorted Array
Given a sorted array, remove the duplicates in place such that each element appear only onceand return the new length.Do not allocate extra space for ...
分类:其他好文   时间:2014-06-14 16:59:58    阅读次数:221
[LeetCode] Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.Follow up: Can you solve it without using extra space?比...
分类:其他好文   时间:2014-06-14 15:48:59    阅读次数:217
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!