hde kullanıyorum 4.5 Uygulamamda kamera kullanmak istiyorum. Ben kod yazmak ve çalışma zamanını excepetion alma olay olmayan konu tarafından değiştirilen Pushmodelscreen bana sorunun ne olduğunu söyle?sorunu?
public void başlangıç Kamera()
{
try {
// Create a player for the Blackberry's camera
Player player= Manager.createPlayer("capture://video");
// Set the player to the REALIZED state (see Player javadoc)
player.realize();
// Grab the video control and set it to the current display
_videoControl = (VideoControl)player.getControl("VideoControl");
if (_videoControl != null)
{
// Create the video field as a GUI primitive (as opposed to a
// direct video, which can only be used on platforms with
// LCDUI support.)
_videoField = (Field) _videoControl.initDisplayMode (VideoControl.USE_GUI_PRIMITIVE, "net.rim.device.api.ui.Field");
_videoControl.setDisplayFullScreen(true);
_videoControl.setVisible(true);
}
player.start();
if(_videoField!=null)
{
add(_videoField);
}
} catch (Exception e) { // TODO: işlemek istisna Dialog.alert (e.getMessage()); } } UI değişiklikleri karışan Amit
'Pushmodelscreen olayı olmayan iş parçacığı tarafından ayarlanmış ' Bu hata, genellikle herhangi bir ekran basılmadan önce bir açılır ekran veya' Dialog.alert' görüntülenmesi gerektiğinde ortaya çıkar. – Prasham