How to communicate between two screens

hiiiiiiii refugees...

Today, my task is a communication between two screens...

I created a screen that I view the image and the name of the image...

control of the screen, it is in the two screen...

Please tell hw to switch returns it an amusement value in two screen display a...

The best way would be something along the lines of:

Screen1.Java

SerializableAttribute public class Screen1 extends {}

...

public void updateScreen (int value) {}

update of the screen accordingly using setText, setBitmap, setLabel and other

...

Invalidate(); Maybe not even that - the screen will be repainted once you jump Screen2

}

in response to the pressure of the button

Screen 2 scr = new Screen2 (this);

UiApplication.getUiApplication () .pushScreen (scr);

...

} / / End of Screen1.java

Screen2.Java

SerializableAttribute public class Screen2 extends {}

...

private _parent Screen1;

public Screen2 (Screen1 parent) {}

Super();

_parent = parent;

...

}

In response to the button that is clicked

_parent.updateScreen (valueAssociatedWithThisRadioButton);

...

} / / End of Screen2

Tags: BlackBerry Developers

Similar Questions

  • How to communicate between two application mxml?

    Hi ~ all.

    A.MXML a TabNavigator.

    I want to connect 1 tab in TabNavigator to First.mxml.

    First.MXML is a complete application.

    First.MXML can work alone.

    How can I view First.mxml in the 1st tab of A.mxml?

    Sorry for my English.

    Thanks in advance.

    Kevin.

    I found the solution.

    http://opensource.Adobe.com/wiki/display/FlexSDK/spark+module+and+moduleLoader

    Thank you.

    Kevin.

  • How to communicate between two SWFs residing in different web pages

    Hello

    I don't know about the connection class Local linking two SWFs in the same web page.

    But, kindly let me know if there is a way to connect to two sovereign wealth funds residing in different web pages.

    Thank you.

    LocalConnection can be used for sovereign funds in different Web pages.  they may even be in different browsers or even not in a browser.

    they have just the two must be open on the same local computer at the same time.

    If they are both open on the local computer even at different times, use the sharedobject.  otherwise, use localconnection.

  • How to communicate between different applications on 1 Server?

    As the title says: how to communicate between different applications on 1 Server?

    I'm new to FMS and I am trying to build a program that I need to have a communication between 2 or more applications on the same server.

    How to do this?

    There are several ways to do so.

    1. the favorite for me is make a NetConnection instance of an application to another and make calls between the two using .call NC on one side and client.call interface on the other side

    2. you can use the objects proxy shared to affect this change even

    3 build your own interface for that use the remote features

    Just some thoughts.

    ASA

  • How can we operate two screen on vista - do not reproduce but to run applications separated on each screen-AT

    How can we operate two screen on vista - do not reproduce but to run applications separated on each screen-AT

    Choose the option 'Extended' instead of 'mirrored '.

    http://Windows.Microsoft.com/en-us/Windows-Vista/multiple-monitors-frequently-asked-questions

  • How to replicate between two controllers on duty of platform?

    How to replicate between two controllers on duty of platform?  I saw a preview that says I'm going to need a balancer at the front, but what I need to do to replicate two of the PSC?  I looked in the PSC and don't see any option.  If I posted this in the wrong place, please let me know.  I couldn't find a better place.

    Thank you

    Jamey

    The PSC will replicate them automatically when the second PSC is deployed and pointed the first during the Setup Wizard.

    "When you choose to join a vCenter Single Sign-On existing domain, you enable Mode Linked improved feature. "Your Platform Services controller will replicate with the server for Single Sign-On joined vCenter infrastructure data", of the Center of Documentation of vSphere 6.0

    In addition, you don't HAVE to have a load balancer to have two external PSC in many places. This is a good option, but is not a must.

  • How to communicate between instances of Labview application?

    Hello, I have a question on how to communicate data between two instances of labview application on different computers connected via a network.

    I'll explain what I'm doing:

    I have a data acquisition program that was divided into two independent parts. The backend is responisible for the acquisition of data from several DAQ hardware, and the interface simply displays the data collected. The two parties are coupled by events in labview. The backend sends a new event data (for any one listening) whenever he gets new data and the frontend listens to these events and updates of some graphics on the front panel each time it receives this event. Other than the two parties have no communication.

    Now it is necessary to split the frontend and backend on two different computers, connected via a network. The backend will be connected to DAQ devices as usual, but the frontend is running on another computer.

    So my questions are: will be the my current communication mechanism still work on multiple instances of labview application? And if not, what is the best way to connect the two in a minimum amount of new code, and without interrupting the current program, if I decided to their port of return on the same computer?

    (I thought that a kind of middle-man would be the best who is responsible for networking).

    Please, any advice will be useful!

    Paul.

    I think that the best way to do this is a TCP/IP link.  You can do it, as you suggested, with a pair of 'intermediate' screw at one end, catch you user events in a VI and send them over the network; on the other end, you receive data and turn it into an event, requiring minimal changes to the rest of your code.  The TCP/IP screws are pretty easy to use and there are good examples of LabVIEW.  NEITHER offers the Simple e-mail reference library.  You can also watch "robust TCP' Jack Hamilton of LabUseful.com (WARNING: I've never used or not even watched these screws and cannot check they are really helpful, I have seen discussion and links to them).

  • How to switch between two keyboards (Japanese keyboards have the double function of "direct entry"

    I have a laptop with keys 'English' and 'Japanese' on the same key board.  For example "A" key is also 'CHI' in Japanese, 'B' is also "KO" in Japanese.  How to switch between the two.  It changes itself.  This seems to happen after the mail in Hotmail changed in Outlook.

    Thank you

    Tomoko

    Hello

    Please go to the Microsoft Community Forums.

    From the description of the question, we understand that you want to switch between two keyboards entries.

    Let me go ahead and help you with the issue.

    Here are some steps you can follow to resolve the problem:

    Step 1:

    To change the default language, follow these steps:

    a. Click Start and then click Control Panel.
    b. double-click regional and Language Options.
    c. click on the languages tab, click details and then click Add.
    d. under input language, add the language that you want to use.
    e. under Configuration keyboard/IME, click the keyboard layout that you want, and then click OK.
    Note: Only users who have permissions on the local computer can configure the following options on the languages tab in the regional and Language Options.

    Step 2:

    To resolve this problem, change the hot key settings in your computer system. To do this, follow these steps:

    a. right click on the language bar and then click settings.
    b. in the Text Services and input languages window, click the Advanced Settings button select an action and then click Change Key Sequence.
    c. set keys and then save the settings.

    Hope that answers your query. You can write back to us for other queries/problems related to windows and we will be happy to help you further.

  • How to communicate between the host and the guest in a stand-alone PC

    I have a professional Standalone XP (host) that is not connected to a network. I created a host (XP Professional) using vmware. Pls know me how to communicate and transfer files between the guest and the host.

    Pls post the procedure or send it to [email protected]

    Thanks and greetings

    Ganesh.

    Use "NAT" or "Host-Only' networking for your virtual machine, NOT bridged.

    Activate a shared folder on your virtual computer configuration, map as a network of virtual machine of your shared folder on the host drive.

    Good bye

    Riccardo Riva

    VCP, RHCE, FCNSA

    If you have found this or other useful information, please consider awarding points to 'Correct' or 'useful '. Thank you!

  • How everythings selection between two tags

    Hello
    Use the find and replace tool, I need to select the entire document between two tags. Example:

    I have:

    < owntag > < p > Important Note: these online forums are discussions to users of Adobe products and are not an official customer etc. etc. < p > < / owntag >

    I need to select:

    < p > important Note: these online forums are discussions to users of Adobe products and are not an official customer etc. etc. < /p >

    I have to do in many pages, and each page has the same tag... for example, < owntag > < / owntag >. No matter what there is between the tag, I want to select the entire document after the < owntag > and before < / owntag >


    Pls u can tell how can I do this?

    TNX lots =)

    "Dylan1980" wrote in message
    News:go63sv$5D0$1@forums. Macromedia.com...
    >
    > I do in many pages, and each page has the same tag...
    > example
    > . No matter what there is between the tag, I
    > wish
    > Select the entire document after and before

    Select use regular expression and put it in the search field:

    ([\W\w]+)

    What you put in the field replace depends on what you want to do with
    the material between the . To get rid of the opening and
    closing , but keep the original content, just enter $1. TO
    preserve the , enter the new material, surrounded by :

    It's replacement

    --
    David powers
    Adobe, Dreamweaver community expert
    http://foundationphp.com

  • How can I run two screens side by side in Windows 7 Ultimate?

    I use Windows 7 Ultimate, 32-bit version on a Dell desktop computer.  I have two LCD screens showing identical pictures.  What I want to do is to have the two screens as one, so that I can drag a document or an image on a screen while watching another image or another document on the original screen.  I'm used to be able to do this until I had to format my C: drive to get rid of a malfunction.  I have reloaded my Windows 7 Ultimate but forgot or cannot display restore both. A single screen appears when I look at the display section in the Panel. Any help to get back to my two original screen function would be very welcome.
    banned

    1 DVI, the second connector is VGA or also known as the D - Sub. A monitor itself requires no software to run.

    What connectors you join takes him to the computer? Connectors in the same group as the USB, audio jacks and network are referred to as being on board, connectors in parallel slits separated from these ports will be a graphics card. In this photo embedded graphics connector would be where is the serial port.

    Not all motherboards will allow you to use both the on board graphics card ports at the same time and. Installation of the card automatically turns off the edge card.

    In this example, the graphics card has two types of port (analog video port = VGA) and in this case the two ports can be used.

    Some graphics cards have only DVI ports, but most will support VGA with the use of an adapter DVI / VGA

  • How to communicate between AEGPs?

    Hi all

    Is it possible to communicate between AEGPs? I know that by adding more, we can communicate between effect and ECAP. We can also communicate between AEGPs with the Suite?

    Thank you and best regards,

    Dheeraj

    Yes, a custom suite is the way to go.

    Wait with the help of the suite after you are sure al the AEGPs loaded, otherwise you can try to use the suite before it has been set.

    you do not have this problem using a suite in an effect because AE loads AEGPs first, and then only the effects.

    the first call of idle would be a good time to load more.

  • How can I connect two screens for MacBook Air (mid-2012)

    I have a macbook air (mid-2012) which, according to apple, can support two external displays.  I have an external display connected to the thunderbolt port, but may not know how to connect to the other?  The mac has only a thunderbolt port?  It has two usb ports.  Is there a thunderbolt display port separator that works with this Apple?  When I look on amazon I see some who make the separation, but they say that they do not work with the Mac?  Any recommendations would be greatly appreciated.  Thank you in advance!

    You can daisy chain a thunderbolt cable from the first screen to a second screen to support both with port of a sudden lightning. Reported here.

  • How to communicate between ExtendScript and basic generator

    I run a separate node server as described in this tutorial to create a plugin with generator-core. http://tomkrcha.com/?p=3896

    I'm in a situation where I need to send a lot of JS to photoshop via generator.evaluateJSXString (). But it can easily become uncontrollable that you can send a string. So, for any complicated feature, it becomes difficult to maintain. Is it possible set a bunch of functions in a script to measure file and then call these functions from the application node?

    So I could send:

    generator.evaluateJSXString ('doSomeStuff ()');

    And in a script somewhere (I don't know where this script should go)

    I have the defined function that can do something

    function doSomeStuff() {}

    for (var i = 0; i < 10; i ++) {}

    doc.artLayers.add ();

    }

    }

    Where the Script to extend file would in this case? OR is there a better way to make this kind of thing.

    Just a mixed collection of thoughts:

    • Yes, you can package scripts in the form of .jsx files (also jsxbin if you prefer not to share the source) and run with generator.evaluateJSXFile (path), which will work even in ESTK. It has some limitations

      • It is just a file that runs, that is not this function 'call '. I managed this by dividing my Javascript libraries and plugins (= this a function). Can I use Gulp to concatenate libraries necessary for each plugin to create scripts of jsx 20 + that I call the two panels of node & Photoshop
      • There is no parameter passing, but it can be overcome by the presence of a script (that you run a string) parameter store (or fetch result) to Photoshop as a descriptor of persistent custom action
    • The plugin folder where your main.js is accessible by Node.js variable '__dirname '.
    • Depending on how you use paths, you should consider Windows "------" vs. Mac ' / '.
    • Another good way of communication between the panels of Photoshop and the node is a Web server in the configuration node and use Ajax/jQuery in Panel of Photoshop. You can do ~ 500ms update on election and get feedback from Panel pretty real time.
  • How to communicate between clients?

    Hi all

    Of course it can be done with Flex after seeing the internet meeting room request which is developed by Adobe. And my goal is similar to that. One of the clients is the host which acts as an information centre, while all other customers can read/write data with the host. As far as I know, there is a LocalConnection object. But customers are located in various locations, how can we share LocalConnection? Or y at - it another way to reach my goal?
    All the tips and ideas are appreciated. And more detailed the better.

    Thank you and best regards,
    Felix

    You will need a server. BlazeDS is open source free alternative to LiveCycle Data Services business and more capable.

    And it's not BlazeDS * just * bridge between java and flex. It is a lot more particularly with its real-time e-mail close. And that's what you're looking for.

    Read and run these demos:

    http://coenraets.org/blog/2008/04/Yahoo-maps-collaboration-using-Flex-and-BlazeDS/

    http://www.Adobe.com/devnet/flex/articles/yahoomaps_collaboration.html

    and finally, click this URL in two separate browsers:

    http://coenraets.org/samples/flexmaps/flexmaps.html

    Connect and start playing!

    ATTA

Maybe you are looking for