自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

imyfriend的专栏

hello,world

  • 博客(1)
  • 资源 (84)
  • 收藏
  • 关注

转载 onSaveInstanceState和onRestoreInstanceState触发的时机

原文出处:http://www.cnblogs.com/heiguy/archive/2010/10/30/1865239.html     先看Application Fundamentals上的一段话:    Android calls onSaveInstanceState() before the activity becomes vulnerable to being dest

2012-03-03 17:12:20 667

深入理解C++11新特性解析与应用.pdf

C++标准委员会成员和IBM XL编译器中国开发团队共同撰写,权威性毋庸置疑。系统、深入、详尽地讲解了C++11新标准中的新语言特性、新标准库特性、对原有特性的改进,以及所有这些新特性的应用。

2019-07-04

xmind pro 8

xmind pro 8 是目前互联网上一款最优秀最专业的思维导图软件,该软件可以将脑中的源源不断涌现的想法完美的展现出来,其思维导图与其他导图图表等更是简单易用,吸引着人们的眼球。xmind pro 8软件界面美观、简单易用、功能强大,拥有高效的可视化思维模式,新版本新增了很多方便用户使用的功能,例如新增“资源管理器”,通过它用户可以统一整理XMind资源库,甚至自定义,包括管理剪贴画、图标、风格、样式、模板。还新增了基于幻灯片的演示slide-by-slidepresentation, 使用XMind基于幻灯片的演示文稿,创建、展示和共享演示文稿变得比以往任何时候都更容易。全新的xmind8将给用户带来更好的体验,更酷的功能,更漂亮的可视化效果,以及更大的生产力提升。它可以应用全球最先进的Eclipse RCP软件架构,可以将用户脑中的源源不断涌现的想法完美的展现出来,帮助用户真正意义上提高生产率。

2019-02-23

ListView更新ListItem的Demo

http://blog.csdn.net/imyfriend/article/details/48594265 中提到的Demo

2015-09-20

漫谈设计模式—从面向对象开始

漫谈设计模式—从面向对象开始

2014-12-26

Android的设计与实现(卷1)

android的设计与实现:卷i》是android应用开发工程师和android系统工程师进阶修炼的必读之作。它由资深android内核专家亲自执笔,从源代码角度,系统、深入、透彻剖析android系统框架层(framework)的设计思想和实现原理,为android应用工程师和系统工程师解决实际工作中的各种难题提供了原理性的指导。为了降低读者的阅读成本,《android的设计与实现:卷i》使用了大量简单的uml类图和序列图来展示类的层次结构和方法的调用流程,使读者能迅速读完《android的设计与实现:卷i》并领会其精髓! “android的设计与实现”系列丛书主要围绕android系统的四层结构展开,通过源代码来分析各层的设计思想与实现原理,卷i则主要是针对framework(框架层)的。全书共12章,分为六个部分:基础篇(第1~2章)详细讲解了android的体系结构、源代码阅读和调试环境的搭建,以及整个框架的基础;启动篇(第3~4章)深入分析了android启动过程的机制和实现原理,能帮助读者全面理解框架层系统服务的运行基础;binder篇(第5~6章)着重分析了binder在native框架层和java框架层的机制和实现,能让读者深入理解进程间的通信模型;消息通信篇(第7章)重点分析了android的消息驱动和异步处理机制,能让读者深入理解线程间的通信模型;package manager篇(第8~9章)主要讲解了package manager的机制与实现,以及apk的安装方法与过程;activity manager篇(第10~12章)深入阐述了activitymanagerservice的运行机制、应用程序和进程的启动流程,以及进程管理机制。

2014-10-17

Android.应用开发与系统改造实战

本书共分25章,对Android系统的各个层面进行了详细讲解,旨在让读者在尽量短的时间内对Andriod系统的各个方面有一个全面的了解,为进一步学习开发和研究Android操作系统源程序打下坚实的基础。首先,在Android应用程序层面,详细讲解了应用程序开发的各项技术,着重讲解了应用程序的开发基础、应用程序的结构、4大组件工作原理与功能,以及它们之间通信的基础Intent类。此外,给出了一些实例让读者能够更深刻地理解这些知识并加以应用。然后,讲解了Android NDK开发的方方面面,为了更好地开发出高质量的应用程序,详细讲解了Android调试技术,包括普通Android应用程序和NDK应用程序调试。

