Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 24
Registered: ‎07-23-2008
My Device: Not Specified
Accepted Solution

Access device event log on Storm 4.7 emulator

Hi,

 

How can I access the device event log viewer on the Storm emulator?

 

I found one source online saying you had to get it in landscape mode and press Alt + "/"/ but the screen on the emulator doesn't switch to landscape mode when on the home screen.

 

Cheers

Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Access device event log on Storm 4.7 emulator

is there no tools/show event log on your simulators menu?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 24
Registered: ‎07-23-2008
My Device: Not Specified

Re: Access device event log on Storm 4.7 emulator

Thanks, but thats not the event log I'm refferring to. I mean the one you get when pressing Alt+LGLG.
Developer
Posts: 17,025
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Access device event log on Storm 4.7 emulator

oh sorry, i thought it would start the eventlog viewer, never used it myself.
you can start it by software using EventLogger.startEventLogViewer(), but how to solve your current problem i do not now. can't you change the layout of the simulator using the menu?
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 24
Registered: ‎07-23-2008
My Device: Not Specified

Re: Access device event log on Storm 4.7 emulator

[ Edited ]

Changing the orientation of the emulator doesn't seem to change the screen to landscape mode when its on the home screen, it works fine within an application but thats no good for opening the event viewer.

 

I don't have a physical device so I'm unsure how it works on that. 

Message Edited by roryf on 01-14-2009 10:56 AM
Developer
Posts: 4,764
Registered: ‎07-21-2008
My Device: Not Specified

Re: Access device event log on Storm 4.7 emulator

Press and hold the "?123" key to lock the numeric keyboard, the press ", 5 , 5"

 

(comma 5 comma 5)

 

 

Highlighted
Developer
Posts: 1,477
Registered: ‎12-30-2008
My Device: Torch 9810

Re: Access device event log on Storm 4.7 emulator

[ Edited ]

This also does work..

 

Hold down the escape key, then touch the screen's left, right, left and right (4 touches, upper left and right will be more appropriate) ..

 

It will get you to a screen named Engineering Screen Contents, there will be an entry called Display event log, click it, it will go to the event logger..

 

Cheers.. 


Message Edited by mantaker on 06-05-2009 04:48 PM
--
Manimaran Selvan
Co-Founder, Tech Lead,
Equity Markets Research Group
New Contributor
Posts: 3
Registered: ‎08-30-2010
My Device: 9650
My Carrier: Verizon

Re: Access device event log on Storm 4.7 emulator

I recently worked through this issue, so I'll post my pre-processor based solution here. This works for Bold, Curve, and Storm. I was displaying a sample email string ("example@email.com") that I wanted to go away and change color once the user started entering their own email:

 

    private boolean emailChanged = false;

//#ifndef TOUCH_SUPPORT

    private char justEntered ;

//#endif

 

 

    public void fieldChanged(Field field, int i)
    {
        if (!emailChanged) {
            emailChanged = true;
//#ifndef TOUCH_SUPPORT            
            final String justEnteredString = ""+justEntered;
//#else
            final String justEnteredString = idField.getText().substring(idField.getCursorPosition()-1, idField.getCursorPosition());
//#endif
            UiApplication.getUiApplication().invokeLater(new Runnable() {
                public void run(){                 
                    idField.setText(justEnteredString);
                    idField.setTextColor(Color.BLACK);
                    idField.setChangeListener(null);
                }
            });
        }
    }
    
//#ifndef TOUCH_SUPPORT        
    public boolean keyChar(char c,int status,int time)
    {
        justEntered  = c;
        return super.keyChar(c,status,time);
    }
//#endif

 

    public void fieldChanged(Field field, int i)    {        

 if (!emailChanged) {            

 emailChanged = true;

//#ifndef TOUCH_SUPPORT                        

 final String justEnteredString = ""+justEntered;

//#else            

 final String justEnteredString = idField.getText().substring(idField.getCursorPosition()-1, idField.getCursorPosition());

//#endif            

 UiApplication.getUiApplication().invokeLater(new Runnable() {                

 public void run(){                                   

 idField.setText(justEnteredString);

                 idField.setTextColor(Color.BLACK);

                                idField.setChangeListener(null);

                 }  });        

 }    

 }    

//#ifndef TOUCH_SUPPORT            

 public boolean keyChar(char c,int status,int time)    {        

justEntered  = c;      

return super.keyChar(c,status,time);    }

//#endif

New Contributor
Posts: 3
Registered: ‎08-30-2010
My Device: 9650
My Carrier: Verizon

Re: Access device event log on Storm 4.7 emulator

Sorry - my mistake. Posted to the wrong thread.