POST
|
Hi! Im having troubles with the file structure of my app using the FileFolder qml type. FileFolder{ id: appFolder path: app.folder.path } When i launch the app i execute the next method on the Component.OnCompleted event of the App: appFolder.makePath(AppFramework.userHomeFolder.filePath("ArcGIS/AppStudio/Data/test/")) That line returns a False In other part of the app, i use the ZipReader to extract all the files that i get from my server, and that creates the folders without problem using the next line: zipReader.extractAll(AppFramework.userHomeFolder.filePath("ArcGIS/AppStudio/Data/test/" + zippedIdSim)); I really dont know if i doing something wrong, but it strange that it works perfectly on Windows but on iOS can not create folders with the makePath method... The main objective is to create individual folders inside that path. ArcGis └AppStudio └Data └Test └376646c3-9cd4-434f-b09c-0d8a22776f82 └{some files} └e2068270-3c49-47b5-8b02-59a3cfae2654 └{some files} └67a8ae80-ef1a-410b-abc1-0762364bfac0 └{some files} └92c33799-d11c-4443-af36-7b5603d56c05 └{some files} └dc087ef0-f590-49ee-9b29-fe252ec0cbb1 └{some files} └92d3bcf8-6d66-45f8-8fe3-e0c8ce9d542f └{some files} └61825d42-e813-4ec4-991f-afeba2e64c3f └{some files} The ones that comes with a Zip file works perfectly, but if i need to create the folder manually don't work at all. A greeting!
... View more
08-10-2021
03:18 AM
|
0
|
1
|
519
|
POST
|
Hi @ErwinSoekianto ! I try all the others Standard Paths without success. I also tried hardcoding some paths but with the same result...
... View more
07-20-2021
02:23 AM
|
0
|
0
|
755
|
POST
|
I have a similar issue few weeks ago. Check your imports, maybe you are using deprecated ones. For example AppFramework Controlls or AppFramework Promises...
... View more
07-09-2021
04:26 AM
|
0
|
1
|
783
|
POST
|
Hi! Im using the FolderListModel to make a custom file chooser, works perfectly on Windows, iOS and Android 11. The problem is that on Android 10, do not work at all... Can you provide me some help with this? import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Window 2.2
import Qt.labs.folderlistmodel 2.2
import ArcGIS.AppFramework 1.0
Rectangle {
visible: false
width: 640
height: 480
Rectangle {
id: mainRect
x: 20
y: 20
width: 300
height: 450
border.color: "black"
radius: 30
ListView {
y: 30
width: parent.width
height: parent.height - 60
clip: true
model: FolderListModel {
id: folderListModel
showDirsFirst: true
folder: "file:///" + AppFramework.standardPaths.defaultFolder(StandardPaths.DownloadLocation).path
// nameFilters: ["*.mp3", "*.flac"]
}
delegate: Button {
width: parent.width
height: 50
text: fileName
onClicked: {
if (fileIsDir) {
folderListModel.folder = fileURL
}
}
background: Rectangle {
color: fileIsDir ? "orange" : "gray"
border.color: "black"
}
}
}
}
Button {
anchors.left: mainRect.right
anchors.leftMargin: 5
text: "back"
onClicked: folderListModel.folder = folderListModel.parentFolder
}
}
... View more
07-08-2021
04:13 AM
|
0
|
2
|
859
|
POST
|
Hi! Since the last AppStudio update i have some errors with diferent texts on android. Looks like each character is displaced by 1 in the ANSI list... I dont know certantly why happens, it appears on diferent components... RoundButton: ComboBox: TextField:
... View more
06-11-2021
01:41 AM
|
0
|
1
|
675
|
POST
|
I have only 1 more error. Can you provide more information to solve this? Im using the NetworkRequest Type from ArcGIS.AppFramework 1.0.
... View more
06-03-2021
05:30 AM
|
0
|
0
|
1202
|
POST
|
Sorry for the delay. There are some others situations that refuses to work correctly with this new version for example the strangest one... Having 2 labels inside a RowLayout, each label using part of the parent width, that sumes the total of the parent width, produce a crash. RowLayout{
Layout.preferredWidth: parent.width*0.8
Label{
text: "A"
Layout.preferredWidth: parent.width*0.4
}
Label{
text: "B"
Layout.preferredWidth: parent.width*0.6
}
} I can understand why, but is strange that the new version crashes widout saying anything. ApplicatioOutput: The program has unexpectedly finished.09:32:00: Debugging has finished General Messages: "C:\Users\jlgomez\Applications\ArcGIS\AppStudio\5.0\bin\AppRun.exe" finished I solved it by changing the width to parent.width*0.5. A greeting!
... View more
06-03-2021
12:39 AM
|
0
|
0
|
1205
|
POST
|
Yes, the application was created with appstudio 4, but I have added changes using AppStudio 5.0.148. Everything looks great as I develop. But once I compile, (Windows, Android, iOS) the app never starts and everything goes blank... I didnt test it on linux.
... View more
05-10-2021
11:14 PM
|
0
|
1
|
1422
|
POST
|
My apps goes blank after install... A week ago I compiled an application and it worked perfectly. Today I have compiled the same code and it does not work. I have also tried with code from 5 months ago and it gives the same result. Are there any changes in the latest appstudio update that make the application boot from qtCreator but not once compiled?
... View more
05-07-2021
08:06 AM
|
0
|
6
|
1472
|
POST
|
Hi! I have problems with an WMS laye, its shown perfectly on iOS and Windows, but not on Android... I can send you by mail, if you provide it to me, the URL and the layers to show if you cant provide me information with this simple description. A greeting!
... View more
11-24-2020
01:27 AM
|
0
|
1
|
441
|
POST
|
Changing the targetSdkVersion to 28 works, but with 29 I can't get it to work in any way ... Any ideas (for future)?
... View more
11-24-2020
01:08 AM
|
0
|
1
|
662
|
POST
|
In phones with android 10 I can't read files from the phone ... Do I have to change some of the permissions?
... View more
11-19-2020
05:36 AM
|
0
|
3
|
694
|
POST
|
It happens in all my applications, even testing on different computers.
... View more
11-19-2020
01:04 AM
|
0
|
3
|
653
|
Online Status |
Offline
|
Date Last Visited |
09-09-2021
12:02 AM
|