For Working offline - Which one to use -  local database caching or reliable messaging?

Hi,
I am working on a mobile application with lcds where there is a feature to be implemented. The user can use the application in airplane mode and be able to automatically send requests to server when he comes online. After some research,  I found that I have to use a feature in the documentation called ocasionally conencted clients, which uses local database with dataservice.savecache() and offline adapter. I also found another feature called reliable messaging which takes care of sending the pending requests when the user comes online, but not sure if this feature supports offline mode for longer periods. The documentation mentioned that reliable messaging is only good for transient network disconnects, meaning disconenction for shorter time.
Can anybody please confirm which is the right feature that best suits this requirement?
Thanks,
Swathi.

Hi Ashish,
Thank you so much for the resource. One more question, The code in the resource link,  has calls to Dataservice.disconnect() and Dataservice.connect() on the buttons. If my user need not bother to click on those buttons for connections and just set his phone to airplane mode and start working, I am using SocketMonitor class to monitor for network connection and then perform the Dataservice.connect(). In that case, I have problems when network is connected, the data service seems connected automatically some times and not connected other times resulting in errors. I am using autoConenct = true. How can I handle this? Do I have to call disconnect when socket is not available and then call conenct when it is available, things like that? Or Is there any other way to implement this without using SocketMonitor class?
Thanks,
Swathi.

Similar Messages

  • Looking for an app for a blue tooth, type I want to use on my Iphone is a "jawbone" Question is out of the many available in the store which one would be the best and most reliable?

    Looking for an app for blue tooth on my Iphone.  Out of the many in the app store which one(s) would be the best & most reliable?  Currently trying to set up for an older Jaw Bone?

    You are asking several different questions. If you need to store your photos, music, and movies on an external volume, you certainly can. Any externally connected hard disk drive will work, connected either directly to your Mac or to your Time Capsule as a shared volume.
    You should not rely upon using that as a backup device though. Although you certainly may use it for both purposes, it is a better idea to have dedicated backup devices for a variety of reasons not limited to redundancy. You would not want to simultaneously lose all your pictures as well as your backup. If they are all on the same device, that could happen. Furthermore, a backup cannot back up the volume on which it is running.
    As for adding an Extreme or Express, using its LAN port for your iMac, and then enable Internet sharing so you can effectively use the iMac as a "hotspot", you can do that too, but I am unclear on what benefit you believe this arrangement would convey for you.
    An Extreme's Guest network is separate from its Main network; that is the reason for having it.

  • I,m looking for handsfree for iphone 4s, which one is the best for it

    i,m looking for handsfree for iphone 4s, which one is the best for it

    I really like the Plantronics Voyager Pro bluetooth headset.  I have tried a lot of the ones on the market and the Plantronics one that I now use has - a long battery life, excellent sound quality and very low background noise. I occasionally use it when in a vehicle (although I do try to avoid doing this) and people on the other end of the line don't even realise that I am in a car.

  • Hi I am searching for a app which i can use to protect games or other apps from my childs. not to protect all only a few

    hi im searchingg for an app which i can use to protect games or other apps from my childs. not to protect all only a few

    Sorry, but you will not find any such app.  The iOS itself is set up such that 3rd parth apps can have almost no interaction with any other app (exceptions being the ability of some to read data from some of the OS included feautures, like Maps reading location information from iOS location services).  So there is no way to design an app that would interfere with or restrict how another app works - the iOS simply precludes that.

  • I m not able to connect for the wifi  which i have used earlier ,i m getting an error as unable to join the network how to resolve this please help me

    i m not able to connect for the wifi  which i have used earlier ,i m getting an error as unable to join the network how to resolve this please help me

    We were able to log in this morning and all is working. You should be able to log in at any point today. Please let us know if you are having any other difficulties.

  • Snapshot data for working offline

    I wish find the method for obtain a snapshot of my data for working offline
    Any Idea thanks.

    Hello,
    I am assuming that you currently have access to live data either through a web service or a sharepoint server.
    In this scenario, I believe you should be able to export the data in Excel format and then use the same to design the dashboard.
    I have found this [_link_|http://blogs.msdn.com/b/erikaehrli/archive/2009/01/30/how-to-export-data-to-excel-from-an-asp-net-application-avoid-the-file-format-differ-prompt.aspx] and hope you find it helpful.
    Thanks.

  • My ipod 4 when i plug it to my pc Windows 7 had worked fine for 8 months then one day i plug it in and a message came USB device not recognized, i tried reset network settings and nothing called apple they did not know any help out there TX

    My ipod 4 when i plug it to my pc Windows 7 had worked fine for 8 months then one day i plug it in and a message came USB device not recognized, i tried reset network settings and nothing i did not install any software before this happend i called apple they did not know, any help out there TX

    Start here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • Creation of drop down for a field which is created using otr

    Hi experts
    I have a requirement wherein i have to create a dropdown for a field which is added using otr (online text repository).
    When i did an F2 on the field on the UI i found that it had no context node and attribute and the view in the component workbench did not have a configuration also. The coding for that field is done in the htm page of that view using otr.
    For this field i need to create a dropdown (the dropdown values will be fixed). I thought it would be better to code in the method do_init_context.
    Request you to help me out with the code for this requirement as i do not have any idea with regard to otr.
    Thanks and regards
    Preeti Viswanath

    Hi Preeti,
    1.You need to maintain a page attribute(dd_list_type) which is of table type to the htm page of your view.
    2.Then in the set_models method of your view controller add the following code:
    * Put the data into the view attribute
      view->set_attribute(
            name   = 'dd_list_type'        
            value  = lt_list_type ).
    You can add OTR text list to the internal table lt_list_type.
    3.Then add the following code to .htm
    * ADDITIONAL CODING IN VIEW
    <% data:           lr_listl_type  type ref to data.
       field-symbols: <list_type>   type table.
       get reference of dd_list_type into lr_list_type.
       assign lr_list_type->* to <list_type>.
    %>
    <htmlb:dropdownListBox id="ListType"
                           table = "<%= <list_type> %>"
                           selection = "<%=controller->gv_model_id %>"
                           nameOfKeyColumn = "KEY"
                           nameOfValueColumn = "VALUE"
                           />
    Regards
    Leon

  • How can I get INSTID_B for the documents which are stored using Store Business Document functionality

    Dear experts,
    I had activated the functionality of Store Business document and successfully stored documents in external server.
    My client have a custom function module which is used to send emails.In that FM they used SO_DOCUMENT_READ_API1, SO_DOCUMENT_SEND_API1 function modules.They passed Instance Ident(SRGBTBREL->INSTID_B)(eg: FOL33000000000004EXT39000000000026) as export parameter to the FM 'SO_DOCUMENT_READ_API1' and get the attachment details and content.
    Here my problem is I do not have entries in the table SRGBTBREL for the documents which are stored using the Store Business Document functionality and without INSTID_B I am unable to use the FM 'SO_DOCUMENT_READ_API1' to get the document details and content. Please help me to find INSTID_B for documents which are stored using Store Business Document functionality or please let me know if there is any other way to use FM 'SO_DOCUMENT_READ_API1' for documents which are stored using Store Business Document.
    Thanks in advance.
    Regards,
    Kiran

    Hi Kiran,
    You can use the following method to get the information. For example if you want to get BO documents for a customer
    CALL METHOD cl_binary_relation=>read_links
       EXPORTING
         is_object           = ls_lpor
         it_relation_options = lt_relat
       IMPORTING
         et_links            = lt_links.
    then fill  ls_por-instid with a customer number (KUNNR), ls_por-typeid = 'KNA1' and ls_por-catid = 'BO'.
    Table  lt_relat should contain a line option  for each document type (for example 'I' 'EQ' 'NOTE', 'I' EQ 'ATTA', 'I' EQ 'URL', ...
    In table lt_links you will get your information.
    Maybe some other methods of class CL_BINARY_RELATION may also solve your issue.
    Regards,
    Klaus

  • Properties that are updateable and which ones not using epma batch client

    Can anyone provide list of properties (HFM/Essbase etc.) that are updateable and which ones not using epma batch client?

    This will be documented in the batch client and related documentation on the EPM documentation portal

  • When I try to donate by credit card. No matter which one I use I get an error message

    When I try to donate by credit card. No matter which one I use I get an error message

    What is the content of this error message?
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.
    Clear the cache and cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • A site I need for consulting purposes requires an add-on known as "Intranet for Firefox". When one accepts the add-on installation, a return message is displayed claiming that it cannot be found. At this point, I have to use IE to access the site.

    A site I need for consulting purposes (http://www.aegtelecom.com.pt/) requires an add-on known as “Intranet for Firefox”. When one accepts the add-on installation, a return message is displayed claiming that it cannot be found. At this point, I have to use IE to access the site. However, being a steadfast Firefox user, I would prefer to use Firefox for this purpose.

    http://www.aegtelecom.com.pt/contactos <br />
    Have you tried contacting that web site's support department for help with that issue? <br />
    If that web site can't find the add-on it says is needed, they need to fix that problem with their servers.
    Or you can try using IE Tab2 to run IE in a Firefox tab. <br />
    https://addons.mozilla.org/en-US/firefox/addon/92382

  • For Wht/ In which cases we use EKES - Vendor Confirmations?

    Hi Experts,
    Pls. let me know that, For Wht/ In which cases we use EKES - Vendor Confirmations?
    thanq

    hi use this...,
    PO Change - Confirmation
    regards,
    venkat.

  • AAA Authorization Using Local Database

    Hi Guys,
    I'm planning to use AAA authorization using local database. I have read already about it, I have configured the AAA new-model command and I have setup user's already. But I'm stuck at the part where I will already give certain user access to certain commands using local database. Hope you can help on this.
    FYI: I know using ACS/TACACS+/RADIUS is much more easy and powerful but my company will most likely only use local database.

    For allowing limited read only access , use this example,
    We need these commands on the switch
    Switch(config)#do sh run | in priv
    username admin privilege 15 password 0 cisco123!
    username test privilege 0 password 0 cisco
    privilege exec level 0 show ip interface brief
    privilege exec level 0 show ip interface
    privilege exec level 0 show interface
    privilege exec level 0 show switch
    No need for user to login to enable mode. All priv 0 commands are now there in the user mode. See below
    User Access Verification
    Username: test
    Password:
    Switch>show ?
    diagnostic Show command for diagnostic
    flash1: display information about flash1: file system
    flash: display information about flash: file system
    interfaces Interface status and configuration
    ip IP information
    switch show information about the stack ring
    Switch>show switch
    Switch/Stack Mac Address : 0015.f9c1.ca80
    H/W Current
    Switch# Role Mac Address Priority Version State
    *1 Master 0015.f9c1.ca80 1 0 Ready
    Switch>show run
    ^
    % Invalid input detected at '^' marker.
    Switch>show aaa server
    ^
    % Invalid input detected at '^' marker.
    Switch>show inter
    Switch>show interfaces
    Vlan1 is up, line protocol is up
    Hardware is EtherSVI, address is 0015.f9c1.cac0 (bia 0015.f9c1.cac0)
    Internet address is 192.168.26.3/24
    MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
    reliability 255/255, txload 1/255, rxload 1/255
    Switch>
    Please check this link,
    http://www.cisco.com/en/US/tech/tk59/technologies_tech_note09186a00800949d5.shtml
    Regards,
    ~JG
    Do rate helpful posts

  • Only one round trip to database from BizTalk per message irrespective of number of records in message per table.

    I am creating biztalk application to store the data into sql server.
    and my client says this line what i am not understood .
    "Only one round trip to database from BizTalk per message irrespective of number of records in message per table."
    Any one can help me to understand this line.!
    Thanks,

    One more option is -
    Create a stored procedure to perform batch insert, you can insert into any number of tables you want.
    --sample SP code...just added the steps you need to know to extract XML and perform insert
    CREATE PROCEDURE <SPName>
    @YourXML XML
    AS
    BEGIN
    EXEC sp_xml_preparedocument @idoc OUTPUT, @youXML
    SET @j = 1
                WHILE @j <= @recordCount
                BEGIN
                     SET @xpath = '//ns1:RootNode/Record[' + CAST(@j AS VARCHAR(11)) + ']'
                     ;WITH XMLNAMESPACES('record namespace' as ns0, 'rootnode namespace' as ns1)
         INSERT INTO YourTable
                      (field1, field2....field20)             
                      SELECT                                 
                            field1, field2....field20
                      FROM OPENXML(@idoc, @xpath, 2)
                            WITH(field1 varchar(2), field2 varchar(20)........field20 varchar(100))                        
                      SET @j = @j + 1
                END    
    END
    On BizTalk side its quite simple...generate schema for your stored procedure...and in your map transform your XML to StoredProcedure schema using CDATA.
    Hope it helps!!

Maybe you are looking for

  • HP Network Devices Support service will not start

    Product: HP Photosmart Premium All-in-one (C309g) OS: Vista Business 32 bit Errors: When running the "Add Device" portion of set up to add the printer to my PC so it can be accessed wirelessly this pops up in the back ground: "The specified service d

  • CMS objects that are orphaned in the Input FRS

    Post Author: [email protected] CA Forum: Administration Is there a tool / way to comb through the CMS objects and clean up CMS objects that do not have a file that exists in the Input FRS? Not sure how we ended up with these orphaned objects, product

  • SGC SSL Cert on 11501 only doing 40 bit encryption

    Dear Support, Just received the official SSL cert from thawte, but it is only showing as 40 bit encryption not 128. Can you help? Thanks, Adrian.

  • Backing up itunes 11 or later to dvds

    How to back up itunes 11 or later to dvds?

  • Can one open all raw pictures in CS5?

    I have raw pictures from a Canon EOS 6D given me by my son. I cannot open them in Photoshop CS5. I copied them to my MacBookPro from his thumb drive. He included jpgs so I could read them. Should I be able to open them?