Not pushing the screens and camera 8900

Im having two problems in my code...

the first don't push a screen in a menu. What of weird, is that I have two other options on the menu that will push the screens.

Here is the code:

private _server MenuItem = new MenuItem ("Server", 110,
30 k
{
public void run()
{
UiApplication.getUiApplication () .pushScreen (new Server());
                
}
};

the second problem is very similar... but it's the camera of 8900 dreaded

SerializableAttribute public class CameraScreen extends form {}
    
private photMan PhotoManager = new PhotoManager();
    
private VideoControl _vidcon;
Player;
_videofield of private sector;
    
private String image_Type = "encoding = jpeg & width = 2048 & height = 1536 & quality = very good;
private byte [] image_Array;

Phto of photos;
 
CameraScreen _camScreen;
    
VerticalFieldManager _vfm = new VerticalFieldManager (VerticalFieldManager.USE_ALL_HEIGHT |) VerticalFieldManager.USE_ALL_WIDTH)
{public void paint (Graphics graphics)
{
graphics.setBackgroundColor (0x00BDC29A); / / Gray special
Graphics.Clear;
Super.Paint (Graphics);
}};
    
    
Private UiApplication UiApp;
    
CameraScreen (Photos pht) {}

Games of skill to the singleton
photMan = PhotoManager.getInstance ();

UiApp = UiApplication.getUiApplication ();
Photo gets assigned locally and assigns him photomanager
This.PHTO = pht;
photMan.setPhoto (phto);
make easy pop screen
_camScreen = this;
            
Add the player to the screen to be used
_vfm. Add (_videofield);
        
    
This starts the camara media feature
        
        
CreateCamera();
try {}
Player.Start ();
} catch (MediaException e) {}
Dialog.Alert ("Err:" + e);
}
        
        
Dialog.Alert ("Press Enter to take photo");
}

It takes the photo and shows a preview
    
Public Sub takePicture()
{
Dialog.Alert ("what happens");
try {}
photMan.setImageData (_vidcon.getSnapshot (image_Type));
Dialog.Alert ("inside the test');
} catch (MediaException e) {};
                           
           
Dialog.Alert ("just before the next screen push");
UiApp.pushScreen (new CamPreviewScreen (_camScreen));
        
    
}

Public Sub CreateCamera()
{
try {}
Reader = Manager.createPlayer ("capture://video");
Player.Realize ();
            
_vidcon = (VideoControl) player.getControl ("alarm");
            
If (_vidcon! = null)
{
_videofield = _vidcon.initDisplayMode (Field) (VideoControl.USE_GUI_PRIMITIVE, 'net.rim.device.api.ui.Field');
_vidcon.setDisplayFullScreen (true);
_vidcon.setVisible (true);
}
Add (_videofield);
            
            
            
        
} catch (Exception e) {}
                
Dialog.Alert("E:"+e);
}
}

-------------------------------------------------------------

I use a headset button to access the feature, and I know that the function is called... This works also in the Simulator, but not in the device...

Any help would be appreciated...

This is random... but I solved the problem of 8900. Also, it happened to me when I was with the InvokeCamera App. The solution to get the CameraDemo to work is to make sure you build the program is less than or equal to the JDE version JDE on the phone

Example:

Compile the JDE 4.6.0 (computer)

Work on 4.6.1 (phone)

Compile the JDE 5.0.0 (computer)

Does not work on 4.6.1 (phone)

Just make sure that you compile the .cod with the correct version of the SDK and you wil have no problem. Hope this can help some people.

Note: You will still need to clear the screen of all fields except for the videoField to do, this includes the setTitle()...

Tags: BlackBerry Developers

