Saving empty files in Android #4333
              
                Unanswered
              
          
                  
                    
                      e-balalaikin
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
The html code is collected in the "body" variable, which must be saved as a file table.html locally on a smartphone. The code used and the permission in the file are listed below.
The application works without errors, a dialog box opens with the choice of where to save the file. After clicking "Ok", an empty file is saved table.html . Miui Global 12.5.7 system, Android RKQ1.200826.002.
Everything works fine in the emulator and the file is saved with the contents.
Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions