Android image rounded Corner Effect

Generally, you can use Java to add rounded corners to images, but you can also use pure XML + Nice-Patch images for faster processing. this method is recommended if the background is solid. The principle is to use frameLayout to add a hidden image

Gson parses complex Json data

Json is a data format that facilitates data transmission, storage, and exchange. Gson is a component library that converts java object data to json data format. We recommend a Json-coded Website: http://jsonlint.com/ I encountered a json error when

Routine non-Sleep detection for Android

Recently, I was debugging a mobile phone project on the android platform, and found that the mobile phone cannot enter the STANDBY state, resulting in high power consumption,1. Capture the kernel log in the STANDBY state of the system, that is,

Image cache-memory cache technology LruCache, soft reference

When we encounter some large images, if we do not process the images, an OOM exception will be reported,I was troubled by this problem and finally solved it,Now let me share it with you.This blog post will talk about the image cache mechanism. I

Development of factory test programs for Android mobile devices

The factory test tool I designed is a CS structure. There is a Server on the device side, and a Client on the PC side. The two perform the test through interaction.Communication Method Selection:1. stocket: because it is not based on ADB, you can

Adjust the display ratio of surfaceView videos

Recently, I started to make a video player because I am interested in it. SurfaceView in full screen mode is used to play the video, but some videos can be played well while others are stretched. The video seems to be squashed. I can see an example

Add gradient effect to ImageView

During development, we may add a gradient effect to an image, which can be achieved by adding a Filter to the ImageView.First, define a color array and add the following code to arrays. xml: #96eeeeee #86eeeeee #76eeeeee #56eeeeee #46

IOS development-use Segue to switch between StoryBoard

You can switch back and forth between viewcontrollers by using Segue. The following describes the switching method: 1. click the button to switch Directly, on the View attribute interface to be switched, click Modal and pull it to the previous view

Horizontal and vertical screen adjustment when using SurfaceView to play a video in Android

I personally like horizontal screen watching when watching videos, so that the video image is large, so the screen is displayed by default when I make my own player. In this way, there is no problem when playing the video recorded on the Landscape

Great truths, but good paths

Let me know, walk in the road, only Shi is afraid. The greatest truths are everywhere, while the greatest truths are everywhere. Chao Yu, Tian weiwu, Cang weixu; served literary talents, with Lijian, tired of eating, goods surplus; Is to boast of

Android extended series (9) -- Android video recording screenrecord command

A useful video recording function is integrated on Android4.4 Kitkat.Reference: http://forums.androidcentral.com/android-4-4-kitkat/329674-how-use-screen-recording-android-4-4-kitkat.html 1. NameScreenrecord 2. Instructions for use $ adb shell

Cocos2d3.0RC2 Android Compilation

Cocos2d was upgraded to 3.0RC2, and it seems much easier to compile Android. The implementation process is recorded here to prevent future forgetting. I. Preparations 1. ADT: Baidu: OK 2. NDK: Baidu is OK 3, ANT: http: // 124.254.47.39/download/55152

Cocos2d-x android cross compiling environment in win7

Cocos2d-x android cross compiling environment in win7 Cocos2d-x environment configuration in April 14, 2014 Previously configured Visual Studio + Python development environment, but has not talked about how to use the created Project in Android,

Unity3D Game Development 13 GUI

GUI plays an important role in game development. Whether the game GUI is friendly or convenient determines the player experience. Unity has a complete set of built-in GUI systems, providing a complete set of GUI solutions from layout, controls to

[049] WeChat public platform development video Open Class attacks

Public platform development video open classes are coming. Are you ready? At on the evening of October April 26, 2014, I will wait for you in the online training class of the CSDN community to bring you 90-minute exciting Video Courses + 30-minute

IOS-Runtime (Message Passing)

I. function call Overview Objective-C does not support multiple inheritance (same as Java and Smalltalk), while C ++ supports multiple inheritance. Objective-C is dynamic binding, and its class library is easier to operate than C ++. Objective-C

Cocos2d-x 3.0 red kids private required

Zookeeper Cocos2d-x 3.0 red kids private required Preface: Time flies. Every time I see replies on my blog and encouragement on my Weibo, I always feel that I owe something to everyone. It has been a long time to stop. I always think it is not

How to Use Android MediaStore to crop large images

According to the Translator's note: I spent a lot of time searching for documents on foreign websites during my work in foreign companies for more than half a year. Some of these articles are quite informative. I will translate them into Chinese,

Solution to black background during Android listview scrolling

ListView is a commonly used display control. The default background is the same transparent color as the system window. If a background image or background color is added to ListView, The listView will be black when scrolling, because, during

& Lt; Unity3D & gt; Four Coordinate Systems of Unity3D

Original article: Http://blog.csdn.net/zuoyamin/article/details/8813424 World Space (World coordinates): We add objects (such as cubes) in the scene. They are all displayed in the World coordinates. Transform. position can obtain the coordinates

Total Pages: 2774 1 .... 2162 2163 2164 2165 2166 .... 2774 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.