BlackBerry screen shot utility - from a desktop computer

后端 未结 3 1885
生来不讨喜
生来不讨喜 2020-12-21 12:09

I am looking for a screen shot tool that I can use to capture screens from my BlackBerry Tourch 9850. I have tried using the included JavaLoader utility with my SDK but I r

3条回答
  •  清酒与你
    2020-12-21 12:44

    Try this way:

    1. Create an application that runs on device startup and listens for GlobalEvents (via GlobalEventListener implementation)
    2. Run this application in JDE or Eclipse and monitor what global events are fired when you press convenience keys on your blackberry device. Write event guids down and find out a guid that corresponds to a convenience key, when it is pressed.
    3. Modify the application created at step 1 to use Display class and invoke screenshot() method of this class when a convenience key is pressed.
    4. As screenshot has been created save it to the device filesystem via BlackBerry FileConnections API. After that you can copy these pictures to your desktop computer when device is connected via usb-cable.

    That's it. This application will allow you to solve your task. And may become an additional product for your company, if you add some settings to setup convenience key(s) and path to save created screenshots on device memory/media card.

提交回复
热议问题