Beginner Android Development, find some ADT tool optimization on the Internet, set it up and save it. Lest I forget it later.1. Set the background color:Hue , saturation, brightness 205 rgb:199, 237, 2042. Set the font for the codeTo set the font for Java file code:To set the font for the code in the XML file:3. Set auto-complete codeJust learned Android, there are many variables and methods are unfami
In a Mac OS X 10.10 Environment, Eclipse+adt, there is a problem when you perform a real-machine debug.The Device Chooser dialog box does not display the true machine, only the data cable can be reseated. Tested with two temporary solutionsThe first option is to keep the Deivce Chooser dialog box open, and then on the phone, the Debug debugging check box, Cancel, and then tick, you can appear the real machine device.The second scenario is better, you
(Android. policy_phone). Stop. Error.
Solution:
In row 89th of build/tools/findleaves. Sh,
Find "$ {@: 0: $ nargs}" $ findargs-type F-name "$ FILENAME"-print |
Change to find "$ {@: 1: $ nargs-1}" $ findargs-type F-name "$ FILENAME"-print |
2. Frameworks/base/tools/aidl/ast. cpp: 10: Error: 'fprintf' was not declaredIn this scope Error
Solution:
Download gcc-4.3 and G ++-4.3
Apt-Get install gcc-4.3 g ++-4.3
Because ubuntu 9.10 comes with GCC 4.4, You need to download GCC 4.3 again, and finally
When you reinstall IIS after it is uninstalled, the following message is displayed:
---------------------------Windows Installer---------------------------The installer cannot copy one or more files. The specific error code is 0xe0000233. Click "OK" to continue; or click "cancel" to stop the installation and try again. If you continue, the component may not ru
WIN7 Flagship system installer prompts error code 0x80070422 solution. When a program is installed in the WIN7 flagship system, a Windows Update Standalone installer prompts an error code 0x80070422, as shown in the following illustration:
Workaround:
1, press "Win+r" key, bring up the Run command, in the Run comma
Solution to the error code 0xc8000222 prompted by the Win7 system Installer
We need to install the program software after the win7 system is upgraded. Some errors are inevitable during the installation process. For example, if a Windows 7 system user fails to install the program and encounters the error code 0xc8000222, what should I do if I encounter such an er
Open source database MySQL source code and installer image site bitsCN.com
In order to download the source code of Mysql 4.0.26, but find a series of mirror sites, so sort it out by the way.
These images are searched by Google. if the following sites are invalid, you can try to search by entering the following content in Google:
Inurl: "mysql"/Downloads/
Inti
1. Part 1: Sample Code
This part is transferred from: http://blog.csdn.net/hhygcy/archive/2009/05/04/4147870.aspx
Recently, many people have been asked about this item, which may be used for dynamic software upgrades. Here we will record it.
There are two methods. One is to run the corresponding cab file directly through shellexecuteex. One is to call CreateProcess and use wceload to call this cab. You can use either method. The following
When debugging code for Mac OS X 10.10, Eclipse + ADT real machine, the Device Chooser does not display the real machine solution, adtchooser
In Mac OS X 10.10 environments, Eclipse + ADT may cause a problem when debugging a real machine.
The Device Chooser dialog box does not display the real Device. You can only re-unplug the data line. Two temporary solution
Linux from the source code installer 1. First, copy the installation file to your directory. For example, if you log on as root, copy the software to/root. # Cp xxx.tar.gz/root www.2cto.com 2. Because the file is compressed and packaged, decompress it. Command: # tar xvzf filename.tar.gz if it is in the filename.tar.bz2 format, it should be tar jxvf filename.tar.bz2 to decompress 3. After executing this com
Win7 System Installer prompts error code 80070003 what to do?
Note: Be sure to log in with the administrator account before you need to turn on the firewall.
1, click the Start menu, and then click "Control Panel";
2, in the Control Panel will view the way to "large icon", and then click "Windows Firewall";
3, click on the left side of the firewall window "turn on or off Windows Firewall"
Win7 System Installer prompts error code 0xc8000222 what to do?
Workaround:
1, click "Start"-> "All Programs"-> "command Prompt" to run as an administrator, and then enter: net stop wuauserv this command carriage return (note: This must be run as an administrator or you will be prompted to "cause system error 5" and cannot be performed as shown in the following illustration) ;
2, while holding d
Win7 System Installer prompts error code 0x80070422 what to do?
The specific solution is as follows:
1, press "Win+r" key, bring up the Run command, in the Run command Window input "Services.msc", enter; open the Services window;
2, find "Windows Update" to see if the status has been started;
If you do not start the Windows Update Service normally, double-click Windows Update,
Source not foundThe JAR of this-class file belongs to Container ' Android Private Libraries ' which does isn't allow modifications to source a Ttachments on its entries.Quoted Netty-all-4.1.0.cr3.jar, the usual development time want to see the code, can not click to view, can only be cut past, the source of search, very inconvenient.Check the online information, pro-test effective1: The referenced jar is Netty-all-4.1.0.cr3.jar and placed under the Li
considered for migration.The only uncertainty is whether Android studio can I really focus on the IDE and update the version in a timely manner. Fortunately IntelliJ idea will be in the future for a long time, continuous updating. Give people more confidence. Although Eclipse is frequently updated, but in stability, subject to its cross-platform above all ideas, after many years of renewal, still no fundamental solution. Whether it can continue to attract people depends on its direction. Person
Android4.4 on the Launcher3 Source: http://download.csdn.net/detail/deng0zhaotai/8281391Modified Android4.4 Launcher3 code that can be debugged on eclipse: http://download.csdn.net/detail/deng0zhaotai/8284961You can download two projects to compare and know where to change the place1. Deletion of two files Src/com/android/launcher3/launcherbackupagenthelper.java, src/com/android/launcher3/ Launcherbackuphelper.java is due to the lack of com.google pac
Linux from the source code Installer 1. first, copy the installation file to your Directory. For example, if you log on as root, copy the software to/root. Export cpxxx.tar.gz/rootwww.2cto. com2. because the file is compressed and packaged, decompress it... linux from the source code Installer 1. first, copy the instal
1, the following directly to the demo, specific instructions to see code comments:public class Mainactivity extends Activity {@Override protected void onCreate (Bundle savedinstancestate) {s Uper.oncreate (savedinstancestate); Setcontentview (R.layout.activity_main); public void installapk (View v) {String path=environment.getexternalstoragedirectory (). toString (); File File=new file (path, "phone.apk");
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.