When Android 2.3.7.r1 presses the menu key, the video is stopped. Press the menu key when you change the video to do not process it. The following modifications can be made:
In packages/apps/cameraopen/src/COM/mediatek/camera/videocamera. Java
In the onkeydown () method:
Modify
Case keyevent. keycode_menu:
If (mheadupdisplay! = NULL mglrootview! = NULL
! Malerts
When Android 2.3.7.r1 presses the menu key, the video is stopped. Press the menu key when you change the video to do not process it. The following modifications can be made:
In packages/apps/CameraOpen/src/com/mediatek/camera/VideoCamera. java
In the onKeyDown () method:
Modify
Copy codeThe Code is as follows: case KeyEvent. KEYCODE_MENU:
If (mHeadUpDisplay! = Nu
We all know that EditText and TextView are Android text input boxes and text display boxes, but based on the size of the phone screen, if you need to enter more text or display more content, the phone screen is far from enough, So the text box has a scroll bar function is necessary on the phone, to add a scroll bar, in fact, is very simple, just want to be in the text input
On the audio and video calls in the process of minimizing the implementation of this function, similar articles on the network, but it seems to have not seen the clearer explanation, here because the project needs to achieve such a function, today I recorded it down, on the one hand for later use to facilitate their own access, On the one hand also give people who need to provide a train of thought, let everyone less detours. Here I also refer to some
The role is in some video site sniffing to the video, and extract the download, the following image, video playback interface in the upper right corner will appear this sniffer icon.
Reminder: This feature Thunderbolt 7.9 and the Prestige version of the 2.0 on and did not add, so only the Thunderbolt 7.2 have.
"Use Method"
Arrows down the icon, you
box will disappear when you click a place outside the dialog box ".
In fact, the dialog in the Android system is non-modal by default. The above problem can be solved only when the dialog is set to modal. This method is also very simple, that is,. setcancelable (true); you can solve this problem by setting true to false.
Let's talk about the question "the dialo
When Android 2.3.7.r1 presses the menu key, the video is stopped. Press the menu key when you change the video to do not process it. The following modifications can be made:
In packages/apps/CameraOpen/src/com/mediatek/camera/VideoCamera. java
In the onKeyDown () method:
Modify
Case KeyEvent. KEYCODE_MENU:
If (mHeadUpDisplay! = Null mGLRootView! = Null
! MAlertS
Activities provides a convenient Dialog box mechanism for management, such as onCreateDialog (int), onPrepareDialog (int, Dialog), showDialog (int), and dismissDialog (int) if you use these methods, the Activity returns the dialog box managed by the Activity through the getOwnerActivity () method ).
OnCreateDialog (int): When you use this callback function, the Android
One, download the odd meter video box.
Second, double-click the installation file for installation, the installation process as follows:
Three, after installation completes double click
icon, open the odd meter video box, as shown below.
Four, search for t
1 We open the Hero Alliance box on the phone, and then click the "Find" button to open the entry after entering the box. (pictured below)
2 after we find the inside "Settings" button and then find the following "General" click it open to enter. (pictured below)
3 then after entering the interface we click on "Dynamic Micro video" and then find the followin
Create your own dialog box in the android dialog box (DIALOG)
Activities provides a dialog box mechanism for convenient management, suchOncreatedialog (INT),Onpreparedialog (INT, DIALOG),Showdialog (INT),Dismissdialog (INT) and other methods. If you use these methods, the activity willThe getowneractivity () method r
Android [Android] edition Air Video remote playback of computer videos
In Apple's iOS, there is an application of Air Video, which can remotely play videos in the computer on iOS through Wifi without copying the Video to the mobile phone. Very easy to use! I recently used m
RORO Android development video tutorial (Android getting started) first set Android system IntroductionHttp://android.itmdc.com/forum.php? MoD = viewthread tid = 8 extra = Page % 3d1
RORO Android development video tutorial (In
This article is from the "Nothing qq:934033381" blog, please be sure to keep this source http://tianxingzhe.blog.51cto.com/3390077/1708423Navigation layout and video pop-up box making
Margin1, when two elements are on the same row, the horizontal margin between them equals the sum of the margin-left of the left element's margin-right+ right element2, when two elements are up and down, the upper and lower margin between them equals the larger of the two elements up and down margin3, when two elements are inclusive, the margin between them is equal to each direction of the child element margin+ the padding of the parent element of the direction1 DOCTYPE HTML>2 HTMLLang= "en">3
Activities provides an easy to manage dialog box mechanism for creating, saving, and replying, such as Oncreatedialog (int), onpreparedialog (int, Dialog), ShowDialog (int), Methods such as DismissDialog (int), which, if used, will return the activity-Managed dialog box (dialog) through the Getowneractivity () method.
Oncreatedialog (int): When you use this callback function, the
group as a single sequence, so the operations of the check box are a little more complex than those of a single sequence, because you need to make an Event Response for each check box. The following is an example of a check box.
Android: Id = "@ + ID/swim"
Android: lay
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.