Support Forum

Ask questions and get help from MobileTogether experts.
MobileTogether Product Information
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
mschmitt  
#1 Posted : Wednesday, March 6, 2024 2:39:59 PM(UTC)
mschmitt

Rank: Member

Groups: Registered
Joined: 4/23/2020(UTC)
Posts: 10
France
Location: PARIS

Thanks: 1 times
Hello,

I am currently experiencing an issue with an Altova solution on Android 13. The application is unable to create or deposit files in the "Internal Storage" folder of Android. It's worth noting that the same application works perfectly fine on Android 9.

Have you encountered this issue before, and do you have any solutions?

Thank you
AFC  
#2 Posted : Wednesday, March 6, 2024 3:02:00 PM(UTC)
AFC

Rank: Administration

Groups: Registered, Administrators
Joined: 9/15/2014(UTC)
Posts: 140
Austria

Was thanked: 18 time(s) in 18 post(s)
Hello mschmitt!

We are not aware of any such issue (although Android has made the storage access much restrictiver between Android 9 and 11).

What do you mean with "Internal Storage"? The Android "Default" folder in the MobileTogether client file dialog?
Do you get any response, error message,...?
Or maybe you can send us even a small sample, that we can look into your issue?

Thank you!
mschmitt  
#3 Posted : Wednesday, March 6, 2024 4:04:54 PM(UTC)
mschmitt

Rank: Member

Groups: Registered
Joined: 4/23/2020(UTC)
Posts: 10
France
Location: PARIS

Thanks: 1 times
Thank you for your response,
What do you mean with "Internal Storage"? The Android "Default" folder in the MobileTogether client file dialog?
Sorry, I made a mistake. When I mentioned 'Internal Storage,' I meant 'ExternalStorage,' one of the possible choices in the 'Android' parameter of the 'Save to File' action in the Altova Designer. If I choose this location "Downloads" from the list instead of "ExternalStorage," it works.

Do you get any response, error message,...?
Fatal Error: I/O operation failed on the file 'file.txt'
Details:
System Error 1: Operation not permitted.

I have a very simple example that highlights the issue
mschmitt attached the following image(s):
Capture.PNG
AFC  
#4 Posted : Wednesday, March 6, 2024 4:44:01 PM(UTC)
AFC

Rank: Administration

Groups: Registered, Administrators
Joined: 9/15/2014(UTC)
Posts: 140
Austria

Was thanked: 18 time(s) in 18 post(s)
Hello!

Well - if you meant "ExternalStorage", then the new access restrictions introduced with Android 11 is the reason.
Also the "permission denied" error explains this.
If you are interested in details: https://developer.androi...sions/11/privacy/storage

In short: without UI, you can only access files, which you have created before.
Also uninstalling and reinstalling the App will lead to this issue.

Would it be possible for you, to write to the "Default" folder? This one you can always access.
Or you use filenames, which are unique to your app for sure?
Or you use the "Let user select file on device" option?
mschmitt  
#5 Posted : Thursday, March 7, 2024 12:07:56 PM(UTC)
mschmitt

Rank: Member

Groups: Registered
Joined: 4/23/2020(UTC)
Posts: 10
France
Location: PARIS

Thanks: 1 times
Hello,

I moved my data using the "Default folder" in the MobileTogether app. However, I can't find them where I expected, namely in the directory \Android\data\com.altova.mobiletogether\files.

Does anyone have an idea where they might be, or could provide advice on locating these moved data?

Thanks a lot!
AFC  
#6 Posted : Thursday, March 7, 2024 5:41:55 PM(UTC)
AFC

Rank: Administration

Groups: Registered, Administrators
Joined: 9/15/2014(UTC)
Posts: 140
Austria

Was thanked: 18 time(s) in 18 post(s)
Hello!

"Default" is the internal App-specific storage.
All these client directories you can select in MobileTogether (e.g. Default, Alarms, Downloads,...) can have different absolute paths on different devices, this is why we use those 'abstract' names.

e.g. 'Default' can be '/data/user/0/com.altova.mobiletogether/files/...' but also a completely different path.

As written, 'Default' is App internal and unless your phone is rooted, it will not be visible to any other application apart from the MobileTogether client.

Hope this helps!?
mschmitt  
#7 Posted : Friday, March 8, 2024 4:14:26 PM(UTC)
mschmitt

Rank: Member

Groups: Registered
Joined: 4/23/2020(UTC)
Posts: 10
France
Location: PARIS

Thanks: 1 times
Hello, I have an issue with the Copy File/Folder object. I'm trying to copy a folder created in ExternalStorage to Downloads. However, the copy of the folder is incomplete; specifically, all files with the .xml extension are not copied. It's worth noting that everything works correctly in the designer environment, but not on Android.

If you have any ideas or suggestions to resolve this issue :)
AFC  
#8 Posted : Monday, March 11, 2024 12:36:42 PM(UTC)
AFC

Rank: Administration

Groups: Registered, Administrators
Joined: 9/15/2014(UTC)
Posts: 140
Austria

Was thanked: 18 time(s) in 18 post(s)
Hello!

Reason might be the same as mentioned above: no privileges/no access.
Users browsing this topic
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.