自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(166)
  • 资源 (16)
  • 收藏
  • 关注

翻译 android-Animating Views Using Scenes and Transitions

Android includes the transitions framework, which enables you to easily animate changes between two view hierarchies. Note: For Android versions earlier than 4.4.2 (API level 19) but greater tha

2015-12-31 13:55:01 539

翻译 android-Displaying Graphics with OpenGL ES

The OpenGL ES APIs provided by the Android framework offers a set of tools for displaying high-end, animated graphics that are limited only by your imagination and can also benefit from the accelera

2015-12-31 10:35:43 1014

翻译 Android-Displaying Bitmaps Efficiently

Learn how to use common techniques to process and loadBitmap objects in a way that keeps your user interface (UI) components responsive and avoids exceeding your application memory limit.There

2015-12-30 20:45:45 658

转载 简单的WebView自适应并嵌套在ScrollView里

转载地址:http://blog.csdn.net/janronehoo/article/details/45100447http://solo.farbox.com/blog/simple-webview-adaptiveWebView in ScrollView我们都知道ScrollView和WebView都有滚动的效果,所以我们需要先屏蔽WebView的滚动事

2015-12-30 18:35:04 1329

翻译 android-Printing Content

In Android 4.4 (API level 19) and higher, the framework provides services for printing images and documents directly from Android applications. This training describes how to enable printing in your

2015-12-30 16:09:08 693

翻译 android-Capturing Photos

》Using the on-board cameras, your application can enable users to augment what they see around them, make unique avatars, look for zombies around the corner, or simply share their experiences.

2015-12-30 15:01:28 599

翻译 android-Managing Audio Playback

To ensure a great user experience, it’s also important that your app manages the audio focus to ensure multiple apps aren’t playing audio at the same time.Controlling Your App’s Volume and Pla

2015-12-30 14:00:55 742

翻译 android-sharing files with NFC

> Android allows you to transfer large files between devices using the Android Beam file transfer feature.This feature has a simple API and allows users to start the transfer process by simply touch

2015-12-30 12:32:35 765

翻译 android-share file

> In all cases, the only secure way to offer a file from your app to another app is to send the receiving app thefile's content URI and grant temporary access permissions to that URI. If you want

2015-12-30 12:04:00 895

翻译 android-share simple data

Sending and receiving data between applications with intents is most commonly used for social sharing of content. Intents allow users to share information quickly and easily, using their favorite ap

2015-12-30 11:10:11 736

翻译 android-Permissions Best Practices

If the user is running Android 6.0 (API level 23) or later, every time the user tries some new app feature that requires a permission, the app has to interrupt the user's work with a permission requ

2015-12-30 09:55:49 467

翻译 android-Working with System Permissions

> To protect the system's integrity and the user's privacy, Android runs each app in a limited access sandbox.Depending on the type of permission the app requests, the system may grant the permissio

2015-12-29 21:36:05 542

翻译 android-Allowing Other Apps to Start Your Activity(App之间进行交互)

To allow other apps to start your activity, you need to add an element in your manifest file for the corresponding  element.The system may send a given Intent to an activity if that activity h

2015-12-29 20:05:04 592

翻译 android-Interacting with Other Apps

>To take the user from one activity to another, your app must use an Intent to define your app's "intent" to do something. When you pass an Intent to the system with a method such as startActivity(), 

2015-12-29 20:02:30 558

翻译 android-Saving Data

>  Saving Key-Value SetsLearn to use a shared preferences file for storing small amounts of information in key-value pairs.   Saving FilesLearn to save a basic file, such as to store long sequen

2015-12-29 19:58:03 618

转载 Json串的单引号和双引号问题

》 今天遇到双引号和单引号的问题:json就是一段有格式的字符串,如果数据的封装与解析都是我们自己做的时候,单引号和双引号是没啥关系的,但是如果用到一些别的json相关的库的时候,或者像笔者这样是发给别人用的时候,这个就特别需要注意了!所以应该养成良好的习惯,用json的时候请用双引号吧!》 正确的JSON是这样的:属性名必须用双引号包裹  var json = '{"name

2015-12-29 19:56:17 45636 6

翻译 android-Building a Dynamic UI with Fragments

You can create these modules with the Fragment class, which behaves somewhat like a nested activity that can define its own layout and manage its own lifecycle.This class shows you how to create a

2015-12-28 20:38:30 461

翻译 android-Recreating an Activity

when the user presses the Back button or your activity signals its own destruction by calling finish(). The system may also destroy your activity if it's currently stopped and hasn't been used in

2015-12-28 19:46:03 482

转载 Android5.0下毛玻璃(磨砂)效果实现,图片高斯模糊blur

技术调研,可以给一些优缺点的对比.,目前主流实现毛玻璃效果(高斯模糊)分大致三种方法: 1.利用RenderScript接口利用现有Android结构,通过RenderScript调用底层接口实现高斯模糊计算.// Remix Blurprivate void blur(Bitmap bkg, View view) { … RenderScript rs = Render...

2015-12-28 18:00:36 2972

原创 android进阶-题目总结(进行中)

16)自定义动画玩过吗,里面的Matrix怎么控制。res里面的XML资源最终都要转化成JavaCode,怎么完全脱离   res,用纯代码的方式实现res资源的功能,怎么缩放一张点九图;> Matrix类:Translate—平移变换;Scale—缩放变换;Rotate—旋转变换;Skew————错切变换Matrix提供了一些方法来控制图片变换:setTranslate(float

2015-12-28 17:56:00 861

转载 android-Google Support Library及Android源码 兼容包下载

》Android一些SDK比较分裂,为此google官方提供了Android Support Library package 系列的包来保证高版本sdk开发的向下兼容性, 所以你可能经常看到v4,v7,v13等这些数字。support-v4用在API lever 4(即Android 1.6)或者更高版本之上。它包含了相对更多的内容,而且用的更为广泛,例如:Fragment

2015-12-28 15:03:58 2445

原创 android-判断当前Fragment是否可见(Visible)

判断当前Fragment是否可见public abstract class BaseFragment extends Fragment {         /** Fragment当前状态是否可见 */    protected boolean isVisible;         @Override    public void setUserVisibleHin

2015-12-28 14:48:12 11094

翻译 Activity Lifecycle-Stopping and Restarting an Activity

There are a few of key scenarios in which your activity is stopped and restarted:The user opens the Recent Apps window and switches from your app to another app. The activity in your app that's cu

2015-12-28 13:54:12 483

翻译 android-Managing the Activity Lifecycle

Within the lifecycle callback methods, you can declare how your activity behaves when the user leaves and re-enters the activity. There is a sequence of callback methods that start up an activity an

2015-12-28 09:34:20 456

翻译 android-Supporting Different Devices

Some of the important variations that you should consider include different languages, screen sizes, and versions of the Android platform.> Supporting Different LanguagesLearn how to support m

2015-12-27 21:16:59 386

翻译 android-UI design(first app)

The graphical user interface for an Android app is built using a hierarchy of View and ViewGroup objects. View objects are usually UI widgets such as buttons or text fields. ViewGroupobjects are

2015-12-27 20:11:07 633

原创 Android Tag-start Training

学习了下Guide,开始看看Training。打个Tag,也有顺序与记录。

2015-12-27 19:59:17 393

翻译 androi-Verifying App Behavior on the Android Runtime (ART)

With Android 4.4, we are beginning to roll out a new Android runtime, ART. This runtime offers a number of new features that improve performance and smoothness of the Android platform and apps.At

2015-12-26 03:13:51 750

翻译 android-Supporting Tablets and Handsets

Typically, all you need to do is design your UI to be flexible and optimize some elements for different sizes by providingalternative resources (such as alternative layouts that reposition some view

2015-12-26 02:14:00 640

翻译 android-Screen Compatibility Mode

>Notice: If you've developed an application for a version of Android lower than Android 3.0, but it does resize properly for larger screens such as tablets, you should disable screen compatibility m

2015-12-26 01:51:06 709

翻译 android-Distributing to Specific Screens

Although we recommend that you design your application to function properly on multiple configurations of screen size and density, you can instead choose to limit the distribution of your applicatio

2015-12-26 01:15:49 365

翻译 Supporting Multiple Screens

Android runs on a variety of devices that offer different screen sizes and densities. For applications, the Android system provides a consistent development environment across devices and handles mo

2015-12-25 22:52:32 335

转载 App权限问题

》AppOps默认给用户提供了两个设置选项:允许该项权限 / 禁止该项权限。其实代码逻辑里,有三种可选项:允许 / 禁止 /提示用户选择“提示”选项,则该app在执行这一操作时,系统会给用户相应的提示,待用户选择后app继续执行。AppOps总体概览 核心服务:  AppOpsService系统服务,系统启动时该服务会启动运行

2015-12-25 18:11:21 1222

转载 ViewPager+Fragment取消预加载(延迟加载)

在项目中,都或多或少地使用的Tab布局,所以大都会用到ViewPager+Fragment,但是Fragment有个不好或者太好的地方。例如你在ViewPager中添加了三个Fragment,当加载ViewPager中第一个Fragment时,它会默认帮你预先加载了第二个Fragment,当你加载第二个Fragment时,它会帮你加载第三个Fragment。这样虽然有时很好,但是用户只需看一个Fr

2015-12-25 16:00:16 745

转载 Java.lang.IllegalStateException Activity has been destroyed(Fragment+ViewPage)

03-04 12:01:05.468: E/AndroidRuntime(2474): FATAL EXCEPTION: mainjava.lang.IllegalStateException: Activity has been destroyed     at android.app.FragmentManagerImpl.enqueueAction(FragmentManager.j

2015-12-25 15:56:57 2545

翻译 android-Copy and Paste(text and input)

Android provides a powerful clipboard-based framework for copying and pasting. It supports both simple and complex data types, including text strings, complex data structures, text and binary stream d

2015-12-25 09:55:45 1341

翻译 android-app Administration and Device Administration

If you are an enterprise administrator, you can take advantage of APIs and system capabilities to manage Android devices and control access.Android 2.2 introduces support for enterprise applications

2015-12-24 23:01:27 726

翻译 Android-Spelling Checker Framework

The Android platform offers a spelling checker framework that lets you implement and access spell checking in your application. The framework is one of the Text Service APIs offered by the Android p

2015-12-24 22:48:23 613

翻译 Android-Creating an Input Method(IME)

An input method editor (IME) is a user control that enables users to enter text. Android provides an extensible input-method framework that allows applications to provide users alternative input met

2015-12-24 21:44:37 716

转载 android 滑动事件冲突解决 Touch事件处理机制

要不要拦截当前的按键以及触摸事件??android中的事件类型分为按键事件和屏幕触摸事件,Touch事件是屏幕触摸事件的基础事件,有必要对它进行深入的了解。 一个最简单的屏幕触摸动作触发了一系列Touch事件:ACTION_DOWN->ACTION_MOVE->ACTION_MOVE->ACTION_MOVE...->ACTION_MOVE->ACTION_UP当屏幕中包含一个View

2015-12-24 15:35:46 871

2020淘系技术年货 技术人的百宝黑皮书.zip

2020淘系技术年货 技术人的百宝黑皮书

2021-03-01

HttpClient _legacy.jar

HttpClient Jar包,Android9.0引入HttpClient ,useLibrary 'org.apache.http.legacy'

2021-02-24

打包的keystore备份

打包的keystore备份,不用每次都去生成;keystore文件和密钥

2018-06-14

JNI规范中文版

JNI规范中文版,学习JNI/NDK编译的同时,学习下JNI规范

2018-06-06

jni规范英文文档

jni规范英文文档,学习JNI/NDK编译的同时,学习下JNI规范

2018-06-06

FFmpeg_v3.4已编译好的so包

FFmpeg_v3.4已编译好的so包,拿出so包可以进行视频编解码 转码等

2018-05-25

NetEase QA Emmagee

NetEase QA Emmagee,Android performance test tool-CPU,memory,network traffic,starting time,battery current and status。需要Root手机

2018-05-03

Android字体

Android各种字体,字体样式

2018-04-10

图片压缩LuBan

图片压缩LuBan

2017-05-26

设计模式代码

设计模式代码

2017-05-25

算法和数据结构代码

算法和数据结构代码

2017-05-25

ScrollView嵌套Recyclerview

ScrollView嵌套Recyclerview

2016-12-07

Hash MD5 DES AES RSA加解密实例

Hash MD5 DES AES RSA加解密实例

2016-11-19

httpClient/httpmime_4.2.2.jar

httpClient4.2.2 httpmime4.2.2的jar包

2016-08-14

移动端MVC-MVP架构简单示例

移动端MVC-MVP架构简单示例-Android

2016-06-05

高性能服务器架构设计和调优

高性能服务器架构设计和调优

2016-05-28

空空如也

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

TA关注的人

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