resolution ratio (horizontal and vertical pixels)
4:3
vga:640*480hvga:320*480qvga:320*2405:3wvga:800*48016:9FWVGA (Full wide): 854*480HD (HD) 1920*1080qhd:960*540720p:1280*720 SD1080p:1920*1080 HDDP: A proportional value representing the physical size and pixel density of the screenTwo:Android event handling mechanismusing the Java Event message processing mechanism1. Event 2. Event Source 3. Monitor 4. Event Handlingcategories of monitors:1. Own class as Event monitorPublic class Mainactivity extends Activity implements Onclicklistener { private EditText Et1;private Button bt1,bt2;@Overrideprotected void OnCreate (Bundle savedinstancestate) {super.oncreate (savedinstancestate);Setcontentview (r.layout.activity_main);bt1= (Button) Findviewbyid (R.ID.B1);bt2= (Button) Findviewbyid (R.ID.B2);et1= (EditText) Findviewbyid (R.ID.E1);//ctrl+1 is the shortcut key for strong turn//Set up a self-class monitorBT1. Setonclicklistener (this); @OverridePublic void OnClick (View v) {Toast.maketext (This, "you dialed this call up",Toast. ) Length_long). Show (); String Number=et.gettext (). toString (). Trim ();Intent intent=new Intent ();
intent.setaction (intent.action _call);
Intent.setdata (Uri.pase ("Tel:" +number);
startactivity (intent);} 2. External class as Event Monitor 3. Internal class as Event Monitor 4. Anonymous class as Event Monitor URI: Uniform Resource IdentifierURL: Uniform Resource Locator
Common resolution of mobile phone