Flex Mobile: PersistenceManager not saving data (only on some iPads)

I have a function (save()) that saves a username after user login and a function (get()) that gets the username everytime the App is restarted so the user doesn't have to log back in and can work offline. This works on my iPad 2 and 3, but I have another iPad 3 that this does not work on. When the App is fully closed and reopened the "username" is not held onto. Is it my code or the device?
Example:
public var saveData:PersistenceManager = new PersistenceManager();
public function save():void
saveData.setProperty("username", txtUsername.text);
  saveData.save();
public function get():void
  var username:String = null;
  if(saveData.getProperty("username"))
     //This comes back null on one iPad but not the others
  username = saveData.getProperty("username").toString();

Similar Messages

  • Appleworks Speadsheet Randomly not saving data

    I have a few small spreadsheets I've created that seem to be reverting and not retaining changes. Even save as created files are not saving. If I just add one line of data at a time and save it, it seems to retain it, but multiple lines are lost as if nothing was saved. It only seems to be happening in certain (small) files. Any suggestions appreciated.

    Hi Yvan
    Sorry to get back so late, but I think I've discovered the problem. I was just trying to save to my main hard drive. What I did was create a file link in Macjournal (an older version) to open the files in the same place I was keeping other data. I was using these links to open the files instead of the finder. Problem is, it seemed to be linking to an unchanged version of the file, so if I used the link to open it, the same unchanged file would open, not the one with the changes. Opening directly in the finder, instead of my own little idea solved the problem. Needless to say, I won't be using Macjournal as a file launcher anymore. Thanks.
    John Alden

  • Actionscript - Flex mobile - thread while loading data?

    I am using Flash builder actionscript 3 Flex mobile. I have a very heavy function that loads data from the local device and creates many graphic elements. While this function runs, the device freezes for 6 seconds or so. I want to show a progress bar and let the device continue working, is there any way I can use threading to do this ? Other ideas are also welcome.
    Thanks, Koby.

    Is it the size of the data you're loading (if so have you tried URLStream? or HTTPService with AsyncToken?) and if it's not just a single heavy data load and is the entire operation of loading plus performing the operations on the loaded data then you'll need to consider breaking up those operations into chunks to give the user some feedback.

  • ALV grid - not saving data withoutpressing 'Enter'.

    hi,
    I have an ALV grid (OO). I have written the code to update the final internal table in the method handle_data_changed.
    So If the user presses SAVE without hitting 'Enter' key, it is not saving the data .
    How can I handle this.
    Regards,
    Beena.

    hi,
    u can refresh it using method refresh_table_display.
    regards,
    janakiram.

  • Flex Mobile - PDF not displaying error - "Adobe Reader not found"

    Hi everyone,
    Is viewing PDF documents supported in Flex Mobile projects?  At the moment, I get an error saying:
    "Adobe Reader not found"
    I am converting my Adobe Air Desktop project to a Mobile project with Flashbuilder 4.5.1. Any documentation reference on how to get PDF's to view on Flex Mobile applications would greatly be appreciated.
    Thanks!

    Thankyou. The Central Question over this Lumia 625 inability to open a specific pdf (by Lonely Planet) remains:-I could uninstall this Adobe Reader app but think this is not the problem as this app does indeed open all other pdf's on my phone successfully, e.g. the Lonely Planet Invoice!
    On the other hand, this particular downloaded & installed pdf can be read on my home PC, my Macbook & my IpodTouch so I can't attribute fault to the filename.
    The basic Troubleshoot step of a "soft reset"  is NOT described in the Lumia 625 User Guide & I'm pessimistic this arbitrary step will bear fruit. I have come to the conclusion that no matter what I do, this Lumia model using the MIcrosoft OS has a system flaw that is unable to read the file (a file that other devices & another OS can read) & I will not waste time with ad hoc actions such as resets as this is not a hobby for me.
    The pdf in question (88Mb, Lumia free space is >3Gb)  is a travel guide I'd like to use on my next trip & this Lumia 625 is proving not worthy of coming with me. I am disappointed at the lack of "Customer Support" shown by the Nokia Company & I hope this is relayed as some "friendly feedback". Thank you for your own assistance, though.
    I invite correction if this assessment is mistaken.

  • Document not saving data

    Hi,
    as I already mentioned here:
    http://forums.adobe.com/thread/432254?tstart=0
      I hope somebody here will know. The form is not saving it´s data  in the process. I fill the form in the Assign task in the Workspace, but after submitting it, it´s empty.
    I am exporting the log, but the (correct from the schema) xml is empty (no data). Data connection is ok.
    Thanks for ANYsuggestions.
    Lukas

    Can you try to use a Document Form variable instead of a document variable.
    You can set the @document attribute  of the Document Form with your PDF using the following xPath /process_data/myDocForm/object/document = yourdocvar.
    Then use that Document Form varibale for you input and ouput data mapping.
    Jasmin

  • Adobe LiveCycle Form Not Saving Data

    I have designed dozens of Adobe LiveCycle forms and have extended rights (enable usage rights in adobe reader).  My problem is that sometimes the form is not saving the data for end users.  One of my end users even updated Adobe Reader, but still nothing is working and he is becoming increasingly frustrated.  Any other suggestions.

    Make sure all your fields have a binding set even if it is just their name.
    For instance, click on a field that isn't saving, in the Object palette, under the Binding tab make sure the Data Binding is set to Use Name.
    Hope that helps.
    Kyle

  • Convert Family Plan Line to data only line for iPad

    I currently have 4 lines on verizons old family share plan.  3 are Iphones.  2 of them have unlimited data, 1 with 2GBs a month, and the other line is a basic phone that doesn't get used much and does not have a data plan attached.  I dont want to touch the 2 with unlimited data or the one with 2GB of data.  The 4th line is a basic line and has a contract till Feb 2014.  My bill avg 250.00 with the 4 lines, 2000 min, unlimited text and the data plans that are on it now. All together, we avg about 12 GB a month and durring the summer, it has gone as high as 20GB  Our family uses Pandora, SlingBox apps, and Netflix, quite abit and although we have Internet and WiFi at home, and use WiFi when ever possible, living in a small town, free hotspots are hard to come by.
    I have a Verizon Ipad 3 with LTE that its deactivated due to low use outside a WiFi network but for convenice sake, I might reactivate it.  But to finish out the 4th line (basic phone line) contract, can swap that 4th voice line to the iPad 3 with LTE, finish out the 4th line contract?  I know I would have no problem adding data to the 4th line, getting a 4g sim so i would be looking at 9.99 + 30.00 for 2gbs for a total of 40.00 for that line.
    What I was hoping for was to just get a data only plan on the iPad and not pay a ETF on the 4th line since that line would still be active, just only on a data only plan.  I do understand that tablets only have tiered data plans availble to them. 

    As long as the line remains in service during the life of the contract, you can pretty much do whatever you want with it.

  • Disney junior app, not saving daughters profile and some of the games?

    Daughter has Disney game apps downloaded, but since yesterday some of the apps have to be re-installed to use, not saved to ipad like they normally do and her profile is wiped everytime she goes back into the Disney junior app. There is space in storage and i have checked settings and cannot see anything that would stop this.

    What do you mean by: "not loading completely"?
    Maybe this:
    - Reset the iPod, nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Purchase/install any new app
    - The remaining items of:
    iOS: Troubleshooting applications purchased from the App Store
    - Last, restore the iPod

  • Not Saving data in some of the fields

    I am using Oracle Database 10g Express Edition Release 10.2.0.1.0 -
    Application Express 2.1.0.00.39.
    The form fields have Source Used: Always, replacing any existing value in session state.
    Source Type: Database Column
    I modified my form, I changed a form field from a Select List with Submit to a Text_Field(Always submit page when Enter pressed) this is when the problem started. I noticed that the data was not getting saved in the form or table.
    The session variables are not populated. It has a status of R.
    A while back, I discovered that the order of your form field and the display typeaffects the population of the field.
    If you have basic Select List with Submit text_field,Select List, etc. you are ok, but if you use Text_Field(Always submit page when Enter pressed) , then radiogroups, checkboxes , text_field, select list, etc. the fields will not get populated.
    What can I do to get a text_field to default to "No Witness' or accept the inputted value?
    I can get it to accept the Default, but if you modify it, then it does not save the changes.

    Hello,
    If you want the item to reflect the changes you made to its value, after submit, you need to use the “Only When …” option in the Item’s Source Used field. Otherwise, you need to retrieve the value from the database, using ARF. In all other cases it will be set to the default value (as the Source Used imply).
    Regards,
    Arie.

  • Optimizing Flex Mobile Applications(not Games)

    I have now been developing aplications for Mobile devices using Flex framework for quite a  while and published 3-4 apps to marketplaces. But if we see the performance of the AIR apps as compared to the Native ones, its still not that much smooth.
    Any idea how I can optimize the Flex applications? There are resources avaialable for optimizing games but in case of Apps it is something different. The issues are like, buttons are not sometimes that much responsive to touch events, the screen transitions are not that smooth etc.
    Also I would like to know how to create Apps using only ActionScript as I guess they might be smoother as compared to the Flex version. But if it is created using AS3 only, how to best manage the screens so that they don't take up too much memory and give native like performance.

    You can't achieve native performance in most situations. Doing anything ARM/Flash-centric you will always find spark native components are slower than their native counterparts. Even hand-coding them (e.g. blitting) will get you no more performance, just more lines of code and more headaches.
    This should be obvious.
    Aside that you need to weigh in that the code base you build for your app can mostly be used to output an app for several other targets (if you speak XCode). AIR for IOS, Android and Blackberry. That's both phones and tablets. Also Desktop Mac OSX and Windows as well as the Web (without AIR).
    So if you want native performance, be prepared to build your app from scratch several times. The performance loss of going the Adobe route gives you the flexibility of exporting your app to multiple targets. That justifies the so-called "boggy" performance for me and my multi-billion dollar clients.

  • HT1414 i have just upgraded to iOS7 and when pdating my apps some have not saved data and others have. Why would this be and how do I get the data back?

    I have just upgraded to iOS7 and when I open my apps some have data saved and some (Eden, Survivalcraft) do not. My son is distraught that all his hard work has gone so does anyone know why this would be and how do I fix it please?

    Nevermind.  Problem solved.  They were there.  I just couldn't see them.

  • CRM_CUSTOMER_H_MAINTAIN_OW not saving data on Change - Display

    Hi All,
    I am using the win interaction centre in CRM 5.0.
    I have added a new tab and new fields to the tab that are stored in the CRMD_CUSTOMER_H table.
    When I save (click the Save button) the activity I call CRM_CUSTOMER_H_MAINTAIN_OW FM to save teh customer fields and this works perfect.
    The problem I have is saving the values when the user goes from Change to Display mode (Click the Display<->Change button).
    Ideally what I want is to flag to the interaction layer that a change has been made and get the usual prompt that "something has changed and do you want to save?".
    I pass everything to CRM_CUSTOMER_H_MAINTAIN_OW (as I do when saving the activity) but nothing is saved to CRMD_CUSTOMER_H).
    I have even tried CRM_ORDER_MAINTAIN (and CRM_ORDER_SAVE/ BAPI_TRANSACTION_COMMIT) and this does not save either...
    Has anyone had a similar situation and how did you overcome it?
    Many thanks
    Gary Hawkins

    Hello Gary,
    Today i've implemented ORDER_SAVE BADI, method PREPARE with the same task as you have.
    And it's working.
    code:
    data: lt_customer_h type crmt_customer_h_comt.
    data: ls_customer_h type crmt_customer_h_com.
    ls_customer_h-ZZFLD000003 = LV_YOUR_VARIABLE
    ls_customer_h-ref_guid = LV_HEADER_GUID
    append ls_customer_h to lt_customer_h.
    data: lt_input_fields     type crmt_input_field_tab.
    data: ls_input_field      type crmt_input_field.
    data: ls_input_field_name type crmt_input_field_names.
    ls_input_field_name-fieldname = 'ZZFLD000003'.
    insert ls_input_field_name into table ls_input_field-field_names.
    ls_input_field-objectname = gc_object_name-customer_h.
    ls_input_field-ref_guid = iv_guid.
    ls_input_field-ref_kind = gc_object_kind-orderadm_h.
    insert ls_input_field into table lt_input_fields.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
       EXPORTING
         it_customer_h   = lt_customer_h
       CHANGING
         ct_input_fields = lt_input_fields.
    data: lt_cust_h   type crmt_customer_h_wrkt.
    CALL FUNCTION 'CRM_ORDER_READ'
       EXPORTING
         it_header_guid = lt_guids
       IMPORTING
         et_customer_h  = lt_cust_h.
    In my example, i saved LV_YOUR_VARIABLE into the field CRMD_CUSTOMER_H-ZZFLD000003 for the transaction guid LV_HEADER_GUID.
    If you are using your own program, don't forget to call CRM_ORDER_SAVE and BAPI_TRANSACTION_COMMIT afterwards. Clearing of the buffers can be done via CRM_ORDER_INITIALIZE.
    Hope it's not yet late.
    Best Regards, Dima

  • Custom tabular form for multi-row not saving data

    Ok, before anyone asks, yes, I did read the how-to:-)
    I have a custom tabular form, which I did cause I need to use popups and the popups that you can use in the wizard tabular form does not display the text but rather the value underneath it.
    It returns data rather nicely and when I go and update values I can tell it is changing the fields underneath. I put a process in that will display the values in text fields on the form (for one row only) and I see them changing from what is already there and with the proper values.
    However, when I do that the data that is displayed then gets reverted back to what it was previous to the update but reports that the process was successful.
    I have also tried to insert but that is basically doing the same thing. Can anyone guide me.
    SQL to generate the tablular form...
    SELECT x.sak_release_db
    , x.sak_object
    , x.sak_release
    , x.sak_participant
    , x.sak_csr
    FROM
    (SELECT htmldb_item.hidden(1,sak_release_db) sak_release_db
    , htmldb_item.popupkey_from_query(2, sak_object,
    'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
    FROM system_object a
    , database_table b
    WHERE a.sak_object = b.sak_object') as sak_object
    , htmldb_item.hidden(4,sak_release) sak_release
    , htmldb_item.popupkey_from_query(5, sak_participant,
    'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
    , htmldb_item.popupkey_from_query(7, sak_csr,
    'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
    FROM release_db_xref
    UNION ALL
    SELECT htmldb_item.hidden(1,NULL) sak_release_db
    , htmldb_item.popupkey_from_query(2, NULL,
    'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
    FROM system_object a
    , database_table b
    WHERE a.sak_object = b.sak_object') as sak_object
    , htmldb_item.hidden(4,NULL) sak_release
    , htmldb_item.popupkey_from_query(5, NULL,
    'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
    , htmldb_item.popupkey_from_query(7, NULL,
    'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
    FROM dual) x
    Process to verify that I have the correct global fields: (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations)
    begin
    :P3_2 := replace(htmldb_application.g_f02(1),'%'||'null%',NULL);
    :P3_5 := replace(htmldb_application.g_f05(1),'%'||'null%',NULL);
    :P3_7 := replace(htmldb_application.g_f07(1),'%'||'null%',NULL);
    end;
    Process to do the insert/update. Note, I hardcoded the value in the where clause but I was originally using the global value for g_f01 (i also tried putting a commit in there for fun) (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations):
    -- Update the RELEASE_DB_XREF table
    FOR i IN 1..htmldb_application.g_f01.count
    LOOP
    IF htmldb_application.g_f01(i) IS NOT NULL THEN
    UPDATE release_db_xref
    SET sak_object = replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
    , sak_participant = replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
    , sak_csr = replace(htmldb_application.g_f07(i),'%'||'null%',NULL)
    WHERE sak_release_db = 22;
    ELSE
    IF htmldb_application.g_f02(i) IS NOT NULL THEN
    INSERT INTO release_db_xref
    (sak_object
    ,sak_release
    ,sak_participant
    ,sak_csr)
    VALUES
    (replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
    ,htmldb_application.g_f04(i)
    ,replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
    ,replace(htmldb_application.g_f07(i),'%'||'null%',NULL));
    END IF;
    END IF;
    END LOOP;

    Florian,
    Checkboxes are different from other HTML form items. When you have a text box for example, there's always a value send to the server when submitting. Even if that value is NULL. When you have a checkbox however, you only get the value if the checkbox is checked. It's not posted to the server when it is not checked. That's the general behavior of HTML forms and not specific to Oracle HTML DB.
    When working with tabular forms in HTML DB, you can access your form values using the htmldb_application.g_f0x arrays. Now if you have for example 10 rows in your form, then you'll get ten elements in your array for text boxes, select lists, etc. For checkboxes however you'll only get as many elements as you have rows checked. If I read your update and insert code correctly, you're trying to use the checkbox arrays the same way you use the arrays based on other item types. My recommendation would be to use Yes/No select lists instead of checkboxes or at least use select lists initially to get it working and then work on properly processing the checkboxes.
    Some general information about working with checkboxes in tabuar forms can be found here:
    http://www.oracle.com/technology/products/database/htmldb/howtos/checkbox.html#CHECKBOX_IN_REPORT
    Hope this helps,
    Marc

  • Not saving data after we raise an exception

    Hi,
    I extended continue button function in OTL - Timecard. If we throw any error in continue button, then after do the required modifications to the data and click on Save button , for the first time the save is not working. Then again click on save, the data is getting to the database.
    Any suggestions would be greatly appreciated.
    Thanks in advance
    Kalyani

    Hi,
    Please find the code in save
    if(sA != null && sA != "" && sA.equals("TimecardSaveForLater"))
    oapagecontext.writeDiagnostics(this,"am in save >>>>>>",6);
    oadbtransaction.putValue("CheckSave", "Y");
    long l = GlobalUtilities.getLongOrNullFromObject(oapagecontext.getParameter("TimecardId"));
    oapagecontext.writeDiagnostics(this,"am in save >>> timecard id.."+l,6);
    if(-1L == l)
    l = GlobalUtilities.getLongOrNullFromObject(oapagecontext.getParameter("Timecard_id"));
    oapagecontext.writeDiagnostics(this,"am in save >>>> timecard id.."+l,6);
    ValidationforZeroRowsVOImpl zeroVO = (ValidationforZeroRowsVOImpl)oaapplicationmodule.findViewObject("ValidationforZeroRowsVO");
    oapagecontext.writeDiagnostics(this,"second vo on click continue button.."+zeroVO,6);
    if(zeroVO == null)
    zeroVO = (ValidationforZeroRowsVOImpl)oaapplicationmodule.createViewObject("ValidationforZeroRowsVO", "sonata.oracle.apps.hxc.selfservice.timecard.server.ValidationforZeroRowsVO");
    zeroVO.setWhereClause(null);
    zeroVO.setWhereClauseParam(0,l);
    zeroVO.executeQuery();
    oapagecontext.writeDiagnostics(this,"second vo row count on click continue button.."+zeroVO.getRowCount(),6);
    }else
    zeroVO.setWhereClause(null);
    zeroVO.setWhereClauseParam(0,l);
    zeroVO.executeQuery();
    oapagecontext.writeDiagnostics(this,"second vo row count on click continue button with else.."+zeroVO.getRowCount(),6);
    oapagecontext.writeDiagnostics(this,"second vo row count on click continue button with else.."+zeroVO.getQuery(),6);
    ValidationforZeroRowsVORowImpl Zerorow = null;
    int fetchedRowCount = zeroVO.getFetchedRowCount();
    oapagecontext.writeDiagnostics(this,"fetchedRowCount>>>>fetchedRowCount.."+fetchedRowCount,6);
    RowSetIterator zeroIter = zeroVO.createRowSetIterator("zeroIter");
    String chkVal = "Delete";
    if(fetchedRowCount > 0)
    zeroIter.setRangeStart(0);
    zeroIter.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    oapagecontext.writeDiagnostics(this,"am in for loop ..",6);
    Zerorow = (ValidationforZeroRowsVORowImpl)zeroIter.getRowAtRangeIndex(i);
    if(Zerorow.getMeasure() != null)
    oracle.jbo.domain.Number primaryKey = Zerorow.getMeasure();
    oapagecontext.writeDiagnostics(this,"primaryKey>>>>primaryKey.."+primaryKey,6);
    oracle.jbo.domain.Number timeBuildingID = Zerorow.getTimeBuildingBlockId();
    oapagecontext.writeDiagnostics(this,"timeBuildingID>>>>timeBuildingID.."+timeBuildingID,6);
    int zero = 0;
    Number y = 0;
    String timcardID = Zerorow.getTimeBuildingBlockId().toString();
    oapagecontext.writeDiagnostics(this,"am in for loop with time card build id.."+timeBuildingID,6);
    if(primaryKey.compareTo(zero) == 0)
    oapagecontext.writeDiagnostics(this,"am in primarykey validation true..",6);
    OADBTransaction dbtrans = oaapplicationmodule.getOADBTransaction();
    String procedureStr = "BEGIN son_delete_zero_time(:1); END;";
    OracleCallableStatement callablestatement = (OracleCallableStatement)dbtrans.createCallableStatement(procedureStr, 1);
    try{
    oapagecontext.writeDiagnostics(this,"AM in delte before close..",6);
    callablestatement.setInt(1, Integer.parseInt(timcardID));
    callablestatement.execute();
    callablestatement.close();
    oapagecontext.writeDiagnostics(this,"AM in delte after close..",6);
    chkVal = "AfterDel";
    }catch(SQLException _sqle) {  try
    callablestatement.close();
    catch(Exception e) { }
    throw OAException.wrapperException(_sqle);}
    }oapagecontext.writeDiagnostics(this,"am in primarykey validation false..",6);
    }oapagecontext.writeDiagnostics(this," am in close iterator",6);
    //break; // only one possible selected row in this case
    }zeroIter.closeRowSetIterator();
    }

Maybe you are looking for

  • Create PO with zero value

    Hi, My requirement is to create a PO for Free of charge item. But the moment I copy my PR  item to PO the FoC check box is greyed out and I am unable to make the procurement price as zero. Fyi, My sales order line item is linked to wbs. Do I need to

  • 4G ipod wont turn on

    hi, I have a 4g 20GB ipod that is one year and one month old, and it wont turn on. one morning it just didnt turn on. i've tried key all combinations and they dont work. ive tried connecting it to pc and macs and it doesnt chrage or get recognised. t

  • Move to 4.0 or Wait for 4.1?

    We currently have BOE XI 3.1 and are considering the move to 4.0. However, I have heard that we should wait for 4.1. What is the functionality that we would lose out on by moving to 4.0? In other words, what items won't be available until 4.1. Thanks

  • Steps to retrieve attachments from a storage system linked via ArchiveLink.

    Dear experts, I want to retrieve the documents stored in a storage system linked to SAP via the archivelink and show it in a webdynpro application(Adaptive RFC).I need to know the right approach to do so.I am searching for a funtional module which ca

  • Setting advanced query on Activity Stream

    Hi I'm using Publisher and Activity Stream taskflows together in a page and I need to differenciate when an uploaded document comes from publisher or not. By setting an advanced query at Activity Stream Content Presenter, for example: AE.ACTIVITY_TYP