Form on screen, not updating for new data on inputstream

I'm writing a j2me midlet that will initiate a bluetooth connection to another device. I have been able to set up the inputstreams and outputstreams and send some data between the two devices using serial port emulation.
The following is the code for this part of the program:
ServiceRecord s = (ServiceRecord) serviceVector.elementAt(a);
        int data[] = new int[10000];
        InputStream in = null;
        OutputStream out = null;
        Form dataForm = new Form("Data");
        dataForm.addCommand(exitCommand);
        dataForm.addCommand(backCommand);
        dataForm.setCommandListener(this);
        display.setCurrent(dataForm);
        try {
            StreamConnection conn = null;
            String url = null;
            try {
                url = s.getConnectionURL(ServiceRecord.NOAUTHENTICATE_NOENCRYPT, false);
                conn = (StreamConnection) Connector.open(url);
            } catch (IOException e) {
                System.err.println("Note: can't connect to: " + url);
            in = conn.openDataInputStream();
            out = conn.openDataOutputStream();
            int ch;
            out.flush();
                while (((ch) = in.read()) != -1) {
                    String aChar = new Character((char)ch).toString();
                    dataForm.append(aChar);
                    dataForm.append("\n");
            conn.close();My problem is that the midlet on the mobile phone will only update its window to display the new screen as a form once the connection has been terminated, that is when the while loop has been broken. Is there a way in which to display the form while the inputstream is waiting for data and then watch the addition of data in real time to the form?
I am relatively new to java and have searched the forum/ internet for such a problem but have not been able to find a solution. Cheers

I don't think that is it now that we are into Monday and it still hasn't updated. Anybody else having issues with their text descriptino not updating? What's a good email address to contact apple about the problem. Non of the "contact Us" email addresses seem to fit the description. The [email protected] is a blackhole.

Similar Messages

  • IWeb Blog- RSS not updated for new Comments?

    Hey gang-
    It appears that Comments added to Blog entries on an iWeb site do not appear in RSS updates to that Blog. Is there any way to make them do that?
    Thanks!
    Dave

    Follow-up post. Strangely, when checking ths RSS feed from IE at work, I see the new posts in the source data of the feed. So this is not an iWeb problem, but probably related to the more general RSS update issues within Safari.

  • WLAN-NG26 not updated for new kernel

    Hi,
    I just wanted to post that the current wlan-ng26 package hasnt been compiled for the 2.6.11-7 kernel and it still isnt for the 2.6.11-10 which was released recently. It is pretty important that modules keep working in case of pacman replacing the kernel. And it is also - especially for a distro like arch - very important that the internet connection keeps working.
    Well, I tried to upgrade that package myself but didnt have any luck. Maybe somebody could do this - Somebody smarter than me 
    Anyway - I love arch - I just moved totally after already having tried it a year ago!

    Hi nagoola,
    Please inform the maintainer of wlan-ng26 so he knows.  ([email protected])
    Thanks.

  • Period is locked for new data

    Good Morning,
    Anyone get this error before?
    -4013:Period is locked for new data
       at NetPoint.SynchSBO.SBOObjects.SBOOrder.NetPointToSBOOrder(NPOrder order)
       at NetPoint.SynchSBO.SBOObjects.SBOOrder.NetPointToSBO(NPQueueObject qData)
       at NetPoint.SynchSBO.SynchObjectBase.Synch()
    Haven't received it before today, of course, the day we go live.  The period we are posting to is not locked for new data and it seems to be limited to one customer only...  Any immediate thoughts?
    Thanks so much,
    Kristen

    OK, I have it working for the moment, but I am very curious about this.  I went back in and selected the Install Plugin button 2 more times just to be sure, I restarted everything and they went through fine.  Could it be that the Plugin installed partially before?  It didn't seem so because other orders were flowing both ways and just certain ones were seeming to get stuck...  Then more gradually started failing until none were passing through.  This has been working seemlessly in this environment for weeks until of course go live today, so I am at a loss.  Probably just that one piece of excitement for Go Live that we were missing.  All is well.  James, thanks for responding.

  • My Mail has frozen - can access my hotmail through Safari but Mail now has a blank rectangle on the screen and the inbox underneath it has not updated for 2 days

    Mail giving problems. Small white rectangular box comes up on screen and inbox underneath has not updated for 2 days.
    I can use Safari to get new messages but, since getting this laptop, when I go to Hotmail via Safari old messages self delete every so often, whereas via Mail messages stay in the inbox unless I actually delete them. Any suggestions?

    Here is a photo of what I see when I tap on the mail icon to open it. It stays there for a second or two and then goes dark. Then I actually have to put my iPad into sleep mode in order to use it again. The app will NOT close no matter what I do, just shutting it down or put it in sleep and then restart  it.
    here is when I tap the mail icon. It looks like an empty page but you will see the format of the mail page. Next photo is what is see after a second. And the last photo is what I see before the iPad locks up or Les blank. I hope this makes things clearer as to what the problem is. Thanks for your help, hope this helps! Diane May.

  • I have a 2006 imac (intel) w osx 10.4.11 and need to update for new ipod touch? software updates says up to date, but itunes requires 10.5 or higher? any solutions?

    i have a 2006 imac (intel) w osx 10.4.11 and need to update for new ipod touch? software updates says up to date, but itunes requires 10.5 or higher? any solutions?

    i have a 2006 imac (intel) w osx 10.4.11  <  Tiger
    It's not just iTunes you need to update...
    You need to upgrade to Leopard v10.5.8 at the very least in order to sync, restore, and backup an iPod touch.
    See iPod touch system requirements here.
    Leopard is available from Amazon here.

  • HT201077 As of recently any photos I add to a shared photostream will not update for others. Only I can see them. How come others sharing this photo stream are not getting the new photos?

    As of recently any photos I add to a shared photostream will not update for others and I don't see the updated photos on my other devices. Only I can see them from the device that i've posted from. How come others sharing this photostream are no longer getting the new photos? My iphone (the device i'm adding from) shows 20 pictures in this shared photostream and yet 4 other people that I share this photostream album with and my ipad only show 12 photos. For the past week I keep adding photos thinking people will see them but it just won't update the new ones. Any ideas how to fix this?

    You can stop new photos being automatically added to Photostream in iPhoto from iPhoto preferences > Photostream.

  • Validity Table not updating for 0IC_C03 while updating data

    Hi,
    1.Validity table not updating for 0IC_C03 while updating data in my BW 7.4 With HANA data base?
    Key fields : 0Plant
                       0Calday
    if you run this programe after loading data - RSDG_CUBE_VALT_MODIFY it is updating.
    2. I am not getting no marker update option in non-cumulative Info cube 0ic_c03 manage tab or in DTP tabs check as per 7.4 modifications?
    and  2LIS_03_BX in DTP I am getting below this option only
    Can you please give me solution for this issues.
    Regards
    Umashankar

    Hi Uma,
    Please go through the below link which might be helpful.
    Not able to Edit Validity Table : RSDV
    Marker Update Option is available under Collapse tab of Info cube.
    Thanks,
    Karan

  • Windows could not search for new updates after applied June 2014 Windows Updates - Error code 80244004

    After applied June 2014 Windows Updates from Microsoft (Not using WSUS server to obtain WU), our Windows Server 2012 R2 and Windows Server 2008 now getting this error message when we perform the "Check for Updates":
    Windows could not search for new updates.  Error code 80244004. 
    Richard

    Hi Richard,
    Just addition, please refer to following KB to reset Windows Update components and monitor the result.
    How do I reset Windows Update components?
    If didn’t use ESET security software, please also refer to following thread and check if can help you.
    Latest
    version of Windows Update causing error 80244004
    Hope this helps.
    Best regards,
    Justin Gu

  • PSA showing Request not updated to any data target using delta

    Hi BWers,
    I am very new to SAP and have a IDES installed with BW. I am trying to do a simple data load from a flat file. I have managed to create a InfoPackage, but when I schedule it and then go into the data source -> manage and look at the screen :
    Requests for PSA /BIC/Bxxxx
    I see the Request updated having a Red triangle with an exclamation mark in it and it says
    "Request not updated to any data target using delta"
    Wondering if someone can help me resolve this so that I can further create a DTP and load the data into the InfoObject.
    Thanks for all your help.
    Manish

    Reg : Delta Load : Production Data
    Current Scenario :
    we have existing system pulling data from 0CO_OM_WBS_6 ,ZPS_0CO_OM_NWA_2
    Structure underlying infocube:
    2 Data Sources >> 1DSO >>1 Infocube .
    Usually the Data is loaded in delta format on daily basis using process chains.
    For last one month the delta is not picking properly :
    Example :
    A WBS Element is created 2 years back and it open and getting its update into BW ,
    latest amount or cost incurred for the WBS Element is not picked for certain WBS only :
    I have Tried Giving a Full Infopack load to the DSO , but as DataStructure was migrated from 3.5 to 7 landscape :
    its showing this error:
    Request not updated to any data target using delta,
    i went and created DTP which didnt help much Because latest isnt caputered .
    if i goto RSA1old and find the full req and trigger it ,it says inti overlapping ,
    how to over come this as this is a production issue
    Obaid : pls help me on this issue , any others expert pls help

  • Period locked for new data on PO an SO

    Since last week when we try to update a PO anr SO we got this Message
    PERIODE LOCKED FOR NEW DATA.
    For exemple we change the remark feild only and we got this message.
    Since PO and SO are not impacting any gl entry this is not normal. on the DEMO DB i can update a SO or PO when the perio is close without any problem

    Hi Roy,
    First you have to change if your posting perioud is close.
    if close then choose your posting perioud then in your window left side a sign of triangle click on.
    after change ur status  and after u are able to do changes in previous posting perioud.
    this may help u...
    Thanks.
    JRAJPUT

  • Inspection Lot Status (CROK)not updating for Certificate Reciept

    Hi
    I want to inspect vendor materials on the basis of thier Quality certificates
    1) Config Set up:
    a) Certificate type :YA72
    Cert for each PO  item :checked
    Certificate Check reqd:  :Checked
    Enhance cert processing: Checked
    b) Control key :0005 ( Delivery release ,Certificate)
    2) Material Master (QM View)
        QM Procurement : Checked
       Control Key :0005
       Certificate Type :YA72
    3) Goods Recipt
        MIGO < Purchase Data<Cert Reciept :Yes
        Inspection lot is created
    Question : Inspection lot status is not updating for Certificate Recived or not
                      My understanding is Inspection lot status should be :CROK -Certificate Recieved                                                                               
    CTCM-Certificate Missing
    Pls correct my understanding in case i am missing something
    Thanks in advance

    Is the status in the GR document have the cert field set as 5?
    Since you set the "certificate check required" you must do an explicit check of the cert.  I included below the help screen from this indicator in SPRO.
    You should be able to review the status of your cert in transaction QC53.
    FF
    Explicit Inspection of GR Certificate Necessary
    If you set this indicator, at goods receipt the system will generally perform as described in the field "Control without certificate".
    This means that even if you confirm the certificate receipt at goods receipt, and thereby set the status "2 - Certificate received", the system will still perform as specified in the field "control without certificate". See Control without certificate.
    You must explicitly check the content of the certificate recieved at goods receipt and set the status "5 - Certificate filed and inspected ", before, for example, the inspection lot status will be set to CROK.
    You can confirm that you have checked the content of the certificate in the certificate transaction or when making the usage decision.
    Note
    If you have set the indicator and chosen an unsuitable setting in the field "Control without certificate", the goods receipt can be generally blocked.
    This security function is generally used at electronic certificate receipt to check the accuracy of the certificate contents.

  • Issue regarding 0MATERIAL_ATTR  - Attribute not Updated for Some Materials

    Hi All,
    As per requirement, I had enhanced 0MATERIAL_ATTR DS with one customer field MRP Controller.
    After enhancing 0MATERIAL_ATTR, I had made necessary changes in related objects like 0MATERIAL Info Object & related transformation for this new attribute.
    After making changes, when I had done Repair full request for 0MATERIAL_ATTR, newly added attribute had not updated for all material, other attributes were updated correctly but MRP controller had not updated for some records.
    I am confused with why attribute(MRP controller) updated in some Materials & for some materials its not updated.
    I had checked in PSA, data for this added attribute is come in PSA but not updated in data target (0material).
    I had also activated master data by running Attribute change run but still problem persist.
    Please help.
    Regards,
    Divyesh Khambhati

    Hi Venkatesh,
    I had write code in CMOD for MRP controller.
    As data is coming fine till PSA but its not updated in Data Target (0MATERIAL) .
    if I take one example..
    For exp Material XYZ has two entries in PSA table, one is updated during delta load & recent one which come though Repair Full request.
    Now newly adder attribute MRP controller available in recent request of Repair Full but that is blank in case of prior delta update.
    I am confused because MRP controller attribute is updated for some Material but for some material its remain blank.
    please help.
    regards,
    Divyesh Khambhati

  • Load status in PSA "Request not updated to any data target using delta"

    Hi,
    I need to delete the Unwanted request from PSA with status u201CRequest not updated to any data target using deltau201D
    There are lot of requests are there in PSA but some of them loaded with status
    u201CRequest updated in Data targetu201D u2013 I donu2019t want delete this requests.
    Others u201CRequest not updated to any data target using deltau201D  -- need to delete
    We are deleting manually every week end.
    Is there any program or tables which can delete automatically unwanted u201C Request not updated to any data target using deltau201D requests from PSA.
    Thanks for your help in Advance,
    Raj.

    Hi Rajesh,
    You may create a simple process chain, where you could include the variant "Delete PSA Request".At the bottom of this variant maintenace screen you would find options exactly matching your requirements.It's a very simple option and should not take you more than 5 minutes.
    Best Regards,
    Bansi.

  • Guide me for any way to avoid manual update for processing data package

    Hi sap gurus,
                         I am new to SAP BI.  In my project everyday I have to manually update for processing data packets for an infocube. Can you tell me why it happens that some time data get stuck and we have to do manual update? Is there any possible solution to avoid or correct that? Can we make some kind of Process chains that automatically do these things?
                         Please reply..as it is very irritating to do same thing everyday..
    -Thanks in advance.

    We have program RSARFCEX, which can execute all of them in one go.
    But you can not schedule it in process chain, as you will never know when TRFC will struck. So it will execute without anything if there is no TRFC struck.
    Pravender

