You may encounter problems with people who build an Android development environment for the Linux platform, as follows:64-bit Linux installation 64-bit eclipse and 64-bit JDK after opening eclipse error "" Cannot run Program "/HOME/UV/IDE/ADT/SDK/PLATFORM-TOOLS/ADB": error=2 , No such file or directory ", this is because ANDROID-SDK ADB only has a 32-bit version number, so you have to install 32 bit to compile software.The workaround:For the Debian de
How to debug bundle during development has always been a problem. Today, let's look at how eclipse solves this problem.
I usedEclipse javaee indigo 3.7.2Version.
Step 1: Enable eclipse and addPlug-inProject.
Step 2: Enter the project nameHelloworldbundleNote that you must select the running mode of the plug-in here.An osgi framework.
Step 3: Enter the metadata information related to the b
In Android development, we often need to pass data between two activity, the most common is used intent.putXXX() , but many times we will do so:Bundle bundle = new Bundle();bundle.putXXX()...These two kinds of values are similar, look at the intent.putXXX() method source code today, and find this: /** * ADD Extended data to the intent. The name must include a package * prefix, for example the app com.and
First, briefBundle, the English intention is to bundle, collect, wrapping. The bundle technique in MVC, which is a bundled compression technique for CSS and JS files.It's useful:Bundle multiple requests into one request, reducing the number of server requestsCompress javascript,css and other resource files, reduce network bandwidth and improve performanceUsing the bundl
Welcome to Unity Learning, unity training, Unity Enterprise training and education zone, there are many u3d resources, u3d training videos, u3d tutorials, U3d Frequently asked questions, U3d Project source code, we are committed to creating the industry Unity3d training, learning the first brand.The format of the Unity3d Asset bundle is not disclosed. But in order to make a better difference update, we still want to know its packaging format. This mak
Now we are advocating agile development, rapid development, but the speed of demand, but also to ensure quality! Front-end I was no way, after all, is directly to the user-oriented, but backstage, the solution that is more, such as Extjs,bootstrap,kendoui, can be solved. But the use of these third-party things, our backstage is beautiful, the effect is also dazzling, the new problem is coming, a lot of reference JS, CSS.This is my use of bootstrap, Kendoui a standard background, the code is very
Configure ADT in myeclipse 9.1 (configure the android development environment in link mode)
Android SDK Installation
Android SDK 4.0.3 Development Environment configuration and running
Installing ADT in eclipse is simple. You can directly decompress the downloaded ADT file and overwrite the features and plugins directories in the eclipse directory. myeclipse c
Abends:
Cannot complete the install because one or more required items cocould not be found.
Software being installed: Android development tools 11.0.0.v201105251008-128486 (COM. Android. Ide. Eclipse. ADT. feature. Group 11.0.0.v201105251008-128486)
Missing requirement: Android development tools 11.0.0.v201105251008-128486 (COM. android. IDE. eclipse. ADT. feature. group 11.0.0.v201105251008-128486) requi
(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
What is ADT?
Eclipse plug-in-ADT, ADT (Android developer tool) ADT is a plug-in installed on Eclipse, used to connect eclipse and adnroid SDK
Install ADT online
Open eclipse, open "Help-> install new software", and enter http://dl-ssl.google.com/android/eclipsein "locatio
DT is the Eclipse plug-in used for Android development. The key to ADT's normal use on Eclipse is that their versions must be compatible. Therefore, it is recommended to install the ADT plug-in online. It will automatically find the appropriate version based on the eclipse version.
1. Install the ADT plug-in online
Start eclipse. For eclipse3.5 or eclipse3.6, select "help"> "install new software... ", i
Message transmission between activities. Bundle is a convenient method.ProgramThe effect is that activity a redirects to B and sends a string while Activity B reads the string.Define a new activity in androidmanifest. XML, target:
XML Code Package = "com. Ray. test"Android: versioncode = "1"Android: versionname = "1.0" type = "codeph" text = "/codeph">Android: Label = "@ string/app_name">
Package = "com. Ray. test"Android: versioncode = "1"Android: v
The activity contains a method named oncreate. This method is called by the system when the activity is created. It is the beginning of the lifecycle of an activity. However, it is easy to ignore that the parameter saveinsancestate of the oncreate method. This parameter is rarely used in general program development.The complete oncreate method is defined as follows:Public void oncreate (bundle saveinsancestate ){Super. oncreate (saveinsancestate );}
when multiple files are merged into one final executable file, it is equivalent to running multiple files before the merge. This Program is often used in Trojan program merging. Do you want to know how it is implemented by a program? The following is an example of Code of a file bundle I used vc6.0 to tell you that the interface after running the program is as follows: Figure 1 basic components: in fact, the components are very simple. Create
In Android development, you sometimes need to pass objects between applications or between processes, and here's a detailed description of how intent uses bundle to pass objects.
The object being passed needs to be serialized first, and there are two ways to serialize the object: Java.io.Serializable and Android.os.Parcelable
Serializable is used in Java, and Google uses a custom parcelable on Android.
The difference between the two serialization m
In ASP.net MVC 4, you can bundle multiple CSS and JS files to reduce HTTP requests and compress (shrink) CSS and JS files to increase the speed of your site's loading. Let's take a look at the CSS file in the blog park, and before ASP.net MVC 4, we introduced the CSS method as follows:
Copy Code code as follows:
Use F12 in IE to view the results, as shown in the figure:
In ASP.net MVC 4, use the following notation to introdu
before releasing, enter my photos. gif (excluding quotes).Figure ThreeFigure FourFigure FiveThis will open my photo before decompression. gif this file, resulting in a friend of the document to judge the illusion that it is a picture file, and after the release will automatically run Trojan horse (that is, Server.exe). In the Mode tab, in silent mode, select Hide all, overwrite by "Select Overwrite all Files", "Custom SFX icon" in the "Text and Icon" tab, load the ICO file of the picture file y
the role of the 1.Bundle class The bundle class is used as the carrying data, which resembles a map for storing values in the form of a Key-value name value pair. Compared to map, it provides a variety of common types of putxxx ()/getxxx () methods, such as: Putstring ()/getstring () and Putint ()/getint (), putxxx () for placing data into bundle objects, The Get
1. Using BundlesThe activity, service, and receiver in Android support the delivery of bundle data in Intent, and the bundle implements the Parcelable interface, which can be conveniently transferred between different processes. When we start the Activity, Service, and Receiver of another process in one process, we can attach to the Bundle the information that ne
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.