For a long time not on the blog park, share some personal source code, there should be some places worth learning for beginners, such as some business processing skills, code FIRST,JSONP data interaction, cache use, program design, and some of the common library classes can be directly used.Online Demo: Http://www.wdingdang.com/helper/index (the user manual is equivalent to the function description, I will not copy here)(Non-promotional advertising, has abandoned the promotion of operations, now
Public void onCreate(Bundle savedinstancestate) {
Super . OnCreate(savedinstancestate);
setcontentview r layout . Main ;
TextView textview= ( textview) findviewbyid ( r. id . text )
textview settext ( "Product Model:" + android Os build . Model+ ","
+ android Os build . version . Sdk+ ","
+ Android. Os. Build . VERSION . RELEASE );
}Android gets the model and system version of the
For mobile phones, pad, whether it is a horizontal screen, or vertical screen, the default origin is in the upper left corner of the screen, and then down, right is the positive direction. Look at the pictureBelow, depending on the instance-(void) viewdidload { [super Viewdidload]; // additional setup after loading the view, typically from a nib. Self.view.backgroundColor = [Uicolor whitecolor]; *view = [[UIView alloc] Initwithframe:cgrectmake (00)]; = [Uicolor redcolor]; [S
Environment: Ubuntu13.04 64-bit system, has installed JDK1.7.0U25,/usr/local/adt/adt-bundle-linux-x86_64-20130717
Problem: adb devices cannot display any devices.
Solution:
1. view the usb device. Command: lsusb
The result is as follows:
Lee @ asus:/usr/local/adt/adt-bundle-linux-x86_64-20130717/sdk/platform-tools $ lsusbBus 001 Device 002: ID 8087: 0024 Intel Corp. Integrated Rate Matching HubBus 002 Device 002: ID 8087: 0024 Intel Corp. Integrated R
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.