Cat Share, must boutiqueOriginal articles, welcome reprint. Reprint Please specify: Sanayu's BlogAddress: http://blog.csdn.net/u013357243?viewmode=contentsLook at the effect.For example, when Sina Weibo software was openedThat's itImplemented with launch imageIt's not hard, it's images.xcassets.Add a Launchimage file (right-click New launch image)Then put the material you need in the project Select the option is OK.Implemented with launch screenLaunch screen and Launch image implementation metho
whether the current program is pushed (foreground does not push, background push)-(void) Application: (UIApplication *) application didreceiveremotenotification: (nsdictionary *) userInfo{[Umessage Didreceiveremotenotification:userinfo];Customizing the Popup Boxif ([uiapplication sharedapplication].applicationstate = = uiapplicationstateactive) {//program is active, push not allowed[Umessage setautoalert:no];//close the Prompt box}else{//Allow push[Umessage Didreceiveremotenotification:userinfo
addition, we can also do some other things when displaying the start picture, for example: play a small piece of audio, to attract the user's attention.1. Click and open the "APPDELEGATE.M" file in the navigation area;2. Find1-(BOOL) Application: (UIApplication *) application didfinishlaunchingwithoptions: (Nsdictionary *) launchOptions2 {3 //Override point for customization after application launch.4 return yes;5}3. Add a sentence [nsthreadsleepfortimeinterval:5]; As shown below:1-(BOO
Situation: A set of code is compiled with JDK 1.6, and then the computer's java_home system variable with the jdk1.7, the Tomcat start times wrongThe JAVA_HOME environment variable is not defined correctly, Chinese meaning java_home definition is incorrect, go to system variables to see that the JDK 1.7, of course, is incorrect, So how do you specify a single java_home for this tomcat?
Method:Tomcat's JRE configuration, which was originallyChange to JDK path (i.e. remove JRE)
PS: In MyEclips
Error:could not create the Java Virtual machine.error:a Fatal exception have occurred,program would exit.The above error message appears as shown in:Then click OK to eject the following error messageWorkaround:1, determine whether the machine installed the Java environment. Specific methods online Search, here or give small white a portal: (set)Note Set your own environment variables: such as Java_home,classpath,path2, some programs will have memory settings, some programs memory settings too la
is non-blocking when the entropy pool is empty. Obviously, more than that, you can find a description from the StackOverflow link that explains why the JDK uses/dev/urandom, but it doesn't work. Random number generator, based on SHA1PRNG. And SHA1PRNG relies heavily on high-quality seeds, and if the seeds are not good enough, the results of random numbers can be predicted. So developers need to make sure that/dev/random is used as a source of entropy, even if the JVM is configured to use/dev/ur
use sudo specific command, instead of switching to the root account)sudo shutdown–r nowRestart command (root user): (R is reboot)1, reboot2,shutdown-r now restart3, Shutdown-r 10 over 10 minutes automatic restart4, Shutdown-r 20:35 restart at 20:35 timeIf you set the restart through the shutdown command, you can cancel the restart with the Shutdown-c command.Shutdown command (root user): (h is halt)1,shutdown-h now immediately shut down the machine2, shutdown-h 10 10 minutes after the automatic
Met too many times, every time can not remember, Hui delay 10 minutes to half an hour to solve this matter, must be written down.With VirtualBox installed Ubuntu or cloned already have a virtual machine, often is installed intact good, a restart desktop Nothing, is said that the Compiz process, not clear. In short, the solution is: CTRL+ALT+F1 into terminal mode, rm-f. config, rm-rf. cache, Rm-rf. gconf, sudo reboot, ok!!!This article from "Empty" blog, declined reprint!Ubuntu
First, in Path/usr/share/applications/, create eclipse.desktop (if not) "sudo touch/usr/share/applications/eclipse.desktop"Then, edit the contents of the file, "sudo gedit/usr/share/applications/eclipse.desktop"File contents:[Desktop Entry] Encoding=utf-8name=eclipsecomment=eclipse ideexec=/# #eclipse可执行程序路径 ##/eclipseicon=/# #eclipse的图标路径 ##/ Icon.xpmterminal=falsestartupnotify=truetype=applicationcategories=application;development;Similarly, the initiator creation process for other programs is
animation, preventing the event from blocking to the layer below.
High Imitation Millet launcher (zaker) Drag across screen item 02-29 latest update
Http://www.eoeandroid.com/thread-155299-1-1.html
Trigger long press event after floating principle:Windowparams = new Windowmanager.layoutparams ();windowparams.gravity = Gravity.top | Gravity.left;Windowparams.x = X-ITEMWIDTH/2;Windowparams.y = Y-ITEMHEIGHT/2;Windowparams.height = WindowManager.Layout
Tags: sources ext max Double-click Width Configuration Workspace ProjectAfter you add local tomcat to eclipse, Eclipse automatically copies a copy of Tomcat's configuration into Eclipse's workspace, and you can see the server project in the working directory under Project explore view. The conf of the local tomcat was previously modified, and no modification would work.1.Eclipse Project Launch, Tomcat there is no sufficient space to load cache (a red warning, that is, memory is not enough to rem
explain:
1. Screen pixel density is the only qualifier that has not been eliminated by conflict, and if the qualifier involved is screen pixel density, Android will choose the option closest to the device's screen density. Often Android tends to shrink large raw images rather than zooming in on small, original images.
2. What if a qualifier is not drawable? What else can I do, Crash!
The difference and
dangerous.
Signature
Signature level. The permission is granted only when the requested application uses the same signature as the Declaration permission. If the authentication matches, the system does not notify the user or automatically authorizes the user without explicit approval.
SignatureOrSystem
Signature or system level. The system only grants it to applications in the Android system image file (*. imgfile), or applica
. "android. Intent. Category. Home"
String launcher_category category: activity should be displayed in the top-level launcher "android. Intent. Category. launcher"
String preference_category category: activity is a set Panel (preference panel) "android. Intent. Category. Pre
degree;-P com. android. camera is a program specified for testing. // allowing start of intent {act = android. intent. action. main cat = [android. intent. category. launcher] CMP = com. android. camera /. camera} in package COM. androi
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.