Skip to Content
0

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

Jan 03, 2017 at 04:53 PM

145

avatar image

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

log.txt (2.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Bill Froelich
Jan 03, 2017 at 10:29 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Didier Decroos Jan 04, 2017 at 02:51 PM
0

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


gis.png (63.7 kB)
3d.png (77.6 kB)
Share
10 |10000 characters needed characters left characters exceeded
Bill Froelich
Jan 18, 2017 at 05:20 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Didier Decroos Mar 14, 2017 at 04:50 PM
0

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


log.txt (2.3 kB)
Share
10 |10000 characters needed characters left characters exceeded