Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Developing an extension on Simphony Android

Evan Camilleri

Programmer
Feb 14, 2018
32
0
6
MT
I want to develop an extension to work in Simphony on Android.

I understand I need to use the Oracle MICROS Simphony HTML5 Extensibility Developer Reference Guide to use HTML5 with SIM.

However, I need to interact with the hardware, for example, by saving some data on a hard disk or calling an external API to get some data. I understand that C# is not an option to do this. How would one go around this, what alternative do we have?

Evan
 
I am doing exploration into this as well. From what i gather so far, you will need to do all that within JS snippets in your HTML5 code.

Alternatively, you can look into 19.7 JS Extensibility support instead of SIM/ISL. I believe you can do File System operations in JS ext, but not API calls. Engine they are using does not come with HTTP libraries to make API calls, like node-fetch. And i don't know if you can include extra libraries either. so the API calls will have to be done in HTML5, regardless if you use SIM or JS Ext, at least as far as i figured so far. But you are right, you definetely can't use dotnet assemblies.
 
Hey, I'm also looking into something similar, i've been doing some research and it may be possible. Looking for other people interested in this to talk about it, created a discord if you want to join.

 
Hi Evan
While HTML5 is a powerful tool for creating web-based extensions within Simphony, it's limited when it comes to direct interaction with hardware or external APIs. To achieve these functionalities, you'll likely need to employ a combination of technologies. One approach is to utilize JavaScript's Web Workers, which can execute tasks in a separate thread, allowing you to perform CPU-intensive operations or make asynchronous network requests without blocking the main UI thread. Additionally, you might consider leveraging native mobile app development frameworks like React Native or Flutter, which allow you to build cross-platform apps with access to native device features. These frameworks often provide bridges to native APIs, enabling you to interact with hardware components or integrate with external services. By carefully considering your specific requirements and the capabilities of different technologies, you can effectively develop an extension that meets your needs within the Simphony environment.
Source: https://www.f6s.com/member/alexander-riedinger
 
I am doing exploration into this as well. From what i gather so far, you will need to do all that within JS snippets in your HTML5 code.

Alternatively, you can look into 19.7 JS Extensibility support instead of SIM/ISL. I believe you can do File System operations in JS ext, but not API calls. Engine they are using does not come with HTTP libraries to make API calls, like node-fetch. And i don't know if you can include extra libraries either. so the API calls will have to be done in HTML5, regardless if you use SIM or JS Ext, at least as far as i figured so far. But you are right, you definetely can't use dotnet assemblies. g
Thanks for the insights! It seems JS snippets in HTML5 are necessary for API calls. I'll explore JS Extensibility for file operations, but HTTP libraries will still need HTML5. Appreciate the clarification!
 

Part and Inventory Search

Sponsor

Back
Top