Developer Discussions

Discuss topics with other Hexagon Geospatial Power Portfolio developers and experts to get the most out of our products.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Contributor
Posts: 33
Registered: ‎05-30-2016
Accepted Solution

MMW URL scheme (Android) with parameters.

[ Edited ]

A customer of ours is asking whether it is possible to launch MMW Essentials with a given set of parameters, in this case a set of coordinates, that can be used in MMW Essentials as a map starting point.

I have talked to Vince Smith and he have confirmed that MMW Essentials are ready for being launched via URL schemes, but could not confirm that passed parameters could be used. I could not find any related articles, other than the one describing URL schemes in general (../Using-Custom-URL-schemes/ta-p/4927).


Is it possible to, one way or another (e.g. using SDK) to pass a set of coordinates to MMW Essentials via the URL scheme and position the map around it as a starting point?

Highlighted
Technical Evangelist
Posts: 712
Registered: ‎11-12-2015

Re: MMW URL scheme (Android) with parameters.

Hello mp,

 

This is just a note to mention that I have moved your topic to the 'Developers Discussion' section of the Community. There it will get a better audience to chime in on the use of Mobile SDK.

Highlighted
Technical Evangelist
Posts: 184
Registered: ‎07-30-2015

Re: MMW URL scheme (Android) with parameters.

Hi, 

 

It’s possible to open the MMW Essenital app using url scheme.
It isn’t possible to pass parameters when opening the MMW Essentials app.
Your case sounds as a reasonable requirement for the product.
 
With MobileSDK app and the MMW Essentials template you can program the behaviour as you wish Custom url scheme:
  • you can define your scheme
  • you can handle opening url and its paramters in the handleOpenURL function
  • you can use gsp.map.center to center the map

Please keep in mind that by default the app requires accepting, eula and providing credentials. In such workflow a user would have to first launch the app, login and the he would be able to use it with other apps.

 

It is possible to disable eula and login screen displays.

 

Highlighted
Contributor
Posts: 33
Registered: ‎05-30-2016

Re: MMW URL scheme (Android) with parameters.

Thanks for the reply Lukasz.

 

Does MMW "classic" have a URL scheme?

Highlighted
Technical Evangelist
Posts: 184
Registered: ‎07-30-2015

Re: MMW URL scheme (Android) with parameters.

No

Highlighted
Technical Evangelist
Posts: 184
Registered: ‎07-30-2015

Re: MMW URL scheme (Android) with parameters.

BTW I like the name "classic" MMW. I must think about re-using it Smiley Happy

Highlighted
Contributor
Posts: 33
Registered: ‎05-30-2016

Re: MMW URL scheme (Android) with parameters.

Thanks Lukasz Smiley Happy