Maybe you are looking for

  • Open Save As Dialog Box

    I would like to create open Save As dialog using ColdFusion. The user will be clicking a button and the dialog will pop up asking the user if he want to save the file. I know that it can be done using JavaScript, but I am not sure how it could be don

  • Manager's problem with appraisal

    Hi there Our MSS users are able to see their subordinates' appraisal documents, but not their own. I am using evaluation path O-O-S-P for object O with RH_GET_MANAGER_ASSIGNMENT. But now according to SU53, the system is asking for object P, with DISP

  • I was using Mavericks Version for iPhoto 9.5.1 now i want to use the same library into my Mountain Lion version of iPhoto 9.4.3. how it;s possible?

    i just re installed Mountain Lion 10.8.5 on my Mac. i was using Maverics 10.9.1 before now my question is my iPhoto library is unable to open on Mountain Lion version of iPhoto because i copy that library from Maverics version of iPhoto 9.5. now i am

  • Reconciliation Accounts

    Hi, Please some one explain what is Reconciliation Account? what is the purpose of it in IR and IP. Please guid me with example. Thanks, Pria.

  • Reading menu props for menus stored in repository

    Hi All, I need to come up with a way to read the roles on a menu item when the menu is stored in the database. The company I work for use to run a pl/sql routine that pulled this data from the tables in the repository. This no longer works becasue th