1. Intent (intention)
Explicit intent: Call the Intent.setcomponent () or Intent.setclass () method to explicitly specify the component name,
explicitly specifies which component the intent should be passed to.
Implicit intent: Without explicitly specifying the component name, the Android system is based on the action (action) set in the implicit intent,
Category, data (URI and data type) to find the most appropriate component to handle.
2, Android TextView content Super long scrolling view
1. First XML file TextView configuration
<textview
Android:id= "@+id/tv"
Android:layout_width= "500DP"
android:layout_height= "Fill_parent"
android:layout_marginleft= "30DP"
android:layout_margintop= "30DP"
Android:layout_marginbottom= "20DP"
Android:textsize= "22SP"
Android:textcolor= "#000000"
android:scrollbars= "Vertical"
android:background= "#C0C0C0"/>
2. Then code settings
TV = (TextView) This.findviewbyid (r.id.tv);
Tv.setmovementmethod (Scrollingmovementmethod.getinstance ())
3. Server aidl+jni+ serial Port
Mark Memory:
Server aidl+jni+ serial Port
4. Android screen adaptation
Example: VALUES-MCC310-EN-SW320DP-W720DP-H720DP-LARGE-LONG-PORT-CAR-NIGHT-LDPI-NOTOUCH-KEYSEXPOSED-NOKEYS-NAVEXPOSED-NONAV-V7
Explanation: values-mcc310 (sim operator)-en (language)-SW320DP (minimum screen width)-w720dp (best screen width)-h720dp (screen-optimal height)-large (screen size)-long (screen-length-side mode)-Port ( Current screen display mode)-car (dock mode)-night (daytime or night)-ldpi (screen best dpi)-notouch (Touch screen mode)-keysexposed (keyboard type)-nokey (hard key type)-navexposed ( Whether the arrow keys are available)-nonav (arrow key type)-v7 (Android version)
Android Knowledge Collection