If you re-build the android environment, there should be no problem.
If you update the eclipse plug-in and update the original adb tool, you will encounter an issue where the android 4.0 created first cannot be started.
Delete the.
For Android real machine debugging in Mac, the solution for connecting devices is not available. When connecting a USB host to a MAC, the easyher her application may be installed on MAC when the device is not listed. solution: Disable sudo
FireFox for Android platforms has been officially confirmed to be in progress and cannot obtain accurate release time yet. I am a completely subjective supporter of FireFox, and it does not mean that it is the best browser today, at least it is more
Recently, foreign media have exposed a high-risk system vulnerability in Android phones: by visiting malicious websites, all user data on Android phones may be intentionally cleared. In response to this problem, on August 15, September 29, Beijing
1. Carefully select the package name
Package Name)It is equivalent to the name of an application registered in the account book. It is a field used by the system to differentiate different applications. Duplicate package names are considered to be
Android Studio 0.2.1 was released, including the following improvements:
Gradle IDE integration improvement, new Gradle compiler settings page
Avoid Conflicts, hide the compiler options on the top-level settings page, and use the new
For example, most of the images displayed in the System Image Library are taken by mobile phone cameras. The resolution of these images is much higher than that of our mobile phone screen. We should know that all the applications we write have
In android, there are three classes available: Surface, SurfaceView, and SurfaceHolder.
Surface class: each Surface corresponds to a separate video buffer in the system. The Surface is a description of the buffer. You can use the method
Implementation of Frame Animation:
Defined in an XML file, such as res/anim/anim_example.xml:
Android: oneshot = "false">
Code:
ImageView someView = (ImageView) findViewById (R. id. some_view );
SomeView. setBackgroundResource (R.
Note: surfaceview does have the onDraw method, but surfaceview will not be called by itself !!!
The ondraw or draw in my code is a method defined by myself... Keep calling in the thread. Be sure to pay attention to it !!
In the previous article,
In File Reading and network data processing, the format conversion between Byte and String is often performed.
Byte [] Byte Transfer to String object:
Fin = mContext. openFileInput ("helloworld.txt ");
Int size = fin. available ();
During Android Application Development, the layout code of the control on the screen is usually separated from the logic code of the program. The layout code of the interface is stored in an independent xml file, which is organized in a tree and
The Android custom control style is in the XML file in the drawable folder. In the layout file, you can set the control's background attribute to achieve the effect. I. Common states of controls: selector nodes are used in XML files. selector can be
Android shortcuts are simple, that is, sending a system broadcast and setting Intent --- package com. xikang. android. slimcoach. utils;/*** @ author huiych * Create a shortcut * @ created 2013-02-21 **/import android. content. intent; import
I. Android coding specification 1. java code does not contain Chinese characters. A maximum of 2 Chinese characters can appear in comments. local variable naming, static member variable naming can only contain letters, the first outer letter of a
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