cancel
Showing results for 
Search instead for 
Did you mean: 

How to integrate 3D visual viewer with agentry android client 7.14.0

former_member301443
Participant
0 Kudos

Dear expert

I have successfully build an agentry client for Android including GIS and 3D VE last year. I am trying now to upgrade my agentry client from level 7.0.5 to 7.14.0.37. I succeed to get GIS working again but I have trouble with 3D VE. I am getting an exception when trying to open the VDS document on an Android device (see log.txt for more details)

Unable to start activity ComponentInfo{com.syclo.agentry.client.android/com.sap.ve.SurfaceActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayOptions(int, int)' on a null object reference

I am using the following components to build the android app. Thanks for help. Regards.

*******************************************************

Code Levels:

Eclipse => Neon

Agentry SDK => SMPAgentryClientFramework-Android-70.14.0

.zip

MOBILE APPS OPEN UI SDK ==> 1.1.0 SP01 PL1 => EAMMOBAPPSDK01P_1-70000839.ZIP

SAP 3D SDK => SAP3DVEApplicationSDKv2_4.zip

AndroidManifest.xml => androidmanifestxml.txt

Instructions => SAP EAM and service mobile app SDK 2.1

Accepted Solutions (1)

Accepted Solutions (1)

former_member301443
Participant
0 Kudos

I got it working with:

- Android studio 3.0.1

- SAP EAM and service mobile app SDK 2.2.1 Android => 51053042_1.ZIP

- ArcGIS 10.2.9 => arcgis-android-sdk-v10.2.9.zip

- libDVL 2.4 (SAP3DVEApplicationSDKv2_4.zip) (I can not find 2.3)

- SAP EAM and service mobile app SDK Installation Guide.SAPEAMSDK_221.pdf

Answers (4)

Answers (4)

former_member301443
Participant
0 Kudos

Hi Bill,

I have rebuilt Android client with:

- SAP EAM and service mobile app SDK 2.1.0 Android => 51051404_1.zip

- ArcGIS 10.2.6.2 => arcgis-android-sdk-v10.2.6-2.zip

- libDVL 2.4 (SAP3DVEApplicationSDKv2_4.zip) (I can not find 2.3)

I am getting a fatal exception when opening the vds attachement (works fine on iOS)

03-14 17:12:35.106: E/AndroidRuntime(2516): FATAL EXCEPTION: main 03-14 17:12:35.106: E/AndroidRuntime(2516): Process: com.syclo.agentry.client.android, PID: 2516 03-14 17:12:35.106: E/AndroidRuntime(2516): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.syclo.agentry.client.android/com.sap.ve.SurfaceActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.ActionBar.setDisplayOptions(int, int)' on a null object reference

log.txt

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

According to the Mobile Apps SDK documentation for the SDK version below the versions for GIS / VE are as follows.

- Mobile Apps SDK = 2.1.0

- ArcGIS SDK = ArcGIS 10.2.6-2 SDK

- SAP 3D VE Application SDK = v2.3 VE libraries

former_member301443
Participant
0 Kudos

Hi Bill,

I have regenerated the agentry client with;

- SAP EAM and service mobile app SDK 2.0.1 Android => 51051266_3.ZIP

- ArcGIS 10.2.6.2 => arcgis-android-sdk-v10.2.6-2.zip

- libDVL 2.4 (SAP3DVEApplicationSDKv2_4.zip)

I am getting now 2 problems:

GIS: Map do not load (see gis.png) . I can see an error in log => E/EsriMapViewController(2444): Client ID <enter client id> is invalid!

3D VE: Document is not opened (see 3d.png). I do not see any error in log.

What are the version of the

- Mobile Apps SDK

- ArcGIS SDK

- SAP 3D VE Application SDK

that may be used with agentry android client 7.14.0. Regards.

-- Didier

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

I would suggest updating the Mobile Apps SDK version and see if that solves the problem. There were a number of Android client changes in the SP12 timeframe to support newer Android OS versions that required changing the tab control in particular that may require the newer SDK to use with the current Android client.

--Bill