rim-4.5

BlackBerry - Simulate a KeyPress event

不打扰是莪最后的温柔 提交于 2019-11-26 16:38:30
问题 I have a BlackBerry application that needs to take pictures from the camera and send them to a server. In order to do this i invoke the native camera application and listen to the filesystem. Once an image is captured and saved as a new jpeg file i get notified, resume foreground control and go about my business. The problem starts occurring after the first time this cycle is completed because now when i decide to call the camera application again it is already opened, and now the user is