Multiple screens in an MIDP client

Hi,
I've just started working with J2ME and everything involved with it. I bought a book called core j2me published by sun. It explains a lot of things, but its also left me with a few questions. I want to make an extremely efficient well coded program. things im confused about are as follows:
1) is it possible to (after generating each screen) move back and forth between them) without halting or errors.
2) is it possible, that when creating a new displayable object, instead of text at the very top, could there be an image. for example:
fm1 = new Form ("this bit of text i'd like to show an image");
3) i've seen examples with images, but considering programs are jarred after compilation is there any way of including the file within the jar and it being successfully able to be read?
thanks in advance,
j2meBhoy

to your question 1: Yes it is possible to handle multiple screens in j2me, but it depends for which device you are writing the programme, It is very memory consuming and we know small devices are always low in that. You just swap your screens using display.setCurrent(yourScreen);
asn for q2: You can not put an image on the top of a form, but you could achive this using Canvas, just draw all your images where ever you wish, I wud recomend you to use Canvas instead of Form to do image drawing and all stuff, it is mainly used for game programming and all.
ans for q3: Yes you make a folder called images and put the folder inside your jar, or you just can directly place your images near your class files, but i wud not recomend you to do this.
hope it solves your queries...
cheers
Manas

Similar Messages

  • SRM 7.0 Multiple screen for singe document

    Hi Experts,
    In SRM 7.0 when I select an SC and click create confirmation button, a pop-up window gets open for the confirmation to be entered.
    At this stage, If I click the create confirmation button again on the parent screen a new window get open for confirmation.
    Now I am able to create 2 confirmation document for the same shopping cart with the same qty.
    Can this be avoided? Is it possible to get the parent screen inactive while working on the pop-up/child screen?
    Any better ideas/solution?
    Thanks,

    Hi,
    Please test with NetWeaver Portal Personalization - Work Protect Mode. Ther is an option Discard unsaved data (open page in same window). If it does not help I think ther is no easy way. BTW, my clients are very happy with multiple screen function and item copy&past function between screens.
    Regards,
    Masa

  • Passing data to multiple screens through SAP webgui;

    Hello, I'm working on building an application that requires me to pass data to multiple screens of a SAP transaction (IW31) through SAP webgui.  The requirement is to enter the required information in the initial screen, "Header data" screen and in the "Object Data" screen. I'm using the below URL to launch the webgui:
    http://myserver:8001/sap/bc/gui/sap/its/webgui/!?sap-client=800&sap-user=xxx&sap-password=yyy&sap-language=EN&transaction=iw31%20CAUFVD-EQUNR=20006001&AUFPAR-PM_AUFART=PM01&CAUFVD-GSBER=0001&OKCODE=/00&CAUFVD-ILART=103&~OKCODE==IOLU
    This is failing with the following error message:
    *Flow control: Entry SAPLCOIH, IOLU, A0, *   , *   , * is missing in T185*
    I also noticed that if I stop at the point where I enter information in the initial screen and enter into the header data page using the below URL, it is working fine. The URL used is
    http://myserver:8001/sap/bc/gui/sap/its/webgui/!?sap-client=800&sap-user=xxx&sap-password=yyy&sap-language=EN&transaction=iw31%20CAUFVD-EQUNR=20006001&AUFPAR-PM_AUFART=PM01&CAUFVD-GSBER=0001&OKCODE=/00
    Can anyone please explain what is incorrect in the URL I'm passing?
    Thanks in advance

    Hi Vijay,
    Thank you for your prompt response but I do not understand your answer or perhaps I am not makig myself clear.
    Let me explain the current process:
    1) Z program collects data and exports to Memory ID 'TEST01'.
    2) Z program calls SAP program
    3) SAP program calls User Exit '001' and data is read from Memory ID 'TEST01'.
    4) SAP program collects some of the data and then executes SAP FM to continue processing.
    5) SAP FM Executes User Exit for FM and data is read from Memory ID 'TEST01'.
    6) SAP FM returns completed data back to SAP main program.
    7) Z Program collects results from SAP program.
    New process:
    1) Z program collects data and exports to Memory ID 'TEST01'. Data now includes filter for CC.
    2) Z program calls SAP program
    3) SAP program calls User Exit '001' and data is read from Memory ID 'TEST01'.
    4) SAP program collects some of the data and then executes SAP FM IN PARALLEL PROCESSING to continue processing.
    5) SAP FM Executes User Exit for FM and an attempt to read data is read from Memory ID 'TEST01' fails.
    6) SAP FM returns completed data back to SAP main program.
    7) Z Program collects results from SAP program.
    The dilemma is how to capture the proper CC filter in the FM exit when SAP is unable to read the data from memory ID 'TEST01'. I guess I can understand this since the tasks are executed in separate sessions and servers from the one that started the program since we are using a server group.
    Perhaps I am missing something with respect to exporting to memory IDs?
    Thanks.

  • Resizing Stage to fit multiple screens

    Hi, I'm designing a Flash website and I want the stage to
    fill the viewer's screen, similar to www.s-w-h.com. I've always
    designed flash sites with one particular size in mind, never for
    multiple screen sizes. I know there's a Stage.onResize property I
    can use, but I'm sure there must be a limit to the actual size of
    the viewers screen, otherwise it would kill my layout and design.
    I'm wondering whethere there's a technique flash designer's use to
    effectively and optimally resize, i.e. choose only 3 stage settings
    and work around them, or 3 browser types (IE, Safari, Firefox) and
    work from there. I ask this because I have also noticed that my
    Firefox browser fits my whole screen while my Safari browser does
    not. So there are many variables to consider. What would be the
    best way to apprach this?

    Check out the Stage class in Flash. It lets you know the
    actual width and height of your clients browser. You can add a
    listener to your main movie to look for onResize events.
    That is a great website.
    Let me know if you need some extra pointers.
    Cheers
    Gorka

  • Android Multiple Screens

    Hi,
    I was wondering if it is possible with Adobe air to allow for multiple screens in Android. I have a HTC Incredible and a Galaxy Nexus both of which support video out. Android currently only supports mirroring for Video out. I wanted to know if it would be possible for adobe air to recognize the video out of the device as an external display that use either a MHL HDMI Out (Galaxy Nexus) or Analog-Composite video out (HTC Incredible). To illustrate a scenario that would use this: let say the app is a gallery and has x amount of pictures. The user has a video out cable connected and is recognized as the second monitor. Once the user sees a picture they like they would click on the image. Once the image is clicked it is sent to the 2nd display (the video out of the Android device) so the picture is being displayed on the larger screen while the user is still free to browse the pictures. Is this in realm of Adobe Air capabilities? Or am I misinterpreting "Multiscreen Development"?
    Thanks,
    -Nick

    Hello,
    Anyone have information about this problem ? I have warning about hight resolution for tablet when I publish my application on Android Store ?
    Thanks for you help.

  • Can Multiple DOE users access same client

    Dear All,
    I have a use case where manager and his team have to use the same physical device ( It mean same client in the handheld and also the same application). Manager and all the team members are DOE Users.
    As far as i know, we will have multiple local users in the client and mapped to single doe user, where as synchronization will happen through DOE sync user, who is configured in the client. During Sync DOE authenticates this user.
    But in my use case, DOE should authenticate all the users (user with which i am synchronizing the data). Is this possible in the standard client? Is there any possibility to achieve this?
    Regards,
    Kiran.

    HI,
    Your requirement is a standard behavior and there is nothing like  all the local client users are mapped to DOE users in default client.
    If each local client user has a corresponding DOE server username(i guess it need to be the same username or so) , with a user logged in , he/she can provide their own sync password which will take sync user as the currently logged in local client user.
    Only catch here that irrespective of which user is synching, all the messages in the queue (new data,modifications etc ) created by all the users will be send to server with this sync.
    Regards,
    Liji

  • Can i have multiple screens on my mac book pro when connected to my iMac using a firewire cable?

    What do I need to have multiple screens when I connect my iMac to my Mac book

    You should also ask this in the MacBook Pro forum. This is the forum for the 13” white and black plastic MacBooks that were discontinued in 2010. You should also post this question there to increase your chances of getting an answer.
    https://discussions.apple.com/community/notebooks/macbook_pro

  • How do you get multiple screens on the iPad with iOS 5.1.1?

    How do you get multiple screens on the iPad with iOS 5.1.1? We just upgraded to iOS 5.1.1, and we see no way to be able to open multiple screens at once. Before, there was a small button in the upper portion of any window. That button would take you from a particular window to the place where multiple windows are open at once. Does it do it differently? Is there a special setting button that we have missed? Thanks!
    One more thing: We are only talking about Safari.

    Guitaristica-
    I don't think I've seen a way to have separate Safari screens visible at the same time.  The small thumbnails were deleted in one of the iOS updates, and replaced with a multiple "Tab" system.
    You can open an additional screen in a new "tab" by pressing and holding on a link until a new menu comes up.
    Fred

  • We run an iMac 3.4 GHz I7 for our church worship service; we haven't upgraded to Mavericks because we heard about issues with multiple screens crashing.  Has this issue been resolved?  Thank you!

    We run an iMac 3.4 GHz I7 in our church worship service; we have front screens and a stage display monitor ; we haven't upgraded to Mavericks because we heard about issues with multiple screens crashing.  Has this issue been resolved?  Now that we are 2 upgrades behind, I'm getting little concerned.  Thank you!

    Oh, well that was a whole other kettle of fish:
    Oh the G4 I attempted to install iLife '08 before Lepoard was available. About the only thing that installed cleanly was iPhoto. I ended up reinstalling everything back to iLife '06, and then upgrading back to the current stable version of the iLife '06 version. I didn't attempt a reinstall until after I upgraded to Leopard.
    When I did reinstall, I made a iLife '06 folder, copied all iLife apps into it, and upgraded. Seemed to work, except for the part where iMovie gets left behind and iDVD is only mostly functional.
    When I installed on the other 2 machines, it was after installing Leopard and all upgrades. On those 2 machines, I didn't bother with the copy, I just moved everything to the iLife '06 folder I created, and did a fresh install.
    I didn't have to do anything with the iPhoto Libraries, that I can recall.
    I always do an upgrade, never an archive and install. I've never had a problem with this back to 10.1 or 10.2.

  • Is it possible to use certutil to export multiple certificates from a local client machine store, to a .p7b file?

    Is it possible to use certutil to export multiple certificates from a local client machine store, to a .p7b file?
    Scenario: We have a few legacy certificates based on some legacy templates (2012 R2). Some belong to an old SubCA (2008 R2).
    I’ve can manually export them using certmgr mmc on the local machine to a single .p7b e.g.
    cert_backupNEW.p7b. But this is not a practical solution for me and I want to achieve this remotely via certutil or some other util that comes with Windows 7 machines.
    I’ve already worked out how to run a certutil command to add the certs back into the store e.g.
    certutil.exe -addstore -f my cert_backupNEW.p7b
    Is there a way to export multiple certs to a single backup cert, or is what I’m trying to do not possible with multiple certs?
    TC

    Something like this:
    $store = New-Object Security.Cryptography.X509Certificates.X509Store "my","localmachine"
    $store.Open("ReadOnly")
    Set-Content -Path exportedcerts.pfx -Value $store.Certificates.Export("pfx","password")
    $store.Close()
    note that this command will fail, if there are certificates with non-exportable keys. You cannot export certificates with non-exportable keys.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

  • Call multiple screens from LSMw

    Hi
    i want to call multiple screens from lsmw
    I need to call a three transaction from LSMW wich are subzequent steps for data entry.
    1) first tcode to be called is eprodcust which creates some master data and using this master data and some fields of data creatd i need to call two more tcodes first iq01 to create meter and save then eg31 tcod to feed data.
    Please suggest where in lsmw can i give options for suc hscnerio and call of subsequent screens.
    regards
    Edited by: Prieti_V on Nov 8, 2011 8:28 PM

    Hi Priti ,
    we have few options to handle such cases , to avoid Locked Problems what you can do is
    -->write BDC program within LSMW to create installation ( this will be created within step of 11 Convert Data ).
    -->Based on the above BDC results ,run another BDC within LSMW to create Device.( this will be created within step of 11 Convert Data ).
    -->third BDC records , let SAP do it thru LSMW or can you do it convert data step itself.
    this approch needs lots of codes , so in worst case and if you dont want to break the loadings the follow this.
    *Better to find any BAPI which will do creation of installation ,devices
    regards
    Prabhu

  • Opening multiple screens in safari

    how do i open multiple screens using safari???

    Cmd-N on the keyboard opens a new window.
    Also, +File -> New Window+ from the menu bar does the same thing.
    You can also open a new tab in an existing window (click the plus sign or Cmd-T). Then click-hold on the tab and drag it outside the current window. A new window will open from the tab.

  • Using Multiple Screens

    Does anyone know if Premiere Elements 4.0 can be broken a part in components to use on multiple screens?

    It all depends what you're wanting to do, t.
    The quality of the output for both is indentical.
    If you're wanting to edit, add titles, effects, transitions, keyframe effects, add motion paths across pictures and create DVDs, either program will work.
    If you need embedded timelines, increased support for a wider range of media, broadcast functions for tuning color ranges and other professional features that I barely understand, you need Pro. And, if you plan to produce deep-level DVD menus, you may need Encore rather than Premiere Elements' basic DVD creator.
    So it's up to you. There are many professionals using Premiere Elements. So it's kind of like Photoshop Elements vs. the full version of Photoshop -- if you don't understand the differences, you can probably get along fine with the consumer version.
    As I've said, the quality of the results from the Elements and Pro versions are identical.

  • Manage multiple screens

    Hi there,
    i got a question concerning an example which was posted about managing multiple screens which Angela Caicedo posted on oracle blogs:
    https://blogs.oracle.com/acaicedo/entry/managing_multiple_screens_in_javafx1
    I got all working but one thing won´t work because of the first line:
         Group root = new Group();
           root.getChildren().addAll(mainContainer);
           Scene scene = new Scene(root);
           primaryStage.setScene(scene);
           primaryStage.show();
    Because all the screens get finally added to a Group they are not resizable. The main window could be resized but the content
    won´t because of the Group.
    I tried some things but without any luck.
    Could one point me plz to the correct direction
    Thy in advance
    Ingo

    I think you misunderstood my previous post.
    Replace
    Group group = new Group();
    group.getChildren().addAll(mainContainer);
    Scene scene = new Scene(group);
    with
    Scene scene = new Scene(mainContainer);

  • Multiple screens on console

    I understand that Solaris on SPARC does not have virtual terminals on the console like Interactive UNIX had. We need that basic functionality - we have multiple screen based utilities that need to be accessed from the console and that are running all the time.
    Is there any way to achieve this? Are there third party products?
    - Orion

    You can try the 'screen' software. It gives you as many terminals
    as you want thru a single tty. You use hotkeys to switch between
    them. screen is freely available. check the gnu sites.
    kommu

Maybe you are looking for