Project work written by Qt 37-Android comprehensive application example

1. Features

  1. It encapsulates common Qt Android components, and opens up the regular interaction mechanism with java.
  2. Dynamically switch between landscape and portrait and get the current landscape and portrait state.
  3. Support mobile phone vibration, make calls, and send text messages.
  4. Support mocktoast temporary messages, notify top taskbar messages.
  5. Supports the selection of files at the Android system layer, including album files, local pictures, local audio, local videos, local contacts, etc. The returned path is not the default uri but the correct path after conversion and parsing.
  6. It encapsulates Qt's file selection and save dialog box, and automatically adjusts the size and position of the pop-up box to moderate according to the horizontal and vertical screens.
  7. The unified and general reception of data signals sent from Android, such as the path after selecting the file, the completion of capturing pictures and other signal notifications, distinguish the types by type.
  8. Support to open the system photo program, and return to the original image captured after taking a photo, not a thumbnail.
  9. Provides an example of calling a jar file, calling a function in a jar package, and executing the return result.
  10. Provides camera examples, supports switching front and rear cameras, supports saving video files, can adjust focus, capture pictures, set image stretching strategy, set screen rotation angle, auto focus, etc.
  11. A video example is provided, which can play local audio and video files.
  12. Provides an example of parsing a QR code, enabling automatic snapshot recognition.
  13. Support full-screen display, and add functions such as startup, screen wake-up, and service process in the later stage.
  14. Support multiple cameras to display and record at the same time, such as 3 channels at the same time, provided that the system supports multiple cameras.
  15. Optional picture transmission module, the captured picture and QR code parsing result are sent to the server, providing an example of parsing of the image transmission server.
  16. The built-in examples of interaction with java are very rich, including calling methods of classes through instances, calling static methods directly, calling java internal classes directly, and transferring calls through Java classes.
  17. Demonstration interaction examples include private methods, public static methods, no parameters and no return value, parameters but no return value, no parameters and return value, parameters and return value, multiple parameters of different types, etc.

Second, the effect map

insert image description here
insert image description here
insert image description here
insert image description here

3. Experience address

  1. Experience address: https://pan.baidu.com/s/1ZxG-oyUKe286LPMPxOrO2A Extraction code: o05q File name: bin_android_demo.zip
  2. Domestic site: https://gitee.com/feiyangqingyun
  3. International site: https://github.com/feiyangqingyun
  4. Personal homepage: https://blog.csdn.net/feiyangqingyun
  5. Know the homepage: https://www.zhihu.com/people/feiyangqingyun/

Guess you like

Origin blog.csdn.net/feiyangqingyun/article/details/123940153
Recommended