To listen for Focus - screen/system FocusHistory

Hi all

Really hoping someone can help me with that I start to think about maybe a gap in the API.

I have built on a "system module" at the end of a day tells me, my productivity e.g. time spent doing think different on my phone.

I spent last week trying to get what it look / register for changes on the screens focus i.e. change between several applications.

I know that this keeps track of the device (not just because the screen changes)

Please look at the debug log:

* It is just after the home screen displays (1st time)... and then I click the screen applications & back *.

Default EDGE Networknet.rim.vad: DONERefreshing connection on sendRunning refreshLocal port: 0APN: 'rim.net.gprs'APN username: 'null'APN password: 'null'Connection does not existDetected information for 1 GPAK connection(s)FocusHistory: Focus lost; App Home Screen; Component net.rim.device.api.ui.MediaControllerFocusHistory: Focus gained; App Home Screen; Component net.rim.device.apps.internal.ribbon.launcher.RibbonIconFieldFocusHistory: Focus lost; App Home Screen; Component net.rim.device.apps.internal.ribbon.launcher.RibbonIconField

IM using BlackBerry v4.5 component & the Eclipse plug-in 1.0.0.67

If theres any more info needed, please just ask.

ANY help would me much appreciated!

-Googled, searched forms & looked over the documentation of the api but not joy.

Thanks for your comments.

We're cooking gas!

Thanks Peter.

Here's the finalized code (a little "brute force" but works)

ApplicationManager manager = ApplicationManager.getApplicationManager();

while(true)
{
    ApplicationDescriptor visibleApplications[]     = manager.getVisibleApplications();
    int currentProcessId = manager.getForegroundProcessId();

    for(int count = 0;visibleApplications.length>count;count++)
    {
          if(manager.getProcessId(visibleApplications[count])               == currentProcessId)
          {
                 System.err.println(visibleApplications[count].getName());
           }
    }
     //sleep
}

I'm sure this will help others!

Tags: BlackBerry Developers

Similar Questions

  • Implementing custom listener for ListField

    I'm trying to implement a listener for a custom field I created that would launch a new screen when you click on the field. However, nothing happens when I click on the custom field. I use BlackBerry Java plug-in for Eclipse, JDK 1.3 and JRE 6.0. All my code is attached. MyScreen.java contains the code where I'm trying to implement a function fieldChanged.

    //MyApp.Java
    
    package mypackage;
    
    import net.rim.device.api.system.CodeModuleManager;
    import net.rim.device.api.ui.UiApplication;
    
    /**
     * This class extends the UiApplication class, providing a
     * graphical user interface.
     */
    public class MyApp extends UiApplication
    {
        /**
         * Entry point for application
         * @param args Command line arguments (not used)
         */
        public static void main(String[] args)
        {
            CodeModuleManager.promptForResetIfRequired();
    
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
            MyApp theApp = new MyApp();
            theApp.enterEventDispatcher();
        }
    
        /**
         * Creates a new MyApp object
         */
        public MyApp()
        {
            // Push a screen onto the UI stack for rendering.
            pushScreen(new MyScreen());
        }
    }
    
    //MyScreen.java
    
    package mypackage;
    
    import net.rim.device.api.ui.container.*; //for vertical manager
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.FieldChangeListener;
    import net.rim.device.api.ui.Manager;
    //import net.rim.device.api.ui.Screen;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.Color;
    import net.rim.device.api.ui.decor.BackgroundFactory;
    
    /**
     * A class extending the MainScreen class, which provides default standard
     * behavior for BlackBerry GUI applications.
     */
    public final class MyScreen extends MainScreen
    {
        /**
         * Creates a new MyScreen object
         */
        private CustomField cField;
    
        public MyScreen()
        {
            // Set the displayed title of the screen
            setTitle("My New App");
    
            cField = new CustomField("4.PNG","This is my 4th custom field!!");
            ButtonClickListener listener = new ButtonClickListener();
            cField.setChangeListener(listener);
            add(cField);
    
        }//MyScreen function
    
        class ButtonClickListener implements FieldChangeListener
        {
            public void fieldChanged(Field field, int context)
             {
                  //we need to determine which button was clicked
    
                  if(field == cField)
                      new SpeedBumpScreen();
    
             }
    
        }//ButtonClickListener
    
    }
    
    //CustomField.java
    
    package mypackage;
    
    import java.util.Vector;
    
    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.component.*;
    
    class CustomField extends ListField implements ListFieldCallback {
        private Vector rows;
    
        public CustomField(String customImg, String customLabel) {
            super(0, ListField.MULTI_SELECT);
            setRowHeight(80);
            setEmptyString("Hooray, no items here!", DrawStyle.HCENTER);
            //setCallback(this);
    
            Bitmap p1 = Bitmap.getBitmapResource(customImg); 
    
            rows = new Vector();
    
            TableRowManager row = new TableRowManager();
    
            row.add(new BitmapField(p1));
    
            // SET THE item NAME LABELFIELD
            // if overdue, bold/underline
            LabelField item = new LabelField("item #" + customLabel,
                DrawStyle.ELLIPSIS);
    
            // overdue
            item.setFont(Font.getDefault().derive(
                Font.BOLD | Font.UNDERLINED));
            System.out.println("OVERDUE");
    
            row.add(item);
    
            // SET THE LIST NAME
            row.add(new LabelField("List Name #" + String.valueOf(1),
                DrawStyle.ELLIPSIS) {
                protected void paint(Graphics graphics) {
                    graphics.setColor(0x00878999);
                    super.paint(graphics);
                }
            });
    
            // SET THE DUE DATE/TIME
            row.add(new LabelField("Due Date #" + String.valueOf(1),
                    DrawStyle.ELLIPSIS | LabelField.USE_ALL_WIDTH
                    | DrawStyle.RIGHT) {
                protected void paint(Graphics graphics) {
                    graphics.setColor(0x00878787);
                    super.paint(graphics);
                }
            });
    
            rows.addElement(row);
    
            setSize(rows.size());
    
        } //end public CustomField()
    
        // ListFieldCallback Implementation
        public void drawListRow(ListField listField, Graphics g, int index, int y,
                int width) {
            CustomField list = (CustomField) listField;
            TableRowManager rowManager = (TableRowManager) list.rows
                .elementAt(index);
            rowManager.drawRow(g, 0, y, width, list.getRowHeight());
        } //end drawListRow()
    
        private class TableRowManager extends Manager {
    
            public TableRowManager() {
                super(0);
            } //end pulic TableRowManager
    
            // Causes the fields within this row manager to be layed out then
            // painted.
            public void drawRow(Graphics g, int x, int y, int width, int height) {
                // Arrange the cell fields within this row manager.
                layout(width, height);
    
                // Place this row manager within its enclosing list.
                setPosition(x, y);
    
                // Apply a translating/clipping transformation to the graphics
                // context so that this row paints in the right area.
                g.pushRegion(getExtent());
    
                // Paint this manager's controlled fields.
                subpaint(g);
    
                g.setColor(0x00CACACA);
                g.drawLine(0, 0, getPreferredWidth(), 0);
    
                // Restore the graphics context.
                g.popContext();
            }//end drawRow()
    
            // Arranges this manager's controlled fields from left to right within
            // the enclosing table's columns.
            protected void sublayout(int width, int height) {
                // set the size and position of each field.
                int fontHeight = Font.getDefault().getHeight();
                int preferredWidth = getPreferredWidth();
    
                // start with the Bitmap Field of the priority icon
                Field field = getField(0);
                layoutChild(field, 32, 32);
                setPositionChild(field, 0, 0);
    
                // set the item name label field
                field = getField(1);
                layoutChild(field, preferredWidth - 16, fontHeight + 1);
                setPositionChild(field, 34, 3);
    
                // set the list name label field
                field = getField(2);
                layoutChild(field, 150, fontHeight + 1);
                setPositionChild(field, 34, fontHeight + 6);
    
                // set the due time name label field
                field = getField(3);
                layoutChild(field, 150, fontHeight + 1);
                setPositionChild(field, preferredWidth - 152, fontHeight + 6);
    
                setExtent(preferredWidth, getPreferredHeight());
            }//end sublayout()
    
            // The preferred width of a row is defined by the list renderer.
            public int getPreferredWidth() {
                return Graphics.BLACK;
            }
    
            // The preferred height of a row is the "row height" as defined in the
            // enclosing list.
            public int getPreferredHeight() {
                return getRowHeight();
            }
    
        }// private class TableRowManager extends Manager 
    
        public Object get(ListField listField, int index) {
            // TODO Auto-generated method stub
            return null;
        }
    
        public int getPreferredWidth(ListField listField) {
            // TODO Auto-generated method stub
            return 0;
        }
    
        public int indexOfList(ListField listField, String prefix, int start) {
            // TODO Auto-generated method stub
            return 0;
        }
    
    } //end class CustomField extends ListField implements ListFieldCallback
    
    //SpeedBumpScreen.java
    
    package mypackage;
    
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.component.RichTextField;
    import net.rim.device.api.ui.container.MainScreen;
    
    public final class SpeedBumpScreen extends MainScreen
    {
        /**
         * Creates a new HelloWorldScreen object
         */
        SpeedBumpScreen()
        {
            // Set the displayed title of the screen
            setTitle("Speed bump screen");
    
            // Add a read only text field (RichTextField) to the screen.  The
            // RichTextField is focusable by default. Here we provide a style
            // parameter to make the field non-focusable.
            add(new RichTextField("This is the speed bump screen!", Field.NON_FOCUSABLE));
        }
    
    }
    

    In addition, there is nothing in the ListField that will actually generate an event.

    Here is a simple extension to the ListField which will make "clickable".  In your FieldChangeListener you can use getSelectedindex to determine which line has the focus.

    Please ask if this isn't clear:

    public class ClickableListField extends ListField {
    
        public ClickableListField(int numberOfRows) {
            super(numberOfRows);
        }
    
        protected boolean navigationClick(int status, int time) {
            this.fieldChangeNotify(2);
            return true;
        }
    
        protected boolean touchEvent(TouchEvent message) {
            int x = message.getX( 1 );
            int y = message.getY( 1 );
            if( x < 0 || y < 0 || x > getExtent().width || y > getExtent().height ) {
                    // Outside the field
                    return false;
            }
            // If click, process Field changed
            if ( message.getEvent() == TouchEvent.CLICK ) {
                this.fieldChangeNotify(2);
                return true;
            }
            return super.touchEvent(message);
        }
    
    }
    
  • Update for Microsoft XML Core Services 4.0 Service Pack 2 for x 64 systems (KB973688) won't install on Windows 7, error code 643

    I guess the first problem I have is that I came across this forum to get an answer to a question from windows 7, and all I can see are XP and Vista of questions and answers.  It's great, but I have the update above installed on Vista (Ultimate x 64).  I can't seem to get installed it on Windows 7 Professional.  When I stopped, he told me do not turn off the computer, because it is to install an update.  But then the update is back.

    Here's the updatelog of windows for the last screen full of lines:

    2009-12-06 17:05:11:783 376 4 c 0 Agent * UpdateId = {9BD35FB2-8618-4F00-B75D-DFD8D7E93278}.100
    2009-12-06 17:05:11:783 376 4 c 0 Agent * bundles 1 updates:
    2009-12-06 17:05:11:783 376 4 c 0 Agent * {6FB0B1F5-03BA-45A2-91F9-2EEE620770D5}.100
    2009-12-06 17:05:11:783 376 4 c 0 DnldMgr * DnldMgr: updating of the regulation [Svc: {7971F918-A847-4430-9279-4A52D1EFE18D}] *.
    2009-12-06 17:05:11:783 4 376 c DnldMgr 0 contacting server 1 regulation updates.
    2009-12-06 17:05:11:783 376 4 c 0 Misc validation signature for C:\Windows\SoftwareDistribution\WuRedir\7971F918-A847-4430-9279-4A52D1EFE18D\wuredir.cab:
    2009-12-06 17:05:11:799 376 to THE f00 successfully wrote event to THE health state: 0
    2009-12-06 17:05:11:799 376 to THE f00 # pending download calls = 1
    2009-12-06 17:05:11:799 376 f00 in THE<## submitted="" ##="" au:="" download="">
    2009-12-06 17:05:11:799 376 to THE f00 successfully wrote event to THE health state: 0
    2009-12-06 17:05:11:799 376 aa4 putting featured update notifications.  fIncludeDismissed = true
    2009-12-06 17:05:11:799 376 aa4 No. feature updates available.
    2009-12-06 17:05:11:799 376 4 c 0 Misc Microsoft signed: Yes
    2009-12-06 17:05:11:799 376 aa4 putting featured update notifications.  fIncludeDismissed = true
    2009-12-06 17:05:11:799 376 aa4 No. feature updates available.
    2009-12-06 17:05:11:799 376 4 c 0 PT WARNING: caching of cookie has expired or new PID is available
    2009-12-06 17:05:15:418 376 4 c 0 PT URL for the server of regulation found in the server config.
    2009-12-06 17:05:15:418 376 0 DnldMgr regulation 4 c server path: https://www.update.microsoft.com/v6/UpdateRegulationService/UpdateRegulation.asmx.
    2009-12-06 17:05:17:399 376 4 c 0 DnldMgr * call for full rules. 0x00000000
    2009-12-06 17:05:17:399 376 4 c 0 DnldMgr * DnldMgr: downloading new job [UpdateId = {6FB0B1F5-03BA-45A2-91F9-2EEE620770D5}.100] *.
    2009-12-06 17:05:17:430 376 4 c 0 DnldMgr * all update files have already been downloaded and are valid.
    2009-12-06 17:05:17:430 376 4 c 0 Agent *.
    2009-12-06 17:05:17:430 376 4 c 0 Agent * END * Agent: downloading updates [CallerId = AutomaticUpdates]
    2009-12-06 17:05:17:430 376 4 c 0 Agent *.
    2009-12-06 17:05:17:430 376 4 c 0 report REPORT EVENT: {1B2F2AC2-AFAA-4693-A256-E59B96A868CA}-2009-12-06 17:05:10:067 - 0500 1 182 101 {9BD35FB2-8618-4F00-B75D-DFD8D7E93278} 100 80070643 AutomaticUpdates error content install Installation error: Windows failed to install the following update with error 0 x 80070643: update for Microsoft XML Core Services 4.0 Service Pack 2 for x 64 systems (KB973688).
    2009-12-06 17:05:17:430 376 f00 to THE > # RETURN # to THE: download the update [UpdateId = {9BD35FB2-8618-4F00-B75D-DFD8D7E93278}, successful]
    2009-12-06 17:05:17:446 376 f00 in THE #.
    2009-12-06 17:05:17:446 376 f00 to # END # in THE: download updates
    2009-12-06 17:05:17:446 376 f00 in THE #.
    2009-12-06 17:05:17:446 376 f00 phase of installation to THE adjustment to THE planned at 2009-12-07 08:00
    2009-12-06 17:05:17:446 376 to THE f00 successfully wrote event to THE health state: 0
    2009-12-06 17:05:17:446 376 f00 setting of to THE pending client directive to 'install approval. "
    2009-12-06 17:05:17:446 376 to THE f00 successfully wrote event to THE health state: 0
    2009-12-06 17:05:17:461 376 aa4 putting featured update notifications.  fIncludeDismissed = true
    2009-12-06 17:05:17:461 376 aa4 No. feature updates available.
    2009-12-06 17:05:17:477 376 4 c 0 CWERReporter::HandleEvents - WER report upload report completed with status 0 x 8
    2009-12-06 17:05:17:477 376 4 c 0 WER sent report: 7.3.7600.16385 9BD35FB2-8618-4F00-B75D-DFD8D7E93278 0 80070643 101 x install not managed
    2009-12-06 17:05:17:477 376 4 c 0 CWERReporter finish event management report. (00000000)

    Thank you

    Stan

    TIP: Read the Symptoms section of http://support.microsoft.com/kb/973688.

    Note that KB973688 is NOT a security update.

    (1) do you have an installed application that "uses Microsoft XML Core Services (MSXML) to process XHTML files" and (2) that "generates a lot of requests when it tries to retrieve well known from the definition of the Type of Document (DTD) from a World Wide Web Consortium (W3C) Web server files" and (3) to "these redundant retrieval requests cause the W3C Server block requests DTD?

    If you can't answer YES to all three of these conditions, you do not need to install KB973688 and you can "hide"

    1. stop the automatic updates service:

    Start > Right click on run , and then select run as administrator > services.msc (type) > [OK]
    Double-click automatic updates > click stop
    (Stopping the service will take a moment)

    2 remove the contents of the download folder:

    Start > Right click on run , and then select run as administrator >
    (type or copy/paste) %windir%\SoftwareDistribution > [OK]
    Open the download folder and delete its content
    Close the window.

    3 start | Control Panel | System maintenance and (if you use Classic view, skip this step). Windows Update: Select the installed updates: right click on the Update for Microsoft XML Core Services 4.0 Service Pack 2 (KB973688) | Click hide update | Confirm the prompt UAC (User Account Control), if any, & OK your way out.

    4. start the automatic updates service:

    Start > Right click on run , and then select run as administrator > services.msc (type) > [OK]
    Double-click automatic updates > click Start
    (Stopping the service will take a moment)

    =====================================
    To restore/show updates in Win7: Start | Control Panel | System maintenance and (if you use Classic view, skip this step) | Windows Update | Restore hidden updates: Find and select the update you want to install. Click restore. You can now select once again it and install through the normal process.

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • focus screens... split lens horizontal or double diagonal... recommendations?

    What is the best... (tips are another fire at the crossroads). I want to get a split focus screen lens for my Canon 600 d/T3i.

    I photograph wildlife subjects and arcitecural.

    I'm debating on which is probably my best Bet... the split single horozontal or twice divided diagonally...?

    If you are not sure, buy not either. They are mainly designed for the manual focus. If you almost always use the autofocus, then don't bother. In addition, if you use manual focus on tripod only, you can use zoom 10 x Liveview in precision, no need of frosted glass custom. In addition, if you're not careful, you can introduce a lot of dust on your sensor during the passage of frosted glass. Your messages, seem like you are trying to buy accessories now. Just make sure you buy only what you need and save $ for the better lens.

  • After the last update, everything has much too big for the screen

    After the update everything was too big for the screen. I can't have enough on the screen to play a game even. I revert to a previous version and it was ok, but once again when the update went thru it's still too big. I tried to check and he said: I'm always on the 96 dpi.

    Hello

    There are a number of things to try:

    try going to your graphic card manufacturers site or computer and are looking for the driver download section

    Search your computer or graphics card model number based on what you have and download and install the latest graphics drivers for vista

    then try to make the screen of solution of problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution

    Change the screen resolution

    __________________________________________________________

    or try a restore of the system before this happened

    http://www.windowsvistauserguide.com/system_restore.htm

    If necessary do in safe mode

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode option with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.

    ________________________________________________________

    and change how to get updates for you to choose what you install to stop it happening again

    You may need to install one at a time to find the problem, we

    Make sure that you do not use Windows Update to install the drivers of 3rd material part

    Find them directly in the hardware manufacturer

    and when you see the problem update right click on it - UAC prompt - then hide it

    http://www.bleepingcomputer.com/tutorials/tutorial140.html

    Download updates but let me choose whether to install them - if you select this option, Windows will download the updates on your computer, but not install them automatically. If you want to install updates, then you must install them manually. You should only select this option if you have a reason to not install updates automatically. Only advanced users should use this option.

    Check for updates but let me choose whether to download and install them - if you select this option, you'll be alerted when there are new updates available for download and install. You can then choose to download and install the updates that you want. This option should really be reserved for people who know exactly which updates they need, or those who have little access to the Internet.

  • Whenever I connect. When my home page or any site I'll is big for the screen. could if it you please let me know how I can get it back to normal size. Thank you

    the sites are great for my screen. should he return to normal.

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If the above does not fix it:

    Go to the Web site of the manufacturer of your laptop computer-graphics/computer card > drivers and downloads Section > key in your model number > look for the latest Vista drivers > download/install them.

    Then:

    http://Windows.Microsoft.com/en-AU/Windows-Vista/change-screen-resolution

    Change the screen resolution

    Screen resolution refers to the clarity of the text and images on your screen. At higher resolutions, items appear sharper. They appear also smaller, so more items adapted to the screen. At lower resolutions, fewer items adapted to the screen, but they are larger and easier to see. At very low resolutions, however, images may have serrated edges.

    See you soon.

    Mick Murphy - Microsoft partner

  • When I open a tab/icon on my computer is much too large for my screen and I can't use my computer; 3 boxes in the upper right corner.

    When I open a tab/icon on my computer is much too large for my screen and I can't use my computer; 3 boxes at the top right corner with the-, square and X are too far to the right to do anything. How can I fit on my screen, so I can use my computer?

    Hello

    Please contact Microsoft Community.

    This problem is limited to any icon or it happens with all?

    Did you change to the computer?

    I suggest to refer to the following methods and check to see if it helps:

    Method 1:

    Install the latest display driver and check

    Uninstall the driver from Device Manager display.

    a. close all programs. This will ensure that the programs do not interfere with the update of the driver.
    b. right-click on my computer, and then click Properties. This will bring you from the System Properties menu.

    c. click Device Manager
    d. expand the display column of cards by clicking on them. This will show the graphical current map that is using your computer.
    e. right click on the adapter, then select Properties.
    f. click on the driver tab. This tab displays information about the current driver, as well as options to update, delete, uninstall, and back the driver.
    g. click on uninstall
    h. restart the computer

    You can install the latest display driver for download on the site of computer manufacturing, same driver will reinstall automatically after the restart, if the computer is connected to the Internet.

    Method 2:

    I suggest you try the system restore. Restore the system to a restore point when your computer was working fine

    You can also check the Device Manager to see if the video card has a yellow exclamation on it with an error any:

    http://Windows.Microsoft.com/en-us/Windows7/products/features/device-management

    I hope this helps.

    Kind regards
    Anusha

  • Installation of Service Pack 1 for x 64 system (KB976932)

    Hello

    Please can someone help me!

    I want to install an update for windows 7

    "Service Pack 1 for x 64 system (KB976932).

    but I still have a problem with this update

    Thank you

    The problem was solved!
    I found the solution for the error 'blue screen '.
    It was the 'RAM '.
    After that I tested the 'RAM' by 'Memtest86 + USB Installer' I comes out the bad 'RAM' and stay with a single 'RAM' on my PC
    After that, I did format my PC and reinstall my original windows CD
    Then I updated my windows normally

    Thank you for your help

  • The icons are too big for the screen

    Hello

    Everything on my computer screen seems too big. From the icons, texts, programs like chrome (pages are inside the window more). I do not change the display settings recently, and I did the updates. It happened suddenly, out of the blue.

    I tried to change the resolution, but it lists only two possible resolutions, 1024 x 768 and 800 x 600. Even when I change, it make no impact.

    What should I do?

    Use a monitor dell with graphics card: adapter Standard VGA Graphics chipset graph mobile/desktop Intel R (HSW) device.

    OS: Windows 7 professional, 64-bit

    Original title: everything seems too big on my computer

    The fact that you have only two resolutions would indicate that the game graphics chip driver is not properly installed.

    The Standard VGA adapter is the rescue driver Windows for what specific cannot be identified or are not available.

    Depending on the hardware of the computer go to the manufacturer's website, search for your particular system, download and install the graphics driver. The screen itself is not relevant.

  • Listener for ObjectChoiceField

    I am trying to add a listener for an ObjectChoiceField in the same way I did for a ButtonField in this code. But I get an error in this line ObjectChoiceField choiceSelected = field (ObjectChoiceField);

    For now I check to headset ObjecChoiceField with a dialog.alert. If it works then I intend to add a BitmapField to the screen that would alter the images with different selections in the drop-down list (ObjectChoiceField).

    Any help would be appreciated!

    SerializableAttribute public class TestListeners extends UiApplication {}

    Public Shared Sub main (String [] args) {}

    PAP TestListeners = new TestListeners();

    theApp.enterEventDispatcher ();

    }

    public TestListeners() {}

    pushScreen (new TestListenersScreen());

    }

    final TestListenersScreen class extends form {}

    public TestListenersScreen() {}

    HorizontalFieldManager _fieldManagerBottom = new HorizontalFieldManager();

    Add (_fieldManagerBottom);

    ButtonField canadaButton = new ButtonField ("Canada");

    ButtonField ukButton = new ButtonField ("UK");

    ButtonField usButton = new ButtonField ("USA");

    FieldChangeListener buttonListener = new FieldChangeListener() {}

    ' Public Sub fieldChanged (field field, int context) {}

    ButtonField buttonPressed = field (ButtonField);

    Status.Show (buttonPressed.getLabel () + "button has been pressed");

    }};

    canadaButton.setChangeListener (buttonListener);

    ukButton.setChangeListener (buttonListener);

    usButton.setChangeListener (buttonListener);

    _fieldManagerBottom.Add (canadaButton);

    _fieldManagerBottom.Add (ukButton);

    _fieldManagerBottom.Add (usButton);

    String [] choiceArray = {'image1', 'image2', 'image3'};

    ObjectChoiceField choice = new ObjectChoiceField ("Drop-down list for choosing" choiceArray, 1);

    ChoiceListener myChoiceListener = new ChoiceListener();

    choice.setChangeListener (myChoiceListener);

    Add (Choice);

    }

    }

    }

    / public class ChoiceListener implements FieldChangeListener {}

    ' Public Sub fieldChanged (field field, int context) {}

    ObjectChoiceField choiceSelected = (ObjectChoiceField) field.<-->

    Dialog.Alert ("choice" + choiceSelected.getSelectedIndex () + "has been pressed");

    }

    };

    What is the error you get?

    I have field listeners that listen on the buttons and the ObjectChoiceFields.  I use code like:

    ' Public Sub fieldChanged (field field, int context) {}

    If (field instanceof ObjectChoiceField) {}

    ObjectChoiceField test = field (ObjectChoiceField);

    Dialog.Alert ("choice" + test.getSelectedIndex () + "has been pressed");

    }

    }

  • Reg: How to set the listener for AutoTextEditField...

    Hello

    I want to put the listener for the two AutoTextEditField and PasswordEditField.

           Please answer as soon as POSSIBLE.

    AutoTextEditField RegistrationNo = new AutoTextEditField ("RegNumber :","");
    Regno string = "";
    RegistrationNo.setChangeListener (new FieldChangeListener)
    {
    ' Public Sub fieldChanged (field field, int context)
    {
    System.out.println ("* inside listener for RigiNumber * :"); ")
    every time when to enter something on RegistrationNo it will be added to the string regno

    Regno = regno + RegistrationNo.getText ();
    }
    });

  • Windows 7 system restore is impedes on the screen "system restore is initializing.

    Thanks for the response back...

    I was excited to your idea to check services and services to load... I didn't know about services of dependant' for the Volume Shadow Copy service and windows backup services... I check them and the services required and dependent services are all started and running...

    There is no error all messages when the system restore runs... it's just not always... (Even running overnight).    When I eventually give up and reboot the pc, I get an error message that the system restore did not complete...

    FYI... my device manager also shows as being very well... and I gave you on a previous message in the event log errors...

    Thank you for all this help and information... even if I have not fixed my problem, I've learned a lot about Windows 7...     :-)

    Bill

    I have a very similar problem with a Windows7 Ultimate x 64 system.

    Services run, my drive is ok, I have a lot of space (> 10 GB), I suffer from any other anomaly/Windows error, but the system restore will not end but freezes on the screen "system restore is initializing. The event log is not shine any light on this because the last event in the newspaper it is that the event log service was stopped, some hang up after the fact and did not get connected.
    Even system restore seems to work, there is a lot of activity of the disk for 5-10 minutes, then the disk activity stops and then the system just rest it seems doing nothing, rather than the SR. I have no problems to paralyze this system there may be something that simple.  Running in Mode safe is without help.
    I ran SFC/scannow in Windows (3 times in fact) but this does not help, either.
  • Creation of local listener for 11.2

    Version: 11g Rel 2
    Platform: Solaris 10
    2 node RAC

    Because of our custom requirements, we create our DBs CARS manually. Due to downtime, we create a listener for each DBs.

    If you are using dbca, all the below mentioned are the things in dbca. But if I used dbca I shouldn't know the existence of the file endpoints_listener.ora... and so on.

    Here's the scenario
    =============

    We already have our SCAN listener running on the port 31548.
    Now we create our local listener. So, I used netca to create the listener.

    DB name                 : HEWPROD
    Listener name           : LSNRHEWPROD (using netca to create this listener)
    Port                    : 25382
    Host name of Node1     : HWSTM348
    Host name of Node2     : HWSTM349
    NETCA added the following lines the listener.ora and endpoints_listener.ora
    1. listener.ora
    ==================
    LSNRHEWPROD=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LSNRHEWPROD))))                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LSNRHEWPROD=ON                                                    # line added by Agent
    
    
    2. endpoints_listener.ora
    ============================
    LSNRHEWPROD_HWSTM348=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=hwstm348-vip)(PORT=25382))(ADDRESS=(PROTOCOL=TCP)(HOST=10.213.107.87)(PORT=25382)(IP=FIRST))))                # line added by Agent
    Question1.
    What is the endpoints_listener.ora file? What does the word "point limit"?

    Question2.
    After the creation of the earpiece using netca, we follow these steps on each nodes to get the listener service DB
    alter system set local_listener='listener_<instance_name>' scope=both;
    eg:
    alter system set local_listener='listener_hewprod1' scope=both;
    The statement above works despite the fact that he has none of these headphones with the name
    listener_hewprod1
    The real listener created by netca is LSNRHEWPROD. But how the (parameter LOCAL_LISTENER) command above?

    Yes, they can listen on the same port because each process uses a different IP address.

    The SCAN_LISTENER is listenening to a maximum of 3 different IP addresses.
    The local listener is listening on the virtual IP address, which is different from the SCAN LISTENER addresses.

    Do not hesitate if you have any questions!

    Melanie

  • A few days ago, Firefox has become too big for my screen. I have to move the slider at the top to get the bar menu at the show and then there only if I hold the cursor there. Very annoying.

    The bottom of the browser window is also under the lower part of the screen.

    Try this:
    It is possible that you accidentally press F11 for full screen mode.

    Press F11 to toggle fullscreen mode.

  • I plan to upgrade my OS to El Capitan.  What are the processor speed and memory required for the operating system works well?

    I plan to upgrade my OS to El Capitan.  What are the processor speed and memory required for the operating system works well?

    I use a processor 2.3 GHz Intel Core i5 with DDR3 4 GB 1333 MHz memory.

    My last similar attempt on another machine resulted in a very slow computer.

    Thanks, Ron

    Apple says the following:

    General requirements

    • OS X 10.6.8 or later version
    • 2 GB memory
    • 8.8 GB of available storage

    For best performance, I would say not less 4 GB and preferably 8 GB or more.

    Your i5 is well able to support properly.

    http://www.Apple.com/OSX/how-to-upgrade/#Hardware Configuration

Maybe you are looking for