Similar Questions

  • The page does not match the screen and the fonts are too small. I can't change settings

    I can't get any page to fit entirely on the screen. I also can't seem to change the font that is too small. I tried to make changes in the section options, but nothing happens.

    Have you tried pressing Ctrl and the sign at least two keys at the same time?

  • Yahoo's page cannot be opened properly, the data are clustered on the left side of the screen and do not work

    When opening Firefox, browser my Yahoo homepage is loading properly. It opens but data on the Yahoo page are all the cloged on the left side of the screen and do not see the data nor the icons of work, and I can not access any information or sites, do not respond or work the yahoo page...

    It takes place before, but within hours or the next day, it opens correctly withouth do nothing, but now does not work since yesterday.

    I have window XP

    Hello ajdf9, many site problems can be caused by corrupted cookies or cache. To try to solve these problems, the first step is to clear cookies and cache.
    Note: This will be you temporarily disconnect all sites, you're connected to.
    To clear the cache and cookies to do the following:

    1. Go to Firefox > history > clear recent history or (if no Firefox button is displayed) go to tools > clear recent history.
    2. Under "Time range to clear", select "all".
    3. Now, click the arrow next to details to toggle the active details list.
    4. In the list of details, see the Cache and Cookies and uncheck everything.
    5. Now click the clear now button.

    More information can be found in article to clear your cache, history, and other personal information in Firefox .

    This solve your problems? Please report to us!

    Thank you.

  • Qosmio G20-117: bad pixels on the screen and the CD rom does not work

    Hello

    I have a problem with the computer hardware. I got a Qosmio G20-117 and you have a problem with the cdrom and the screen. Got bad pixels on the screen, and cdrom does not work. I live in the United Kingdom, so I tried signing up to them to choose the computer before the computer is out of warranty.

    Whenever I register, it says sorry, an unexpected error has occurred, please try again later. I have tried at least 20 times since yesterday and it doesn't seem to work. I have them even called and they told me, the service is stopped and will be fixed this morning but yet nothing works.

    Any solution?

    Hello

    If you want to contact Toshiba service partner in your country then why you don't call them?
    Toshiba page you will find the database with all service providers in the world.
    http://www.CSD.Toshiba.com/cgi-bin/TAIS/Su/su_gaspLocator.jsp?PF=true

    I don't think that you need to register something apart from the serial number of your laptop. But in my opinion this could also be done at the point of service.

  • How can I replace my taskbar and commissioning menu.the bar tasks are not on the screen

    the taskbar does not appear on the screen

    On Sunday, September 9, 2012 18:24:47 + 0000, ANDYPRYCE_832 wrote:

    the taskbar does not appear on the screen

    The taskbar is resizable, like a window, and it can be set to zero
    lines of ups. Maybe that's your problem, and fixing must be the
    first thing you should try. You may have accidentally resized to
    zero lines of ups. Place the cursor on the bottom of the screen and pass
    it upward and down slightly until it turns into a two-headed arrow.
    Click on, and then drag it to the desired size.

    If this does not work, it may be zero lines high on another facet of the
    the screen, try the above on all four sides.

    Finally, if none of those working, go to
    http://www.kellys-korner-xp.com/xp_abc.htm, click on T, and then under
    Taskbar, click on taskbar is missing.
    Ken Blake, Microsoft MVP

  • When I download a game it will not work the screen just keeps on changing color and color stripss

    When I supported a game it will not run the screen just keep changing colors and strips coloued

    Hello

    Please try to install the game in compatibility mode.  Here is some information that can be very practical...

    http://Windows.Microsoft.com/en-us/Windows-Vista/make-older-programs-run-in-this-version-of-Windows

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    -Check the functionality of the game under a spare user account

    Uninstall/reinstall the program

    -Clean Boot http://support.microsoft.com/kb/331796

    I hope that this information is beneficial.

    Thank you

    Aaron
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • An e-mail message is constantly on the screen and I can not remove or change.

    original title: E-mail

    an e-mail message is always on the screen and I can not remove or change

    Hello

    1. What mail client do you use?

    2. what happens when you try to delete the e-mail?

    3. you receive an error message when you try to delete the e-mail?

    4. where did you receive this email?

    You can try the following and see if it helps.

    Method 1

    You can try to delete the e-mail in a clean boot state, and check if the problem still persists.

    How to configure Windows XP to start in a "clean boot" State

    http://support.Microsoft.com/kb/310353

    Note: After you have used the boot is a way to solve your problem, you can follow these steps to configure Windows XP to start normally.

    1. Click Startand then click run.
    2. Type msconfigand click OK.
      The System Configuration utility dialog box appears.
    3. Click the general tab, click Normal Startup - load all device drivers and services, and then click OK.
    4. When you are prompted, click restart to restart the computer.

    Check whether the problem is resolved.

    Method 2

    I suggest that you run an anti-virus from the link below.

    Microsoft safety scanner.

    http://www.Microsoft.com/security/scanner/en-AU/default.aspx

    Hope this information helps.

  • How can I get casscade toolbar at the top of the screen and not on the side

    taskbar

    How can I get casscade toolbar at the top of the screen and not on the side

    How can I get casscade toolbar at the top of the screen and not on the side

    If you mean that you want the taskbar to be placed at the top of the screen...

    Right-click on the taskbar, don't check that no check mark to 'lock the taskbar '.

    Method 1:

    Left-click in the taskbar and HOLD > drag the taskbar to the top of the screen.

    Method 2:

    Right click on the task bar > click Properties > tab taskbar at the top > in place of the taskbar on the screen, click on the pointer, and then select top > click OK when finished.

  • my information does not match the screen. I have to scroll sideways and vertically for all to see

    my information does not match the screen.  I have to scroll sideways and vertically for all to see

    How can I change the size if it is adapted to the screen?

    Hi Marilyndunn,

    ·         are what application you referring?

    ·         It occurs on all applications?

    ·         If it works well before?

    ·         Did you do changes on the computer before the show?

    You can see the following article for more information about the display settings.

    Get the best display on your monitor

    http://Windows.Microsoft.com/en-us/Windows-Vista/getting-the-best-display-on-your-monitor

     

    Make the computer easier to see (optimize visual display)

    http://Windows.Microsoft.com/en-us/Windows-Vista/make-the-computer-easier-to-see-optimize-visual-display

    Hope this information helps.

  • I can't get the screenshot of Windows to function at work. I try to push the Windows and print screen key, but it does nothing.

    When I used Windows 8 Developer Preview screenshot function worked fine. The screen flashed and saved my screenshots. I pushed the Windows and print screen key. Now that I've updated, I can no longer do this. I am of ideas what is wrong. Any help would be great!

    P.S. - This is the account I want to use! So I thought to it. In the case of my laptop (HP HDX 16 t) I have to press FN + WINDOWS KEY + print SCREEN. If anyone has the same problem, they should try it.

  • The effect of ICT controls runs off the screen and the chronology of control carried out does not follow

    I'm working on a video where I need to change the image very close key pairs. But it seems that ICT is running off the screen and does not follow along as the ICT in the project timeline.

    How can I make the effect controls, ICT and the timeline synch upward? I can use previous and next keyframes, but the view of the timeline does not follow along. He made the process quite slow editing because I have to constantly to the scroll box allows to adjust the view manually.

    There is no option for this scroll.  You will need to zoom out.

  • IPod touch reads "ipod disabled" on the screen and does nothing and will not be a link with itunes.

    IPod touch

    IPod touch reads "ipod disabled" on the screen and don't respond to nothing and used to link with itunes, we think that our daughter has forgotten his password and entered the wrong one until this message has appeared, is there any solution for this?

    Hello Jesushq33

    The forum in that you send is for Microsoft Windows. For support with Apple and Apple products please click on the link below. Thank you.
  • Qosmio G30 - white lines on the screen and BSOD

    1. I have a Qosmio G30
    2 operating system Windows XP MCE
    and I have problem "white lines on the screen ' when windows start to load after that I got the"blue screen of death"and restart the computer.
    I try to get back, but unfortunately came with the laptop recovery CD doesn't seem to work...

    Whenever I finished to recover I have "windows loading files" and once this is done, it shows me the so-called "blue screen of death"...

    Hello

    I m afraid. I have bad news for you ;(
    I think you ve you have a problem with the hardware in my eyes, there might be something wrong with the GPU chip.
    The white lines on the screen could be related to a faulty graphics card and get the BSOD error due to a hardware malfunction or software serious questions

    I m sure that the recovery CD does not contain software problems and therefore only the fault of hardware could be the reason for the lines on the screen and the BSOD.

    In my opinion, you should contact the ASP in your country for assistance if all goes well you guarantee is valid.

    Good luck

  • Several games limit left 2/3 of the screen and only game in black and white

    Original title - problem with games

    Five of the eight games on my machine here confined to the left 2/3 of the screen and play only in black and white. It's Chess Titan,

    Free Cell, hearts and Spider Solitaire, solitaire. Ink ball, Mahjong-Titals and Minesweeper work very well. I had the same problem with Netflix, but

    acting on the advice of the Csr Support, I have ununstalled and re-installed Silverlight (and had to use the Fix It program to do it). That solved the problem of Netflix

    but not the problem of games. YouTube has never been touched by this issue)

    Note: these problems two weeks ago.

    Microsoft says my video driver customer service must be updated and that I had to go so the manufacturer (Dell). I can't

    implement this driver in programs and features at all.  I don't know what made everything a video driver. It only concerns the functioning of

    (some) games?

    Any suggestions or info appreciated

    Ed Mac

    Thanks for your reply. I tried to uninstall the games, but the Turn Off function did not cooperate.

    I had the problem, however. An outfit with whom I unfortunately chose to do it remotely

    maintenance, but who are if anything more incompetent than the people of Dell installed on my machine one

    program called "Assistant pilot."  Now, it turns out I had two issues which has the same effect on Netflix and 5 of 8 games, i.e. the image limited to 2/3 of the screen and exploitation of black and white only. The Netflix problem solved when Microsoft Csr Serv me sent suggestions on what to do, which was to uninstall and reinstall Microsoft Silverlight and use the Fix It program if there were problems. Now the outfit I mentioned tried time and time again to uninstall Silverlight without success. It appears that they knew no more difficulty I did. Silverlight was the problem here, because they felt properly.

    The problem of games persisted. Microsoft Csr Serv now told me she looked like my update video driver required and suggested I have call the manufacturer, Dell. God forbid!    I know little about computers. they know less. Then I shortened myself of this pilot, a wizard who bethought

    appears on my menu. I ran the program and it came with 20 + drivers requiring an update. One was a NVIDIA driver and I was vaguely aware that they probably had something to do with it.

    Update Ran, problem solved! Note that people who have installed this program to me do not have

    Consider using it to try to solve what was obviously a video problem! Yikes!

    Microsoft stands out as the good guys here. I had spent hours on the phone with Netflix (very useful, but it wasn't their problem) and this other suit. Microsoft pointed me in the right direction without fees.

  • Adobe first Elements 13 do not interpret the film and properties correctly for widescreen is a mod.

    Adobe first Elements 13 do not interpret the film and properties correctly for widescreen is a mod. This has been brought to the attention of Adobe in December of 2014 by others. If you import a footage in Adobe Premiere elements 11 or 12, you can eliminate the black bars on the sides by setting predefined settings correctly and using properties and interpreting the film. Not the same with 13 elements. What has been done to correct the problem? How users can be compensated for the purchase of a program or upgrade to a program that has a fault serious?

    Please notify.

    fran3

    What you report a known problem with elements 13/13.1 first I wrote about back in December 2014, and whenever the subject came up in the Adobe Premiere elements Forum.

    First Elements ATR troubleshooting: EP: 13 serious problem with. MOD Widescreen files

    I have not seen Adobe personal or PRE_help this issue whenever it appears in one of the threads here. The frequency of appearance of personal Adobe or PRE_help is not defined. It's a call from Adobe on ignore or fix in the next version or other.

    This isn't Adobe. Instead a user. You need to contact Adobe to know the why of the situation and what his plans are to remedy the situation in order to allow the usual workaround if this is a solution that will make unnecessary workaround.

    You have a chance by converting the widescreen is a mod to another format that would recognize the flag of 16:9 wide screen of is a mod, if 16:9 is really there.

    RTA

    Add on... Consider

    https://www.Adobe.com/cfusion/mmForm/index.cfm?name=wishform

Maybe you are looking for

  • Satellite A100 troubled Rail Simulator game loading EA

    I have a problem loading Rail Simulator of EA on my Satellite A100. In my first attempt, I got the message of free space, so set on removing unused programs and pictures on a CD burning.Soon released about 6.5 GB.Tried again, as much as to enter the

  • M30X 129: problem of battery or power management road

    Hi all I had a lot of trouble with my laptop recently; When using just the battery I can watch it unloads and a minute, he can read about 30% or more, depending on the laptop will be beep like crazy and then go into hibernation. I put it to Hibernate

  • Is Microsoft provides a solution like Filezilla FTP?

    Is Microsoft provides a solution for the FTP client and the server as Filezilla. I want to centralize backup of my office all to my node at the head office.

  • I2/I3 magnetic charger compatible with Z3C?

    The Thailand just the Z3C this last week and I bought one today.  There is no true "Sony Stores", but I bought in a store licensed to Sony and asked about a magnetic charger, I can see it getting old real quick to keep flipping open the lid of the ch

  • Serial number incorrect - Acrobat Pro - known good number

    I reinstall Acrobat Pro XI on a machine to try and fix a mistake apparently happened after a recent update of Adobe.(Error was: there is a problem with Adobe Acrobat/Reader.)  If this is the case, please exit and try again (4:4)) - opening links in I