So I have made a quick report app to collect data and add it to a feature class I created. This feature class in used by a webapp I made to show the information collected by the quick report app.
What I want is to add a button on my quick report native app clicking which opens up the webapp on my cellphone either in the browser on inside the app.
I opened the quick report app in qt creator but have no clue how to proceed.
Can someone give me some guidance on how to proceed?
Here is the code snippet to open a webpage externally in a browser from the app using a button click. Now I am not sure where exactly you want to add this button. If you want to add it when the report gets submitted. You could do that in the Pages>ResultsPage.qml. You need to open the project in QT creator.
Button {
width: 200
height: width/5
text: "Open arcgis.com"
onClicked: {
Qt.openUrlExternally("https://www.arcgis.com/");
}
}
This is exactly what I was looking for!
Thank You
I have a similar question and would like help with more of the code. I just want a button on the main page of the quick report app that will take the user to a web map of already crowd-sourced information. Thanks