2014-10-17

Android内核剖析

本书详细分析了Android内核的内部机制,包括窗口管理系统、Activity管理系统、输入法框架、编译系统等,为Android内核定制及高级应用程序开发提供技术参考。

2014-10-17

java绑定 ffmpeg利器:jjmpeg

jjmpeg 是一个 java 绑定到 ffmpeg 的非常便利的解码和编码库。jjmpeg 具有很高的执行效率,可以运行在不同的平台,而且控制起来也很简单。除了具有 FFmpeg 接口的面向对象的特征之外,jjmpeg 还具有一些较高层次的对象,这些对象使 jjmpeg 对于编码的视频和音频文件的读写几乎和 ImageIO 对静态影像的读写一样简便。 jdvb 是次级项目,它提供 Java 访问 linux dvb 驱动(digital tv)的功能。它在进程和片方面做了很多工作,尽管它自己能够和接收者通信而且能够提取原始流(这样反过来可以使用 jjmpeg 处理)。

2014-03-23

Binder示例

这是一个binder的示例代码。代码里实现了一个activity和一个service之间互相使用binder通信,以及如何在不同进程间更新preferences的方法。

2013-08-30

Video_Demystified

国外经典教程,视频图像处理界的圣经,必读教程。包里有中文版和英文版.

2013-07-01

ANDROID框架揭秘

《Android框架揭秘》通过对Android系统源代码的分析,主要介绍Android框架的初始化过程及主要组件的工作原理。作者直接分析和整理了Android框架的主要源代码,并详细讲解了理解框架工作原理所需的各种基础知识和构成实际Android平台骨干的服务框架。其中的主要内容包括:通过启动程序了解Android框架的概要,移植Android以及如何开发适合各种机器的应用程序,分析Android框架所需的基础知识,JNI(Java Native Interface)与Binder基础知识,Zygote、Service Manager、Service Server等Android核心组件,Android服务框架的结构与理解,通过Camera Service、Activity Manager Service等服务分析实际的Android服务等。 《Android框架揭秘》不仅可以供具备一定开发经验的Android开发人员参考阅读,也可作为Android开发初学者的Android框架入门教材使用。

2013-07-01

Android软件安全与逆向分析

《Android软件安全与逆向分析》由浅入深、循序渐进地讲解了Android系统的软件安全、逆向分析与加密解密技术。包括Android软件逆向分析和系统安全方面的必备知识及概念、如何静态分析Android软件、如何动态调试Android软件、Android软件的破解与反破解技术的探讨,以及对典型Android病毒的全面剖析。   《Android软件安全与逆向分析》适合所有Android应用开发者、Android系统开发工程师、Android系统安全工作者阅读学习。

2013-07-01

Sip_Demystified (SIP揭密)

SIP协议提出人的著作,详细介绍了SIP协议。包里包括中文版和英文版,希望对大家有所帮助。

2013-07-01

XMPP:The Definitive Guide

This practical book provides everything you need to know about the Extensible Messaging and Presence Protocol (XMPP) -- the open technology for real-time communication used in instant messaging, Voice over IP, real-time collaboration, social networking, microblogging, lightweight middleware, cloud computing, and more. XMPP: The Definitive Guide walks you through the thought processes and design decisions involved in building a complete XMPP-enabled application, and adding real-time interfaces to existing applications.

2013-02-22

android自定义实现比例缩放的layout

一个小例子,用来解决屏幕的自适应问题。例子里是一个自定义实现比例缩放的layout。

2012-10-28

cocos2d架构的初步分析流程图附件

cocos2d架构的初步分析流程图附件,希望对大家有所帮助。

2012-10-12

Bitmap生成时序图

这是博文《BitmapFactory.decodeResource VS BitmapFactory.decodeStream》中的时序图,发现上传后,看不清楚,所以上传在这里。

2012-10-05

android SurfaceView双缓冲Demo

这是一个android SurfaceView双缓冲Demo,希望对大家理解android SurfaceView双缓冲有所帮助。

2012-09-30

Android架构师手册_建模与图形思考--高焕堂

架构师(Architect)的职责就是创意设计与人际沟通。在规划架构或框架的阶段,还没开始动工撰写Android 程序码,那么架构师如何进行创意思考呢? 又如何将创意设计表达出来,争取自己公司老板和业主的支持(例如投资)呢? 大家都知道,像举世公认的创意天才:达芬奇(Leonardo daVinci)。他具有非凡的图形绘制和思考能力(例如蒙娜莉萨的微笑就是他的名作)。这提醒了我们,身为架构师,其图形绘制和思考能力愈好,其创意设计与人际沟通能力就愈好。 因此,培养 Android 架构师的图形思考能力是极为重要的。

2012-09-04

The OpenGL Machine

这是一张Silicon的OpenGL图形系统架构图,对于理解OpenGL渲染管线有很大好处。

2012-07-26

解密图像显示控制器的3D功能

解密图像显示控制器的3D功能

2012-05-02

PThreads Primer -- A Guide to Multithreaded Programming

Today, there are three primary sets of multithreading (MT) libraries: the “standards-based” libraries (all of the UNIX® implementations and VMS, which are moving to POSIX), the OS/2® library, and the Win32 library. (The NT and OS/2 libraries are fairly similar, which should not be too surprising. NT did start life as OS/2, version 2, after all.) Although the APIs1 and implementations differ significantly, the fundamental concepts are the same. The ideas in this book are valid for all three; the details of the APIs differ. All the specific discussion in this book focuses on the POSIX multithreading model, with comparisons to OS/2 and Win32 throughout.

2012-03-16

Programming with POSIX Threads

This book is about "threads" and how to use them. “Thread” is just a name for a basic software "thing" that can do work on a computer. A thread is smaller, faster, and more maneuverable than a traditional process. In fact, once threads have been added to an operating system, a "process" becomes just data--address space, files, and so forth--plus one or more threads that do something with all that data.

2012-03-16

疯狂Android讲义_4

《疯狂Android讲义》是一本介绍Android应用开发的实用图书,全面介绍了Android 2.3平台上应用开发各方面的知识。如果你对JDK安装、Java基本语法还不熟,本书并不适合你。本书只用了一章来介绍如何搭建Android开发环境、Android应用结构,当然也简要说明了Android的发展历史。本书只是一本介绍Android实际开发的图书,这不是一本关于所谓“思想”的书,不要指望学习本书能提高你所谓的“Android思想”,所以奉劝那些希望提高编程思想的读者不要阅读本书。本书更不是一本看完之后可以“吹嘘、炫耀”的书。 认真看完本书、把书中所有示例都练习一遍,本书带给你的只是9个字:“看得懂、学得会、做得出”。本书不能让你认识一堆新名词,只会让你学会实际的Android应用开发。

2012-03-13

疯狂Android讲义_3

《疯狂Android讲义》是一本介绍Android应用开发的实用图书,全面介绍了Android 2.3平台上应用开发各方面的知识。如果你对JDK安装、Java基本语法还不熟,本书并不适合你。本书只用了一章来介绍如何搭建Android开发环境、Android应用结构,当然也简要说明了Android的发展历史。本书只是一本介绍Android实际开发的图书,这不是一本关于所谓“思想”的书,不要指望学习本书能提高你所谓的“Android思想”,所以奉劝那些希望提高编程思想的读者不要阅读本书。本书更不是一本看完之后可以“吹嘘、炫耀”的书。 认真看完本书、把书中所有示例都练习一遍,本书带给你的只是9个字:“看得懂、学得会、做得出”。本书不能让你认识一堆新名词,只会让你学会实际的Android应用开发。

2012-03-13

疯狂Android讲义_2

《疯狂Android讲义》是一本介绍Android应用开发的实用图书,全面介绍了Android 2.3平台上应用开发各方面的知识。如果你对JDK安装、Java基本语法还不熟,本书并不适合你。本书只用了一章来介绍如何搭建Android开发环境、Android应用结构,当然也简要说明了Android的发展历史。本书只是一本介绍Android实际开发的图书,这不是一本关于所谓“思想”的书,不要指望学习本书能提高你所谓的“Android思想”,所以奉劝那些希望提高编程思想的读者不要阅读本书。本书更不是一本看完之后可以“吹嘘、炫耀”的书。 认真看完本书、把书中所有示例都练习一遍,本书带给你的只是9个字:“看得懂、学得会、做得出”。本书不能让你认识一堆新名词,只会让你学会实际的Android应用开发。

2012-03-13

疯狂Android讲义_1

《疯狂Android讲义》是一本介绍Android应用开发的实用图书,全面介绍了Android 2.3平台上应用开发各方面的知识。如果你对JDK安装、Java基本语法还不熟,本书并不适合你。本书只用了一章来介绍如何搭建Android开发环境、Android应用结构,当然也简要说明了Android的发展历史。本书只是一本介绍Android实际开发的图书,这不是一本关于所谓“思想”的书,不要指望学习本书能提高你所谓的“Android思想”,所以奉劝那些希望提高编程思想的读者不要阅读本书。本书更不是一本看完之后可以“吹嘘、炫耀”的书。 认真看完本书、把书中所有示例都练习一遍,本书带给你的只是9个字:“看得懂、学得会、做得出”。本书不能让你认识一堆新名词,只会让你学会实际的Android应用开发。

2012-03-13

android bitmapApp

测试android activity的onLowMemory,onRestoreInstanceState等函数的测试app

2012-03-04

ANDROID_2.0游戏开发实战宝典

全书分为两篇, 共16章, 第1篇以简单易懂的实例为依托, 详细介绍了Android的前台渲染技术、常用界面布局、网络开发、SQLite数据库的存取、传感器应用的开发以及游戏中经常使用的人工智能等相关知识。第2篇详细介绍了7个真实的游戏案例, 涵盖了手机游戏中的7个不同种类, 包括体育类、益智类、滚屏动作类、棋牌类、3D物理传感器类、冒险类以及策略类游戏等。每一个游戏都是按照实际的开发步骤进行介绍, 并逐步地将Android手机游戏的整个开发过程展现在读者面前。同时在源代码中还包含了详细的注释, 以尽量帮助读者掌握代码中的每一个细节。

2012-02-27

android 可自定义大小和位置的Dialog

我实现了一个可自定义大小和位置的Dialog:CustDialog,其父类为AlertDialog

2012-02-23

3D数学基础:图形与游戏开发(英文版)

本书主要研究隐藏在3d几何世界背后的数学问题。3d数学是一门与计算几何相关的学科,计算几何则是研究怎样用数值方法解决几何问题的学科。3d数学和计算几何广泛应用在那些使用计算机来模拟3d世界的领域,如图形学、游戏、仿真、机器人技术、虚拟现实和动画等。    本书涵盖了理论知识和c++实现代码。理论部分解释3d中数学和几何之间的关系,列出的技巧与公式可以当做参考手册以方便查找。实现部分演示了怎样用代码来实现这些理论概念。编程示例语言使用的是c++,实际上,本书的理论知识能通过任何编程语言实现。    本书主要介绍了基本的3d数学概念,这对电脑游戏开发人员和编程人员来说尤为重要。作者详尽地讨论了数学理论,并在必要时提供几何说明,帮助读者形成直观的3d感。书中还提供了将理论应用于实践的c++类,并且在每章结尾处提供练习。    本书内容:    介绍了基础概念,如向量、坐标空间、矩阵、变换、欧拉角、齐次坐标空间、几何图元、相交性检测和三角网格。    讨论了3d中的方位,包括四元数和对不同表示技术之间的优劣比较。    描述了数学和几何的实际应用示例,提供了一些c++类和不同的矩阵类,每个类都完成特定的几何任务。所有基本变换矩阵的完整来历。

2012-01-19

Mobile 3D Graphics with OpenGL ES and M3G

Graphics and game developers must learn to program for mobility. This book will teach you how.   "This book - written by some of the key technical experts...provides a comprehensive but practical and easily understood introduction for any software engineer seeking to delight the consumer with rich 3D interactive experiences on their phone. Like the OpenGL ES and M3G standards it covers, this book is destined to become an enduring standard for many years to come."   - Lincoln Wallen, CTO, Electronic Arts, Mobile   This book is an escalator, which takes the field to new levels. This is especially true because the text ensures that the topic is easily accessible to everyone with some background in computer science...The foundations of this book are clear, and the authors are extremely knowledgeable about the subject.   - Tomas Akenine-Möller, bestselling author and Professor of Computer Science at Lund University   "This book is an excellent introduction to M3G. The authors are all experienced M3G users and developers, and they do a great job of conveying that experience, as well as plenty of practical advice that has been proven in the field."   - Sean Ellis, Consultant Graphics Engineer, ARM Ltd   The exploding popularity of mobile computing is undeniable. From cell phones to portable gaming systems, the global demand for multifunctional mobile devices is driving amazing hardware and software developments. 3D graphics are becoming an integral part of these ubiquitous devices, and as a result, Mobile 3D Graphics is arguably the most rapidly advancing area of the computer graphics discipline.   Mobile 3D Graphics is about writing real-time 3D graphics applications for mobile devices. The programming interfaces explained and demonstrated in this must-have reference enable dynamic 3D media on cell phones, GPS systems, portable gaming consoles and media players.   The text begins by providing thorough coverage of background essentials, then presents detailed hands-on examples, including extensive working code in both of the dominant mobile APIs, OpenGL ES and M3G.   C/C++ and Java Developers, graphic artists, students, and enthusiasts would do well to have a programmable mobile phone on hand to try out the techniques described in this book.   The authors, industry experts who helped to develop the OpenGL ES and M3G standards, distill their years of accumulated knowledge within these pages, offering their insights into everything from sound mobile design principles and constraints, to efficient rendering, mixing 2D and 3D, lighting, texture mapping, skinning and morphing.   Along the way, readers will benefit from the hundreds of included tips, tricks and caveats.   *Written by key industry experts who helped develop the standards of the field   *Hands-on code examples are presented throughout the book, and are also offered on the companion website   *Provides examples in the two most popular programing interfaces, OpenGL ES and M3G

2012-01-19

3D Computer Graphics

This introduction to 3D computer graphics emphasizes fundamentals and the mathematics underlying computer graphics, while also covering programming techniques using OpenGL, a platform-independent graphics programming environment. The minimal prerequisites make it suitable for self-study or for use as an advanced undergraduate or introductory graduate text as the author leads step-by-step from the basics of transformations to advanced topics such as animations and kinematics. Accompanying software, including source code for a ray tracing software package, is available freely from the book's web site.  

2012-01-19

OpenGL超级宝典.(第4版)_2

本书是OpenGL编程指南,涵盖了使用新版本的OpenGL进行编程所需要的主要知识。 全书分3个部分,共23章,另有3个附录。第一部介绍经典OpenGL绘图的所有基础知识,包括3D图形和OpenGL简介, OpenGL空间绘图,几何转换,颜色、材料和光照,纹理贴图,曲线和表面,管线,交互式图形等内容。第二部分是着重介绍OpenGL的一些高级功能。第三部分别介绍了不同操作系统平台上的OpenGL功能特性和编程细节。 本书适合于希望精通OpenGL以便对他们的图形编程和3D图形知识进行扩展的程序员,也可以帮助那些经验丰富的OpenGL程序员学习如何移植自己的应用程序。本书既可以作为学习OpenGL的教材,也可以作为随时查阅的参考手册。

2012-01-16

OpenGL超级宝典.(第4版)_1

