[ADF Mobile]Get OS Type

Hi,
Is possible get in java the OS Version, if Android Or iPhone?

Hi.
I didn't try it on ADF Mobile, but it is usually possible to detect the OS from Java like this:
System.getProperty("os.name")Best Regards,
Frédéric.

Similar Messages

  • ADF Mobile - Get network status

    OS: OSX 10.8.5
    JDEV: 11.1.2.4
    ADF Mobile Extension version: 11.1.2.4.39.64.51
    HI All,
    I'm currently in the middle of developing an ADF Mobile application and exploring the offline/online capabilities and have run into an issue where i'm trying to determine if the user has network connectivity, but its not working properly. I'm trying to make the app as dynamic as possible such that, for every transaction that requires network access, the app will check beforehand whether it is "connected" or "disconnected".  I've tried the following but not quite got there..
    1) From the link below, Joe does make note that the EL Expression "#{deviceScope.hardware.networkStatus}" to resolve the network status is only evaluated at start up, which is good for when the app opens.. but not good when the user loses network connectivity.
    Re: JDeveloper  ADF Mobile -- Android Context
    2) The link below uses javascript to evaluate the network connectivity. This works first time and every subsequent time afterwards, however, I would like the javascript to ONLY evaluate the network status and then populate a pageFlowScope variable with true or false. This bit also works fine. From here, it may seem that the pageFlowScope variable has been populated, but if the java method (which calls the javascript function to check the network connectivity) also includes code that reference the pageFlowScope variable that the javascript has just populated, it is not evaluated properly.
    Example:
        public void checkConnection(ActionEvent actionEvent) {
            // This works fine and populates the PageFlowScope variable fine
            AdfmfContainerUtilities.invokeContainerJavaScriptFunction("feature1", "application.checkConnection",
                                                                              new Object[] { });
            // The two lines below do not work properly, as if its retained the old value of the pageFlowScope.
            ValueExpression ve = AdfmfJavaUtilities.getValueExpression("#{pageFlowScope.isConnected}", String.class);
            throw new AdfException("isConnected: " + (String)ve.getValue(AdfmfJavaUtilities.getAdfELContext()), AdfException.INFO);
    Unwinding ADF: Offline Data Synchronization for ADF Mobile
    Below is a link to a sample app that i made and the steps to reproduce:
    https://app.box.com/s/ng5n362unttu7b88i42b
    - Have network connectivity
    - Click on the "Check connection via JS' button the first time
    - The popup in the foreground is the javascript showing the connectivity, which is correct
    - The popup in the background is an INFO AdfExpection showing the connectivity, which is INCORRECT
    - Click OK twice
    - Click on the "Check connection via JS' button the second time
    - The popup in the foreground is the javascript showing the connectivity, which is correct
    - The popup in the background is an INFO AdfExpection showing the connectivity, which is CORRECT
    - Click OK twice
    - disconnect your computer from the network/internet
    - Click on the "Check connection via JS' button the third time
    - The popup in the foreground is the javascript showing the connectivity, which is correct
    - The popup in the background is an INFO AdfExpection showing the connectivity, which is INCORRECT
    Has anyone has similar use case has have a work around/solution? This is driving me nuts!
    Cheers,
    Eddie

    Hi Frank,
    Thanks for the quick reply.
    That's exactly what i've used in my javascript function in my demo app and that link is the resource i used as well, however, that javascript code does populate the pageFlowScope variable fine, however, if i make reference to that pageFlowScope variable from within the same java method that includes the call to the javascript function, it does not get the updated pageFlowScope value. Only after the transaction has fully completed and i then [for example] click on a button on the screen to evaluate the pageFlowScope variable again, do i get the updated value.
    Having a stab in the dark, could it be something to do with the way the javascript is executed when updating the pageFlowScope variable and lifecycle of that transaction
    I've also tried this under the code where it populates the pageFlowScope, but it can't resolve the expression, seems like i'm doing something wrong..
    navigator.notification.alert('pageFlowScope value: ' + adf.mf.el.getValue("#{pageFlowScope.isConnected}", onSuccess, onFail), alertDismissed, 'Connected', 'OK');

  • Oracle ADF Mobile getting array of objects from webservice

    hi,
    i am trying to fetch a certain number of records using a webservice call and then storing in the SQLLite DB in the mobile.
    i understand i can create a data control using the webservice > then?
    my webservice returns an array of objects.
    how can i do that?
    regards,
    ad

    It's fairly easy.
    What I have done is created a WebService Controller (plain java class) which calls the methods (from the WS) programmaticly.
    Example :
    public class WSController {
        private final String WSDataControllerName = "ThisIsTheNameOfMyWebserviceDataControl";
        private List pnames ,ptypes ,params;
        public WSController() {
            super();
        public List getAllActioncodesFromWS()
           //start - WS empty params
            pnames = new ArrayList();
            params = new ArrayList();
            ptypes = new ArrayList();
            pnames.add("findCriteria");
            params.add(null);
            ptypes.add(Object.class);
            pnames.add("findControl");
            params.add(null);
            ptypes.add(Object.class);
            //end - WS empty params
            List actionCodes = new ArrayList();
            try
                GenericType result = (GenericType)AdfmfJavaUtilities.invokeDataControlMethod(WSDataControllerName, null, "findActioncodesView1",pnames, params, ptypes);
                if(result!=null)
                    for (int i = 0; i < result.getAttributeCount(); i++)
                        GenericType row = (GenericType)result.getAttribute(i);
                        Actioncode wd = (Actioncode)GenericTypeBeanSerializationHelper.fromGenericType(Actioncode.class, row);
                        actionCodes.add(wd);
            catch (AdfInvocationException e)
                e.getMessage();
            catch (Exception e)
                e.getMessage();
         return actionCodes;
        }I also defined a Pojo named Actioncode :
    Note that the attribute names are completly the same as the VO from the web service.
    public class Actioncode {
        String Actioncode,Descript1;
        public Actioncode() {
            super();
        public Actioncode(String Actioncode, String Descript1) {
            super();
            this.Actioncode = Actioncode;
            this.Descript1 = Descript1;
        public void setActioncode(String Actioncode) {
            this.Actioncode = Actioncode;
        public String getActioncode() {
            return Actioncode;
        public void setDescript1(String Descript1) {
            this.Descript1 = Descript1;
        public String getDescript1() {
            return Descript1;
    }Since the WS method returns a GenericType, you can 'convert' that object to an POJO.
    Read more about it here :
    http://adf4beginners.blogspot.be/2013/01/adf-mobile-how-to-iterate-over-all-rows.html
    I know the blog post is about iterating over rows in an iterator, but it's just to illustrate how you can work with the GenericType

  • Regular Expression and jUnit in ADF Mobile

    Hi Guys,
    I tried to implement Regular Expression in ADF Mobile, but in my jUnit that I was configured to unit test purpose in my application.
    Shown error below inside jUnit plane.
    java.lang.NoClassDefFoundError: oracle/adfmf/util/regex/Pattern
    How to solve this issue for jUnit ?

    I'll start by answering your Q2 - while in theory you can use the same application for both accessing from a browser on a pc and on a phone - in reality the user experience on the phone is not going to be good because of the limitation of the screen size. Users will need to constantly zoom-in scroll around etc. This is why many people who target application for smart phones prefer to build a separate UI for the mobile device.
    Now question 4 which relates to 1 - We haven't tested the ADF Faces components on the browser of blackberry and so there is a chance that some of their functionality won't work there. We did test and certify the ADF Faces components with the safari mobile browser (iOS) - so this is why you see them work there better.
    This is why we recommend that if you are targeting a blackberry (and other mobile devices) you'll use the Trinidad set of components and in general ADF Mobile Browser project type.
    (see example here: https://blogs.oracle.com/shay/entry/building_iphone_interfaces_for_oracle ). This also means that you'll have the check box checked for mobile device when you create a JSF page.
    For question 3 - when the next ADF Mobile solution will be released you'll be able to create applications that install on the device itself.

  • How to get data from web service in ADF mobile

    I'm new to ADF mobile application development. I'm currently blocked in a scenario. I have a web service(from third party) which needs <wsse:Security> to retrieve data. In soapUI, the web service will retrieve the response only when there is this security tag. Otherwise it will give response as invalid security. The web service looks like this:
            <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xx="http://xmlns.oracle.com/apps/csf/soaprovider/plsql/xx_fs_mob_login/" xmlns:get="http://xmlns.oracle.com/apps/csf/soaprovider/plsql/xx_fs_mob_login/get_login/">
                   <soapenv:Header>
                      <xx:SOAHeader>
                         <!--Optional:-->
                         <xx:Responsibility>XXX</xx:Responsibility>
                         <!--Optional:-->
                         <xx:RespApplication>XXX</xx:RespApplication>
                         <!--Optional:-->
                         <xx:SecurityGroup>XXX</xx:SecurityGroup>
                         <!--Optional:-->
                         <xx:NLSLanguage>XXX</xx:NLSLanguage>
                         <!--Optional:-->
                         <xx:Org_Id>XXX</xx:Org_Id>
                      </xx:SOAHeader>
        <The portion which is excluded from the soap, but which is required for getting response>
        <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
                         <wsse:UsernameToken wsu:Id="UsernameToken-1">
                            <wsse:Username>XXX</wsse:Username>
                            <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">XXX</wsse:Password>
                            <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">XXX</wsse:Nonce>
                            <wsu:Created>2013-02-13T08:58:50.649Z</wsu:Created>
                         </wsse:UsernameToken>
                      </wsse:Security>
        <The portion which is excluded from the soap, but which is required for getting response>
                   </soapenv:Header>
                   <soapenv:Body>
                      <get:InputParameters>
                         <!--Optional:-->
                         <get:P_USERNAME>XXX</get:P_USERNAME>
                      </get:InputParameters>
                   </soapenv:Body>
                </soapenv:Envelope>
    I tried the steps described in ADF mobile tutorial to get web service data. But I'm getting response code 500 from the server. I tried the steps for secured web service also. But I'm not sure which security policy has been implemented in the web service. I tried with oracle/wss_username_client_token_policy and some others but didn't succeed. Later I tried by creating web service client/proxy. But as Oracle ADF only supports java 1.4, I got errors in the generated code(errors on generics and annotation).
    The WSDL for the web service is as follows:
        <definitions xmlns:tns="http://xmlns.oracle.com/apps/csf/soaprovider/plsql/xx_fs_mob_login/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns1="http://xmlns.oracle.com/apps/csf/soaprovider/plsql/xx_fs_mob_login/get_login/" name="XX_FS_MOB_LOGIN" targetNamespace="http://xmlns.oracle.com/apps/csf/soaprovider/plsql/xx_fs_mob_login/">
        <types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/apps/csf/soaprovider/plsql/xx_fs_mob_login/get_login/">
        <include schemaLocation="http://27.251.157.211:8000/webservices/SOAProvider/plsql/xx_fs_mob_login/APPS_XX_FS_MOB_LOGIN_GET_LOGIN.xsd"/>
        </schema>
        <schema xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/apps/csf/soaprovider/plsql/xx_fs_mob_login/">
        <element name="SOAHeader">
        <complexType>
        <sequence>
        <element name="Responsibility" minOccurs="0" type="string"/>
        <element name="RespApplication" minOccurs="0" type="string"/>
        <element name="SecurityGroup" minOccurs="0" type="string"/>
        <element name="NLSLanguage" minOccurs="0" type="string"/>
        <element name="Org_Id" minOccurs="0" type="string"/>
        </sequence>
        </complexType>
        </element>
        </schema>
        </types>
        <message name="GET_LOGIN_Input_Msg">
        <part name="header" element="tns:SOAHeader"/>
        <part name="body" element="tns1:InputParameters"/>
        </message>
        <message name="GET_LOGIN_Output_Msg">
        <part name="body" element="tns1:OutputParameters"/>
        </message>
        <portType name="XX_FS_MOB_LOGIN_PortType">
        <operation name="GET_LOGIN">
        <input message="tns:GET_LOGIN_Input_Msg"/>
        <output message="tns:GET_LOGIN_Output_Msg"/>
        </operation>
        </portType>
        <binding name="XX_FS_MOB_LOGIN_Binding" type="tns:XX_FS_MOB_LOGIN_PortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="GET_LOGIN">
        <soap:operation soapAction="http://XXX:8000/webservices/SOAProvider/plsql/xx_fs_mob_login/"/>
        <input>
        <soap:header message="tns:GET_LOGIN_Input_Msg" part="header" use="literal"/>
        <soap:body parts="body" use="literal"/>
        </input>
        <output>
        <soap:body use="literal"/>
        </output>
        </operation>
        </binding>
        <service name="XX_FS_MOB_LOGIN_Service">
        <port name="XX_FS_MOB_LOGIN_Port" binding="tns:XX_FS_MOB_LOGIN_Binding">
        <soap:address location="http://XXX:8000/webservices/SOAProvider/plsql/xx_fs_mob_login/"/>
        </port>
        </service>
        </definitions>
    Please help me to figure out a solution for this.
    Thanks in advance
    Rino

    how to store the data in the mobile which i fetched from the server using RMS. Can u give me a eg. code. here and send me a link to my email id. [email protected]
    I am using Oravle10g as the database. It is installed in the server.
    I made a connection in servlet using ODBC:JDBC.
    I am able to see the data fetched from the server in my mobile.
    Now, i am trying to save the data. But i dont know how to use the RMS to connect to the Oracle database or pass the string etc.
    Do help me if you dont mind.
    I kept reading and tried some codes but i failed.
    Me still trying...........
    Thanks in Advance.

  • How to get the ADF Mobile Client extension

    Hi all,
    Please post some link in which I can download the ADF Mobile Client extension for Jdeveloper 11.1.1.4.0 directly to my local disk. I have tried going through Help --> Check for updates in Jdeveloper but my proxy does not
    allow it. so the only possible option for me is to download it to my local disk and should update it. I searched for it but was unable to find the appropriate link so I got to post here. Kindly help me out in finding it please....
    Thanks,
    Phanindra.

    Hi Timo,
    Now I am more confused whether it is available or not. In the oracle site I have seen that I can develop mobile apps using trinidad components in which <trinidad-config> file can be used to define the different platforms on
    which the application can be rendered. Is it true ?? When I created a mobile app I got only <trinidad-config> I didnt get <trinidad-skins> in which I can define the style sheet. There is a lot of confusion in how to proceed to
    develop the application. Kindly help me on this. I need to develop a mobile app which is not only accessible in Blackberry but should also be able to get rendered on the other platforms also. Which is the best way to develop a
    POC on this. Kindly help me timo.
    thanks,
    Phanindra.

  • Oracle ADF mobile using elocation mapviewer can not get the tiles

    Hi,guys
    Recently,I'm using oracle adf mobile to develop a application.
    I set a amx page as a Local html page in order to display a elocation map,in this html page, 
    I use the jslib:http://elocation.oracle.com/mapviewer/jslib/v2/oraclemapsv2.js
    the mapviewer:http://elocation.oracle.com/mapviewer
    It can display the elocation map in pc browser,and also in Android default browser
    But WHen deploy it to MOTOROLA touch device,the elocation map can not display,but it can get the jslib.
    Can anybody help me?
    Thank you!

    Hi,
    To display maps, have a look at the HR sample application that comes with the ADF Mobile extension. You will see how you can use the map viewer without using JS for it. There is a map viewer component for AMX pages. The demo is in PublicSamples.zip located in <JDeveloper11124 Home>/jdeveloper/jdev/extensions/oracle.adf.mobile/Samples . Because the sample application is a bit larger than dept/emp, have a look at the tablet AMX pages.
    Frank

  • How to get imei number and mac address of mobile device on adf mobile

    Hi experts,
    I need to get imei number and mac address of device (supposed to be works on both android and iphone) on adf mobile
    bgrds

    Hi,
    Adf mobile support phonegap api. Version must be 2.0(you can check it by below code snippet) You can just reach uuid from both platform via cordova. Espescially, IOS restriction limits you to get device infos that you mentioned, but you can get uuid.
       getCordovaVersion = function ()
            var cordovaVersion = device.cordova;
            return cordovaVersion;
        getDeviceUUID = function ()
            var uuid = device.uuid;
            return uuid;

  • Where to get ADF Mobile Client Extension?

    I could not find it anywhere...
    I am using jdev 11.1.1.3.0
    I tried using my jdev -> check for updates -> Official Oracle Extension & Updates -> ADF Mobile Client - Developer Preview is not available version 11.1.1.3.37.56.63
    But it prompted me to input username and password....which I never succeeded to logged in.
    Can someone point out the url location to download ADF Mobile Client?
    Thanks

    I see it in check for updates, but you can download it from here http://www.oracle.com/technology/products/jdev/101/update/center.xml#oracle.adfmc
    John

  • ADF Mobile: Dynamic action calls based on a listView item selection

    I've currently got some supporting data that provides the "name", "description", an "image", and a "navigation" per row.  I populate a listView based on this collection and assign the name to the list item text, the image to the list item image, and I am attempting to create some dynamic navigation to the next mobile page based on the value of the "navigation" in the data.
    I attempted to use #{row.navigation} as the action for the listItem, but I am getting an error "Cannot find property row" at run-time when I click on an element.  I know the row data for navigation is correctly there because I can feed the #{row.navigation} into the listItem's text property and it shows up correctly there.  I also made sure that the value in this navigation corresponds to a valid action in the task.
    Is there another way to do this?
    Jdev 11.1.2.3
    ADF Mobile
    Thanks,
    Jim

    Thanks for a quick response.
    I think I'm missing something since it did not populate any value.
    Here is what I did based on the code you provided.
    I've created dynamic action on field Type to execute a javascript code you provided when the value in this filed changes. The output or the items(s) affected is set to Address1 field. I didn't change the code except replacing the the actual value of Type and Label.
    Then I went to Address1 field and on the 'Label' I put the code <span id="dynamic_label"></span>. It returns nothing.
    Am I missing anything? Am I suppose to change something else as well.
    Your help is really appreciated.

  • ADF Mobile: WebService data control method call with array

    JDev 11.1.2.3
    ADF Mobile deployed to Android emulator
    Hello All,
    I am trying to invoke a method in my Web Service data control and get the following exception
    Caused by: ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - Cannot serialize: [I@1dbae822
            at oracle.adfmf.dc.ws.soap.SoapTransportLayer.invokeSoapRequest(Lorg/ksoap2/SoapEnvelope;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.soap.SoapWebServiceOperation.invoke(Ljava/lang/String;Loracle/adfmf/dc/ws/soap/SoapGenericType;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.soap.SoapWebServiceOperation.invoke(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.JavaBeanOperation.execute(Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.WebServiceDataControlAdapter.invokeOperation(Ljava/util/Map;Loracle/adfmf/bindings/OperationBinding;)Z(Unknown Source)
            at oracle.adfmf.bindings.dbf.AmxMethodActionBinding.execute()Ljava/lang/Object;(Unknown Source) This method is an AppModule method exposed as a service interface and the parameter for this method is a List<oracle.jbo.domain.Number>. The schema definition for the input is as follows:
    <element name="acceptTask">
       <complexType>
         <sequence>
                <element maxOccurs="unbounded" minOccurs="0" name="taskID" type="decimal"/>
         </sequence>
       </complexType>
    </element>For the input to my binding, I have tried int[], Integer[] and List<Integer>. All of these result in similar errors.
    I have also tried invoking this through a regular ADF application and that works fine with an int[]. It looks like something specific to the ADF Mobile SOAP layer.
    Is this a bug or a restriction in the framework? Any workarounds that has worked for anyone?

    No luck. A WS DC method call with a simple parameter (java.lang.String or java.lang.Integer) works fine but I can't get it to work when there is an array input.
    I have tried WS methods with int arrays and simple string arrays without any luck. All of them result in a cannot serialize error.
    I can't figure out what I am doing wrong. Are there any working WS Datacontrol samples with array inputs?

  • Is it possible to have a pop-up in ADF Mobile which automatically fades after a few seconds? how to achieve this?

    I need to have a confirmation message pop-up that fades after 2 seconds of appearance, Is it possible with ADF Mobile?

    I'm no pro of any kind, but let me see if I can focus your question...I'm basically just thinking out loud for you...
    So you want a form on your page with a "submit" button. When someone fills out the form and clicks on "submit," you want 3 actions to be executed...
    1. Submit the form (email or whatever)
    2. Hyperlink to another page (like a thank you page)
    3. Automatically start a file download (maybe another URL with the .zip file like you mentioned).
    Right? So basically all the actions are just URLs. I mean you could type any one of them individually into the address bar of Safari and get the expected result, right? So I wonder how difficult it would be to make these 3 actions dependent on a single button click?

  • Need help in UI design in ADF Mobile

    Hi
    I have a requirement to create the interaction as shown in the image at https://picasaweb.google.com/113470899999229420779/February32013?authuser=0&feat=directlink. I am not sure which component is it?
    Please advise how to create this type of button in the header.

    Hi there...
    You should see a popup component in the layout section.
    Also there is a new list view component, which can be set to static fixed data or databound. In ADF mobile, you have to get a little more creative with the use of components and styling. I also see that the display is an application menu.
    ADF Mobile delivers a standard design pattern to achieve this through the springboard... however if you want that particular pattern, a styled popup is definitely the way you go.
    Please check 'helpful' or 'correct' ;-)
    S

  • Programatically retrieve data using iterator in oracle ADF Mobile

    I want to read programatically data using iterator in ADF mobile. My code is :
    try
    ValueExpression vex = AdfmfJavaUtilities.getValueExpression("#{bindings.WeatherDescriptionIterator}", Object.class);
    AmxIteratorBinding iter = (AmxIteratorBinding)vex.getValue(AdfmfJavaUtilities.getAdfELContext());
    GenericType row = null;
    BasicIterator bIter = iter.getIterator();
    iter.getIterator().first();
    ArrayList employees = new ArrayList();
    for(int i = 0; i < iter.getIterator().getTotalRowCount(); i++)
    row = (GenericType)iter.getCurrentRow();
    String phone = "";
    String email = "";
    if(row.getAttribute("Description") != null)
    phone = row.getAttribute("Description").toString();
    if(row.getAttribute("WeatherID") != null)
    email = row.getAttribute("WeatherID").toString();
    setTempValue(phone + " " + email);
    iter.getIterator().next();
    catch(Exception e1)
    AdfException ex = new AdfException(""+e1.getLocalizedMessage(), AdfException.ERROR );
    throw ex;
    I get error :-> cant not find property bindings
    Edited by: user12190920 on May 7, 2013 5:48 AM

    Hi,
    You can try the below code. Make sure the WeatherDescription should be of type Tree binding
    ValueExpression ve1 =
    AdfmfJavaUtilities.getValueExpression("#{bindings.departments.collectionModel}", AmxCollectionModel.class);
    AmxCollectionModel model = (AmxCollectionModel)ve1.getValue(AdfmfJavaUtilities.getAdfELContext());
    Object[] myArr = model.getKeys();
    for (int x = 0; x < myArr.length; x++) {
    Object myObj = myArr[x];
    Map provider = (Map)model.getProviders().get(myObj);
    String deptName = provider.get("deptName").toString();
    Hope this article may help you - http://deepakcs.blogspot.in/2013/02/adf-mobile-iterate-through-all-rows-in.html
    - Deepak

  • How to convert termianl log to human readable log in ADF mobile

    When I debug my ADF mobile application, I write command tail -f /var/log/system.log in terminal. And I get following output.
    May 6 11:32:42 evosys-iMacs-iMac.local manager[507]: Obj-C [CH-1, State=created ableToSend=Yes]: Message arrived - VMMessage [
         type: Plain[0x00]
         prinorty: 2
         channelID: -1
         messageID: 3
         length: 137
         body: {41, 44, 46, 4D, 53, 47, 20, 31, 30, 30, 30, 30, 20, 20, 20, 35, 31, 31, 20, 20, 20, 35, 31, 31, 20, 20, 20, 20, 20, 30, 20, 20, 20, 31, 30, 31, 7B, 22, 72, 65, 73, 75, 6C, 74, 22, 3A, 5B, 5D, 2C, 22, 64, 61, 74, 61, 43, 68, 61, 6E, 67, 65, 45, 76, 65, 6E, 74, 22, 3A, 7B, 22, 76, 61, 72, 69, 61, 62, 6C, 65, 43, 68, 61, 6E, 67, 65, 73, 22, 3A, 7B, 22, 76, 69, 65, 77, 53, 63, 6F, 70, 65, 22, 3A, 7B, 22, 2E, 6E, 75, 6C, 6C, 22, 3A, 74, 72, 75, 65, 7D, 7D, 2C, 22, 70, 72, 6F, 76, 69, 64, 65, 72, 43, 68, 61, 6E, 67, 65, 73, 22, 3A, 7B, 7D, 7D, 7D}
    But I have no idea that how to convert body into string,
    Thanks in Advance.

    Dennis Knutson wrote:
    Are you refering to the front panel logging option? The actual binary format is going to depend on what controls and indicators you have on the front panel and their data types. There is an example of using the file i/o functions to read one of these files in chapter 14 of the user manual. The problem you'll have if you write a program to read a log file is that every time you add or delete a control/indicator, you'll have to rewrite your program and then you'll be unable to read older log files. You'd be better off writing your own log routines. Then you would control the binary format. There are shipping examples that you can look at for fbinary file storage.
    Yes, I am referring the front panel logging option and I will read the maual first. Thank you very much for your help.

Maybe you are looking for

  • Blacklisting of messages in PI 7.31

    Hello All,     In Production we are facing an issue with one of the message.The Message status is in "To be delivered" since 2 days. In the message log it was showing as below: Please let us know why we are facing this issue and How can we overcome t

  • New user created doesn't see any data in reports

    Hello Everyone, I am using Hyperion Planning 11.1.2.1. I have a problem when i created a new user in the system via Shared Services. The reports are Reporting and Analysis reports. I duplicated a current user in the system and applied the same groups

  • Setting up a transition by using Fade, Move, RemoveAction and AddAction

    Hi, I've been working on a transition for a few days now but I can't seem to get it to animate how I envisioned it. I'm pretty new at Flex so I decided to check with you guys here just to see if I'm approaching the issue from the right angle. After f

  • Iwork or documents to go for iPad?

    Hello, I've been searching for applications that are able to open microsoft office documents such as word, excel and powerpoint in ipad. I have found the iwork pack for almost 30 dollars and documents to go for just 9.99 dollars. I was wondering whic

  • Parallel querying ignored.

    Guys, I've a table at a remote database instance,which I query from my instance shows the usage of Parallel querying SQL> EXPLAIN PLAN FOR   2  select f.* from fact@orcl f; Explained. SQL> SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY); PLAN_TABLE_OUTPUT |