Although it’s also possible to listen for volume key presses directly, dịch - Although it’s also possible to listen for volume key presses directly, Việt làm thế nào để nói

Although it’s also possible to list

Although it’s also possible to listen for volume key presses directly, this is gener¬ally considered poor practice. There are several ways a user can modify the audio volume, including the hardware buttons as well as software controls. Triggering volume changes manually based only on the hardware buttons is likely to make your application respond unexpectedly.
Responding to the Media Playback Controls
If your application plays audio and/or video in a way users would associate with a media player, it should respond predictably to media button presses.
Some devices, as well as attached or Bluetooth headsets, feature play, stop, pause, skip, and previ¬ous media playback keys. When users press these keys, the system broadcasts an Intent with the ACTION_MEDIA_BUTTON action. To receive this broadcast, you must have a Broadcast Receiver declared in your manifest that listens for this action, as shown in Listing 15-7.
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
Although it’s also possible to listen for volume key presses directly, this is gener¬ally considered poor practice. There are several ways a user can modify the audio volume, including the hardware buttons as well as software controls. Triggering volume changes manually based only on the hardware buttons is likely to make your application respond unexpectedly.Responding to the Media Playback ControlsIf your application plays audio and/or video in a way users would associate with a media player, it should respond predictably to media button presses.Some devices, as well as attached or Bluetooth headsets, feature play, stop, pause, skip, and previ¬ous media playback keys. When users press these keys, the system broadcasts an Intent with the ACTION_MEDIA_BUTTON action. To receive this broadcast, you must have a Broadcast Receiver declared in your manifest that listens for this action, as shown in Listing 15-7.
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
Mặc dù nó cũng có thể nghe cho máy ép phím âm lượng trực tiếp, điều này được coi gener¬ally thực hành kém. Có một số cách một người sử dụng có thể thay đổi âm lượng âm thanh, bao gồm các nút phần cứng cũng như phần mềm điều khiển. Kích hoạt thay đổi âm lượng bằng tay chỉ dựa trên các nút phần cứng có khả năng để làm cho phản ứng ứng dụng của bạn bất ngờ.
Hưởng ứng Media Playback Controls
Nếu ứng dụng của bạn chơi âm thanh và / hoặc video một cách người dùng sẽ kết hợp với một máy nghe nhạc phương tiện truyền thông, nó sẽ phản ứng dự đoán để nút phương tiện truyền thông máy ép.
Một số thiết bị, cũng như gắn liền hoặc tai nghe Bluetooth, tính năng chơi, dừng, tạm dừng, bỏ qua, và các phím media playback previ¬ous. Khi người dùng nhấn các phím này, hệ thống các chương trình phát sóng một Intent với hành động ACTION_MEDIA_BUTTON. Để nhận được phát sóng này, bạn phải có một nhận Broadcast kê khai trong biểu hiện của bạn là lắng nghe cho hành động này, như thể hiện trong Liệt kê 15-7.
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: