Skip to Content
0

Adding GIS Control to the Android Agentry Client

Jun 19, 2017 at 04:49 AM

235

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Bill Froelich
Jun 19, 2017 at 08:18 PM
0

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.

Show 4 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Bill,

I am not able to download ADT. When I try to open below link I get a message that ADT Plugin is not supported and forces me to download Android Studio.

Can you please tell me how can I download ADT Plugin?

Also, What would you be your recommendation ADT Plugin Vs Android Studio?

0

https://stuff.mit.edu/afs/sipb/project/android/docs/sdk/installing/installing-adt.html#Download

Just use the http version instead of the https version. I just tested and it installed as expected.

I have not used the Android Studio version yet as it was just released so I can't really comment. Certainly going forward Android Studio will be the correct answer but you may have to experiment with the steps to make it work until things catch up.

1
Former Member

Thanks Bill for providing the right direction. I have another question, I am not able to download Android SDK, per my understanding earlier it used to come with ADT Bundle and we had option to download that from Android website. Since we dot have those options anymore so I downloaded below one from google and trying to use it in eclipse but not sure about that.

adt-bundle-windows-x86_64-20140702

Could you provide your inputs on this?
0

The android SDK is still available as part of the SDK tools package.

1
avatar image
Former Member Jun 23, 2017 at 08:54 PM
0

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?

Share
10 |10000 characters needed characters left characters exceeded
Bill Froelich
Jun 30, 2017 at 02:11 PM
0

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

--Bill

Share
10 |10000 characters needed characters left characters exceeded
Bill Froelich
Jun 30, 2017 at 02:12 PM
0

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

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

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

0