Skip to Content

Adding GIS Control to the Android Agentry Client

I am trying to enable ESRI integration with Work Manager 6.4. I do not have any prior experience in GIS integration and have been following below link but it looks like the information provided here is old and not up to the date.

https://uacp2.hana.ondemand.com/viewer/06008dfd510e4e76aa45b2b7d01d570e/2.0.1/en-US/b4cd245570a71014882be7f64e204223.html

For example, it talks about Eclipse but it is not supported any more and Android Studio is now official tool for Android Development. Also, the OpenUI SDK documentation does not talk about setting up Android Studio for Agentry OpenUI. It talks about Eclipse but not Android Studio.

Is there step by step document for Android Studio? Please let me know if anybody has done this recently with WM 6.4 and Android Studio.

Your inputs will be appreciated and helpful answers will be rewarded.

Thanks!

Abhishek

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jun 19, 2017 at 08:18 PM

    The documentation is still correct and valid. The client that the documentation is based on is built using ADT. While ADT has been superceded by Android Studio it is still available for use. The recently released SMP3 SDK SP15 did change the Open UI client framework to be based on Android Studio. I would expect the next time the product team releases and update they would also update this documentation to reference Android Studio builds.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 23, 2017 at 08:54 PM

    One more thing, I imported all the projects into eclipse(JUNO) but getting below error when importing MobileAppsGISLibrary from EAM SDK:

    resource directory 'C:\Users\sharmaa1\Downloads\Android GIS\EAM SDK\Android\SAP_EAM_MOBILE_APP_SDK_2.1_\SDK_AND\GIS\MobileAppsGISLibrary\res' does not exist

    I do not have any prior experience working in Eclipse so please excuse if there are any basic questions.

    Are there any additional libraries I need to import?

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 30, 2017 at 02:11 PM

    The EAM SDK files need to be layered on top of the Agentry client framework projects. They are not a standalone project.

    --Bill

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 30, 2017 at 02:12 PM

    You need to layer the EAM SDK stuff on top of the Agentry client framework. If you are not using eclipse / ADT then there is no guarantee it will work as the projects were not setup or tested with Android Studio.

    --Bill

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Bill for your response.

      I am using Eclipse(JUNO) as I indicated earlier.

      What do you mean by layering the EAM SDK on top of Agentry client framework?

      Is it just adding the projects (e.g. MobileAppsGISLibrary) from EAM SDK to AgentryAndroidClientSolution project as a library?

      Also, I have moved all the resources(everything under res folder and libs folder) from ESRI SDK to AgentryAndroidClientSolution project.

      But still I am not able to run the application inside eclipse. Could you please provide some insight here?

      Since Android is taking lot of time, so we started with building IOS client and we were successfully able to do it but now we are seeing that location tab is empty. Our backend configuration is already in place and we are able to see maps in a windows(desktop) client. Can you please let me know if there is any additional config panel settings require to enable GIS on IOS client?

      My mobile app development team has asked a question. Please check if you can provide any inputs.

      Is there Instructions to build Android Client on Mac? If not, is it possible to build Android client using parallels?

      Thanks,

      Abhishek