12/27/2023 0 Comments Appstudio map![]() ![]() ![]() These features have incomplete functionality and are subject to change before becoming part of an official release. On iOS, fixed a bug in which the AppFramework systemInfomation property was not returning full device model information.Fixed a bug in which video preview was not displayed when using either the CameraDialog or Qt Video component to capture a video.Fixed a bug in which forward proxy settings were being incorrectly ignored.Fixed a bug in which the EXIF orientation value was always stored as 1, regardless of the orientation of the camera when taking the photo.Added activity (whether a user is stationary, walking, running, or driving) recognition support for iOS and Android.On iOS, fixed a bug in which apps wouldn't launch automatically when running on a simulator.Ĭhanges and new features in AppStudio AppFramework include the following.Fixed bugs regarding text misalignment, truncation, or orientation, when AppStudio is used in languages other than English.Fixed a bug in the Advanced Configuration tool that incorrectly displayed an error message when trying to choose kits on macOS and Ubuntu.Fixed a bug in which IWA sign in only worked at the time of adding a new portal.IWA sign-in dialog box improved to ensure it appears in front of other desktop windows.Version 5.4 August UpdateĬhanges and new features in ArcGIS AppStudio include the following: For a list of features currently in beta, see Sneak peek. On Windows, fixed a bug when multiple position sources are present in an app, where only the position source that was started first, provides position updates.Ĭhanges and new features in AppStudio Player include the following.On iOS, fixed a bug when opening Player from an app link, where it would not run automatically if it was already downloaded onto the device.On iOS, fixed a bug on the Diagnostics page where device model was not returning all available information.ArcGIS Runtime has been updated to 100.14.Added UI to Settings for assigning an ArcGIS API key.Authentication handling has been improved to retrieve a new token from the app when a token expires. ![]() Zip files has been updated to 1.2.12 to resolve a security issue reported in CVE-2018-25032. The default value of the high-DPI scale factor rounding policy has been changed to PassThrough, which preserves historical behavior from earlier Qt versions.The new Overview sample demonstrates how to add a relocatable overview map to your app.įor more information, see Set high-DPI scale factor rounding policy.The new Arcade expression sample demonstrates how to display Arcade expressions in map labels or app pop-ups.I have a sample app where I prepare the intent and just pass the CITY_NAME in the intent to the maps marker activity which eventually calculates longitude and latitude by Geocoder using CITY_NAME.īelow is the code snippet of starting the maps marker activity and the complete MapsMarkerActivity.AppStudio now uses Qt Quick Controls 2 instead of the deprecated Qt Quick Controls 1. Intent mapIntent = new Intent(Intent.ACTION_VIEW, navigationIntentUri) Toast.makeText(this, "Please install a maps application", Toast.LENGTH_LONG).show() įor directions, a navigation intent is now supported with google.navigation Uri navigationIntentUri = Uri.parse("google.navigation:q=" + 12f + "," + 2f) Intent unrestrictedIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri)) To use the users current location as the starting point (unfortunately I haven't found a way to label the current location) then just drop off the saddr parameter as follows: String uri = "" + destinationLatitude + "," + destinationLongitude + " (" + "Where the party is at" + ")" įor completeness, if the user doesn't have the maps app installed then it's going to be a good idea to catch the ActivityNotFoundException, as states, then we can start the activity again without the maps app restriction, we can be pretty sure that we will never get to the Toast at the end since an internet browser is a valid application to launch this url scheme too. Or you can add labels to the locations by adding a string inside parentheses after each set of coordinates like so: String uri = "" + sourceLatitude + "," + sourceLongitude + "(" + "Home Sweet Home" + ")&daddr=" + destinationLatitude + "," + destinationLongitude + " (" + "Where the party is at" + ")" Like so: String uri = "" + sourceLatitude + "," + sourceLongitude + "&daddr=" + destinationLatitude + "," + destinationLongitude ![]() Or you can make sure that the Google Maps app only is used, this stops the intent filter (dialog) from appearing, by using tPackage(".maps") Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(uri)) You can also simply use as your URI String uri = "" + sourceLatitude + "," + sourceLongitude + "&daddr=" + destinationLatitude + "," + destinationLongitude ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |