I am trying to write a simple application that requests some information from an Aras Innovator database. The Aras manual mentions the use of a IOM.Android.dll in Xamarin.
I copy from the manual
"A RT version of IOM.Android.dll can be found in the \Utilities\Aras Innovator
<Version> IOM SDK\Android directory on the CD Image. You can copy it to another
location and reference it by an Android App using Xamarin’s existing framework to generate
an Android project. IOM APIs belong to Aras.IOM namespace. First, every application must
create a connection with the Aras Innovator server and login to the server using the
connection. If the login succeeds then create an instance of class Innovator with the
connection."
The code suggested in the manual is:
Imports Aras.IOM
Dim server As String = "http://localhost/InnovatorServer"
Dim db As String = "DatabaseName"
Dim username As String = "Username"
Dim password As String = "password"
Dim connection As HttpServerConnection = IomFactory.CreateHttpServerConnection(server, db, username, password)
Dim user As Item = connection.LoginAsync
If user.isError Then
Throw New Exception(user.getErrorString)
End If
I will very much appreciate help with a way to access it from B4A?
I copy from the manual
"A RT version of IOM.Android.dll can be found in the \Utilities\Aras Innovator
<Version> IOM SDK\Android directory on the CD Image. You can copy it to another
location and reference it by an Android App using Xamarin’s existing framework to generate
an Android project. IOM APIs belong to Aras.IOM namespace. First, every application must
create a connection with the Aras Innovator server and login to the server using the
connection. If the login succeeds then create an instance of class Innovator with the
connection."
The code suggested in the manual is:
Imports Aras.IOM
Dim server As String = "http://localhost/InnovatorServer"
Dim db As String = "DatabaseName"
Dim username As String = "Username"
Dim password As String = "password"
Dim connection As HttpServerConnection = IomFactory.CreateHttpServerConnection(server, db, username, password)
Dim user As Item = connection.LoginAsync
If user.isError Then
Throw New Exception(user.getErrorString)
End If
I will very much appreciate help with a way to access it from B4A?
Last edited: