Hi,
I am trying to connect my phone to my computer or laptop using a USB cable. Then, I want to use B4J to transfer a file from the Downloads folder in the internal storage of my phone to the Music folder in the internal storage.
I would appreciate it if you could guide me on how I can do...
Hi all - today one of my clients sent me a screenshot with an error message. I tried to reproduce it and found one unexpected result.
Let's say I have a layout with 2 textfields - in my code they are B4XView.
1 - txtProvider
2 - txtProviderName
txtProvider has Keyboard Type - Number_Pad...
In the following example, how do I save a folder? This source only saves the file but I want to save the folder containing the file!
https://www.b4x.com/android/forum/threads/saveas-let-the-user-select-a-target-folder-list-of-other-related-methods.129897/#content
I will be grateful to anyone who...
Also using other programming environments one thing that I found very useful is to be able to store clip-boards on the editing environment, basically store up to a certain number of blocks e.g. from 1 to 9, which contain pieces of code. Today programming is becoming a copy / paste and this...
Hello.
I am trying to create an application, which through the share menu, receives a uri of a file, then the application copies it to a "safe" directory
I already managed to receive the Uri correctly.
I also managed to correctly extract the path of the file, from the uri
But the copy...
Hi all,
As you know, only a few months before the obligatory switch to targetSdkVersion 29.
I have 2 applications with database, one free and one full.
Until now, in the free, my database is in File.DirDefaultExternal, and when the user installs the complete one, I copied the database from...
Hello,
How to copy a file from another application knowing that the two applications are mine?
What is the path to File.DirInternal? /data/data/com.app.xy?
How to go to the DirInternal of the other application?
Thanks
Hello,
I dont know if it would be usefull ,
or if that already exists but that i have not see
With the designer tool, when a complicated layout creation
i would get the "Past Format" button for copying the settings on all selected views (with same type) ?
have a good week
Regards
I have to copy a file in the Internal Directory to a USB stick. To select the destination path I use "ExternalSotorage" library.
When I have selected the destination directory then I use ABzipunzip to zip the file, using the internal memory for source and the USB stick for destination, but it...
Hallo ,kurze Frage
Bei der Installation meiner App installiere ich für den Benutzer eine
Datei, die er später beliebig erweitern soll. (ein Excel sheet).
Hierzu kopieren ich die Datei mit dem Code:
LapDir = RP.GetSafeDirDefaultExternal("LAPs")
If File.Exists(LapDir...
Hello,
Does anybody know how to copy all files from one folder (for example dirInternal -> folder1 ) to another folder (for example dirInternal -> folder2 )?
Thanks in advance
Hi expert
I'm trying to copy file from asset folder it shows error
java.io.FileNotFoundException: /storage/emulated/0/Android/data/com.temp/files/temp1.db (No such file or directory)
while Log(File.Exists(File.DirDefaultExternal,"temp1.db")) shows true
my code :
If File.ExternalWritable...
Hello every one, I wanna save my SQLite file (*.db) to a normal folder.
in notice that I can save it in this way:
File.Copy(File.DirAssets,"ansdb.db",File.DirInternal,"ansdb.db")
but I can't see the file in my phone. I wanna save it in way to I be able to see the file and copy it in my pc.
any...