The previous period of time by the company's business development needs, exploratory into the field of Android development. Everything starts from scratch, Java basics, Java Advanced, Android framework learning, Eclipse familiarity, and eventually
#pragma mark-Converts a binary string to Uicolor-(uicolor *) Generatecolorobjectwithhex: (nsstring *) hexstring{unsigned int red = 0, green = 0, blue = 0;nsrange range = {0, 2};Range. location = 0;nsstring *redstring = [hexstring substringwithrange:
" original works, reproduced please indicate the source." ---Sun's prestige "(Article original Address http://blog.csdn.net/manoel/article/details/39036507)When creating complex layouts, it is sometimes found that a lot of viewgroup and view are
There are several ways to pass parameters commonly used in iOS development:
Using proxy mode
Using the iOS messaging mechanism
Storage via Nsdefault (or file, database storage, etc.)
Define global variables by appdelegate (or use
1.1. Install the JDK & Eclipse Android Development KitJdk:http://www.oracle.com/technetwork/java/javase/downloads/index.htmlIf you do not want to download and install the other old JDK, pull down to the end of the face and click DownloadADT Toolkit:
ScaleType PropertyArticle Source: http://blog.csdn.net/xilibi2003/article/details/6628668The ScaleType property is often used when using imageview, such as:1 android:layout_width= "50DP"2android:layout_height= "50DP" 3 Android:scaletype = "Matrix"
Hair now in the home with the Android app WebView Open the site is very slow, there will be more than 10 seconds or longer to get stuck.But it's very fast to open the same page on the computer.The process of finding this problem is more tortuous and
Used to use Baidu API in the software to do a Baidu map out of this feeling is both a waste of time and waste of energy, here to teach you directly using the intent way to call the Baidu Map client installed on the phone, access to the path we need
ImageView default is not for the collection of image resources, we need to be in the activity or fragment to recycle: Public Static voidreleaseimageviewresouce (ImageView ImageView) {if(ImageView = =NULL)return; Drawable
Recently, two Nagios were built, the first work was not recorded, and the time was simple to record the construction process.System version: CentOS 6.3 64-bitSoftware version:
In the previous article, which wrote Sax parsing XML, felt that the pull style was very similar to the SAX approach, except that Sax needed an auxiliary class that would write code in the callback method after the event was triggered, and pull would
Often hear around with Android friends complaining about mobile phone lag, memory is almost gone, and Google claims in 512M memory can also run Android 4.4 smoothly, what it did?To summarize, it has done four main things:1. Optimize the kernel and
, Android on the new line Cheng want to update the UI, need to jump to the main thread in order to operate, the following is the foreigner to give a few programs, we learn a lot.1 post a runnable subclass through the UI control:private void LoadIcon
1. In the ApplicationContext container, we use the common filesystemxmlapplicationcontext Implementation as an example to illustrate The design principle of the ApplicationContext container . 2. In Filesystemxmlapplicationcontext design, we see
Category:Iphone Programming2013-08-26 10:38 1851 people read comments (2) favorite reports Recently in a project, the project was formerly a website tailored for mobile browser. Now there is a need:When users use mobile browser to browse the
The time of common function triggering of navigation controllerwhen the view controller's View trigger when it will appear-(void) viewwillappear: ( BOOL ) Animatedwhen the view controller's View triggered when already present-(void) viewdidappear: (
Spring can also load a spring context configuration file in Dispatcherservlet by configuring Contextloaderlistener in Web. XML to load the context configuration file, so what's the difference between the two?When the context loaded in
Category:Iphone Programming2013-08-26 10:38 1851 people read comments (2) favorite reports Recently in a project, the project was formerly a website tailored for mobile browser. Now there is a need:When users use mobile browser to browse the
ext.: http://www.cnblogs.com/skynet/archive/2010/04/12/1709892.html--工欲善其事 its prerequisiteIntroductionThis series is suitable for 0 basic personnel, because I am starting from 0, this series record I step into the Android development of some
1.-webkit-tap-highlight-color:rgba (255,255,255,0) can simultaneously block the shadow that appears when clicking on an element under iOS and Android.Note: The transparent property value is not valid under Android. 2,-webkit-appearance:none can
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