Field Service

Get Involved. Join the Conversation.


    Richard Laird
    Call Oracle iOS app (native)
    Topic posted November 28, 2018 by Richard LairdBronze Medal: 1,250+ Points, last edited November 28, 2018, tagged Configuration, Mobility / Mobile Apps 
    52 Views, 1 Comment
    Call Oracle iOS app (native)
    Ability to call iOS Mobility application locally from other applications


    Is it possible to call the Oracle iOS Mobility application from other applications? I know you're able to call out to Google Maps for example from Oracle; passing in Activity properties to show directions for example. Is it able to be done the other way?

    I have the requirement to attach a file to a specific property (of type file) in Oracle from another application. I want to avoid a plug-in to do this if possible but at the moment I can't see anything telling me how to do this, assuming it can even be done.

    Comments as always are appreciated.





    • Graham Sawell

      Hi Richard,

      It is possible to launch OFSC from URLs in other apps, functionally this looks at the url, and if the URL is * / * the phone will offer to open it inside OFSC mobility. This functionality is quite limited, last time I had a play OFSC does not interperet URLs in the traditional sense (e.g. opening a certain activity) and instead opts for a javascript SPA-style navigation using knockout.js, where the navigation router is called in JS rather than implied in the URL, with a couple of exeptions in generic parts of the system - simple example being the difference between the core navigation and /mobility. Android also supports a system with intents and actions, which allow you to launch and intersect apps in a more granular way than iOS (albeit they are not used in OFSC currently)

      Is the OFSC GUI key to the process? If not, have you considered using the API? You could make a web service call passing the file binary data using the relatively new (and brilliant) granular access control functionality, removing what used to be a hurdle managing specific API accounts for transactions. This would allow you to implement a quick and painless oauth2 credential check. The user can, in theory, upload the file from any third party system with acceptable authentication using this mechanism, which uses web service calls and a webhook to validate a user token. It sounds more daunting than it is!

      If you absolutely have to use the OFSC GUI and you use an MDM with a standard enterprise browser (e.g. Safari/Webkit), there are ways to achieve this by injecting code. I have used this method to implement everything from cosmetic fixes to bring activitiy colours on the supervisor view, to implementing custom caching to bypass the iPhone cache limitations. Hapy to provide code examples / guidance on how to achieve this if it is of interest, but I would only use this after all other avenues have been exhausted. I think I'm connected to you on LinkedIn so just shout if you want further info, or my email is graham [a.t]