本书是OpenGL编程指南,涵盖了使用新版本的OpenGL进行编程所需要的主要知识。 全书分3个部分,共23章,另有3个附录。第一部介绍经典OpenGL绘图的所有基础知识,包括3D图形和OpenGL简介, OpenGL空间绘图,几何转换,颜色、材料和光照,纹理贴图,曲线和表面,管线,交互式图形等内容。第二部分是着重介绍OpenGL的一些高级功能。第三部分别介绍了不同操作系统平台上的OpenGL功能特性和编程细节。 本书适合于希望精通OpenGL以便对他们的图形编程和3D图形知识进行扩展的程序员,也可以帮助那些经验丰富的OpenGL程序员学习如何移植自己的应用程序。本书既可以作为学习OpenGL的教材,也可以作为随时查阅的参考手册。

2012-01-16

java threads

Threads are essential to Java programming, but learning to use them effectively is a nontrivial task. This new edition of the classic Java Threads shows you how to take full advantage of Java's threading facilities and brings you up-to-date with the watershed changes in Java 2 Standard Edition version . It provides a thorough, step-by-step approach to threads programming. Java's threading system is simple relative to other threading systems. In earlier versions of Java, this simplicity came with tradeoffs: some of the advanced features in other threading systems were not available in Java. J2SE  changes all that: it provides a large number of new thread-related classes that make the task of writing multithreaded programs that much easier. You'll learn where to use threads to increase efficiency, how to use them effectively, and how to avoid common mistakes. This book discusses problems like deadlock, race conditions, and starvation in detail, helping you to write code without hidden bugs.

2011-10-23

Android应用开发详解

Android应用开发详解是一本Android应用开发书籍,既适合Android初学者,也适合具备了一定Android开发经验但需要开发案例的高级读者。 该书分为三个部分,共18章,由浅入深地详细介绍了Android的每个开发细节。 该书基础翔实,实例丰富,案例真实。从基础到案例覆盖了Android应用开发的三大领域:基础应用、网络应用和游戏应用。读者所需要学习的,正是该书描述的。 已经加标签

2011-10-23

Unlocking Android

Android is a free, open source, Java-based mobile platform developed by Google. Unlocking Android, Second Edition prepares the reader to embrace the Android mobile platform in easy-to-understand language and builds on this foundation with reusable Java code examples. It's ideal for corporate developers and hobbyists who have an interest, or a mandate, to deliver mobile software. Unlocking Android, Second Edition familiarizes the reader with the Android approach to mobile applications. The Android application framework is thoroughly explained and discussed within the current competitive landscape. Following the release of Android 2.0, this edition has been updated to cover hot topics such as Bluetooth integration, web development strategies, AppWidget framework, sensor management, the Android Native Development Kit, and localization.

2011-10-23

Beginning Android Games 2

本书将引导您通过为Android平台的几个例子游戏的过程中,涉及广泛的议题: *游戏开发的基础 * Android平台的基础,适用于那些在游戏中基本面 * 2D和3D游戏的设计和他们在Android平台上的成功实施 你将学到什么 *如何开发你的第一个Android应用程序的设置和使用的开发工具 *在Android平台中的游戏编程的基础 *如何使用Android的图形的API(画布的OpenGL ES 1.0/1.1),音频,和用户输入,以反映这些基本面 *如何从头开始开发两个2D游戏,在画布上和OpenGL ES。 *如何创建一个全功能的3D游戏 *如何发布您的游戏,崩溃报告,并支持用户 *如何完成你自己的可玩的2D OpenGL游戏

2011-08-25

Beginning Android Games 1

本书将引导您通过为Android平台的几个例子游戏的过程中,涉及广泛的议题: *游戏开发的基础 * Android平台的基础,适用于那些在游戏中基本面 * 2D和3D游戏的设计和他们在Android平台上的成功实施 你将学到什么 *如何开发你的第一个Android应用程序的设置和使用的开发工具 *在Android平台中的游戏编程的基础 *如何使用Android的图形的API(画布的OpenGL ES 1.0/1.1),音频,和用户输入,以反映这些基本面 *如何从头开始开发两个2D游戏,在画布上和OpenGL ES。 *如何创建一个全功能的3D游戏 *如何发布您的游戏,崩溃报告,并支持用户 *如何完成你自己的可玩的2D OpenGL游戏

2011-08-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除