(Ubuntu does not have this directory.In most Linux releases, the startup is/etc/rc. d/init. d (Ubuntu is/etc/init. d). These scripts are connected to/etc/rc. d/rcN. d by ln command (Ubuntu is/etc/rcN. d) Directory. (Here N is the running level 0-6)For example, the s10network under/etc/rc. d/rc2.d is connected to the network script under/etc/rc. d/init. d.Therefore, we can know that the files under rc2.d ar
the above example, we can conclude that if we have defined the layout files of the horizontal and vertical screens, the layout files with the same name in layout will not be loaded.
Next, let's talk about internationalization. Generally, to internationalization, we only need to redefine the values-country number in the Res/directory, such as values-ZH-RCN Simplified Chinese, values-ZH-RTW traditional Chinese, values-JP.
Shows the directory structure:
\ Plugins \ cai-nmgen-rcn (generate navmesh0000.zip) to the current directory and restart the unity3d editor. Then, perform the following steps: unity3d resource Explorer: Select (not menu): Assets-> Nav_build-> xinshoucun-> NavmeshBuild-> Build Bake. Select (not menu) in the unity3d resource browser after the generation is complete ): assets-> Nav_build-> xinshoucun-> CAIBakedNavmesh-> Save, put srv_xxx.navmesh on the server kbengine \ demo \ res \
Linux has 7 runlevels)Running level 0: The system is down. The default running level cannot be set to 0. Otherwise, the system cannot start normally.Running Level 1: single-user working status, root permission, used for system maintenance, remote login prohibitedRunning Level 2: multi-user status (no NFS)Running Level 3: full multi-user status (with NFS). log on to the console and go to the command line mode.Operation Level 4: The system is not used and retainedRunning Level 5: X11 console. log
" android:label ="@string/app_name"
We only need to overwrite the icon image of the corresponding name under drawable-* and modify strings under the values-* path. the attribute value corresponding to the name in XML is enough. For the sake of simplicity, the drawable-hdpi and values-ZH-RCN paths are introduced here.
Androidmanifest. XML parsing through the above introduction, we need to get the values of the icon and label attributes from
may be unity3d when the file is moved files are occupied caused. Check if Assets->streamingassets has content after execution. Generate the service-side pathfinding data: First ASSETS\PLUGINS\CAI-NMGEN-RCN (Generate Navmesh). zip to the current directory and restart the Unity3d editor, and then perform the following steps: unity3d Resource Explorer (non-menu) selected: assets->nav_build->xinshoucun->navmeshbuild-> Build Bake, wait for the build
This project is written to update the Kbengine plug-in library (Https://github.com/kbengine/kbengine_unity3d_plugins) as a client demonstration of the Kbengine server engine: * Using the git command line, Go to kbengine_unity3d_warring directory execution: git submodule update--init * or use Tortoisegit (select menu): Tortoisegit-Submod Ule Update: * can also manually update the Kbengine plugin git clonehttps://github.com/kbengine/ kbengine_unity3d_plugins.git Plugin source please place in:
K10oracle11 file. This file must be executed when the system shuts down. In fact, this file also points to/etc/init. d/oracle11. When it is disabled, the system sends a stop parameter to the file, and the stop branch in the oracle11 file is executed.I think you should understand the meaning of the numbers in # chkconfig: 2345 99 10: point out that the service is started at Level 2, 3, and 5, and 99 is in the corresponding/etc/rc. d/rcN. d (N is the l
/init. d/. These scripts can be run using the start and stop parameters, and some support restart. When the system starts the script, it does not directly find it in this path, but searches for/etc/rcN. d/(the level of N is 0-6 ). /Etc/rcN. d/contains the symbolic links to the startup script. They all start with S or K. When init is transitioned from low to high by running level, run the script with the sta
(except README) are the programs to be loaded at startup. If you want to add or delete some programs, it is not recommended to manually modify the/etc/rcN. d directory. It is best to use some special commands for Management (refer to here and here ).
Step 4. Load the Startup Program
As mentioned above, the seven preset "Running levels" each have a directory to store programs that need to be started. It is easy to think that if multiple "Running level
following points:
1. To manage a service, the service must be in/etc/init. d/directory, you can use chkconfig for management. Otherwise, the error "error reading information on service network: No such file or directory" may occur.
2. The file must have the execution permission.
3./etc/init. d/The service files in the Directory have something in common, that is, there is a line similar to # chkconfig: 2345 10 90, that is, the first line #! Like/bin/bash, it is necessary, not the comments we
1. Brief introductionWe know that using the. properties file in Java to configure resource files is generally used in Chinese message_zh_cn.properties and English Message_en_ Us.properties two configuration files, then implemented through a series of configurations, not detailed here, in Android is also internationalized, and more convenient, because Android itself takes the XML resource file to manage all the string messages, as long as the messages are provided in different languages, The coun
. No matter which running level, the service starts as long as the system starts.
Statement 3:/etc/rc. d/rc
Purpose: based on the previous article, determine the default running level to call the/etc/rc. d/rc Script, execute the service program in the directory of the corresponding running level, and complete the initialization settings for the corresponding running level.
Statement 4:/etc/rc. d/rc [0123456]. d // [/etc/rcN. d In Ubuntu]
Stores so
Because most of the company's products are sold abroad, so the leader requires the app has a language switch function. I searched the internet for some relevant knowledge and realized the function, here to do in the English switching demo record down.First look at the demo effect:650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/84/4F/wKiom1eMiBzhgdUqAB0BiAv51Ng877.gif "title=" Demo.gif "alt=" Wkiom1emibzhgduqab0biav51ng877.gif "/>This is the effect. Of course, can also be made in other
LinearLayout ). You can add subsequent layout objects or UI controls (such as TextView in the main. xml file) only after defining the root element ).It should be noted that for the UI control, its "android: layout_width" and "android: in higher versions, layout_height has three attribute values: "fill_parent", "match_parent", and "wrap_content. The "fill_parent" and "match_parent" attribute values are defined as "-1 ". The actual meaning is the same. The attribute value of "match_parent" has a
/directory.
Chkconfig-del
Delete a service under the/etc/init. d/Directory
Chkconfig [-- level
]
Set the status of a service at a certain level
The preceding command is relatively simple, but pay attention to the following points:
1. to manage a service, the service must be in/etc/init. d/directory, you can use chkconfig for management. Otherwise, the error "error reading information on service network: No such file or directory" may occur.
2. the file must have the ex
running level cannot be set to 6. Otherwise, the system cannot start normally.Running principle:1. There are many server script programs in the/etc/rc. d/init. d Directory, which are generally called services)2. Under/etc/rc. d, there are sevenDirectory, Corresponding to 7 running levels of the system3. RcN. the d directory contains some symbolic link files that all point to init. the service script file under the d Directory. the naming rule is K +
"Android: layout_width = "fill_parent"Android: layout_height = "fill_parent">Android: layout_width = "fill_parent"Android: layout_height = "wrap_content"Android: text = "@ string/port"/>Of course, the content we display is defined in the values/string. xml file. Here we add two values. The Code is as follows:View plaincopy to clipboardprint?Run the program again. The effect is as follows:Port effect:
Horizontal screen (land:
Through the above example, we can conclude that if we have defined th
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.