zip

  1. K

    B4J Code Snippet [B4X] Snippet to solve problem when Files from iOS not found on Windows although the name looks identical (Unicode NFC vs NFD)

    Background In a cross-platform app (B4A / B4i / B4J) attachments are zipped on the sending device and unzipped on the receiver. Zips sent from Android to any platform and from iOS to Android or iOS worked fine. Zips sent from iOS and unzipped in B4J on Windows failed: File.Exists returned False...
  2. behnam_tr

    B4J Library [b4j] zip/unzip

    pd_ZipUnZip Library v2.1 dim zp as PD_ZipUnzip zp.Initialize ' zip files/directories Dim File1 As String = File.Combine(File.DirApp,"1.txt") Dim File2 As String = File.Combine(File.DirApp,"2.txt") Dim folder1 As String = File.DirApp&"\testfolder" Dim...
  3. Lucas Siqueira

    [B4X] Selecionar e Extrair Arquivo .ZIP

    Private Sub selecionarExtrairZIP_Click ' Define o diretório interno padrão e o nome do arquivo ZIP que será manipulado Dim diretorioArquivo As String = xui.DefaultFolder Dim nomeArquivo As String = "arquivo.zip" ' Se já existir um arquivo ZIP com esse nome, deleta para...
  4. BrotherEarth

    Android Question Transmitting an already zipped file from Android via AsyncStreams

    I have written a simple response to return the text of a file to the system requesting it. The text file is simple json and it works fine. However, I also need to send a zip file. The requirements do not allow me to send it via FTP, I have to send it via websocket, I am using AsyncStreams. I...
  5. Pedro Caldeira

    Android Question splitted zip

    Hello All, I need to zip a 700MB file into several 100 Mb files, like file1.zip, file2.z01, file3.z02, etc.. So I can send it via HTTP Postmultipart Is there any lib or any way to do it, in B4A ? Thanks
  6. Alain75

    B4A Library SDZipLibrary improvement

    Thanks to @Star-Dust, I have been able to see contain of apk file and moreover to extract files ! I improved a little his code in order to : Get the possible error of zip/unzip instructions into BA log, Add the ability to extract a selection of files without creating subfolders, Suppress the...
  7. Ferdari

    Android Question ArchiverPlus use of constant ZIP_COMP_STORE

    Hi everyone, im using ArchiverPlus from @Informatix for compressing a file of about 200MB, it takes about 5min with arc.ZipCompressionLevel=1, but if set arc.ZipCompression=False and not setting ZipCompressionLevel the file is compressing and taking long. Library info says ZipCompression: Get...
  8. J

    Share My Creation B4Xlib file maker

    Hi everybody, May I present to you this utility which was entirely made with b4j. It is a b4xlib library maker. It has a very simple job : archiving the required resource files into the b4xlib file which is, as stated by the creator, a zip file. It is a standalone package made with JPackager...
  9. rleiman

    Android Question Error opening zip file when compiling

    Greetings, I upgraded to b4a version 9.5. Looks like I may have a corrupt zip file. Please see the attachments. Can you upload a copy of this file so I can download it and compile the app? I also tried to re-install b4a 9.5 several times with the same issue. Thanks so much.
  10. F

    Android Question Google Cloud Storage upload

    Hello all, What I'd like to accomplish is to simply upload a file (zip) to a bucket that I've already created on Google Cloud Storage. REST API URI is given as: https://www.googleapis.com/upload/storage/v1/b/[BUCKET_NAME]/o?uploadType=media&name=[OBJECT_NAME] I do understand that I need...
  11. L

    Android Question Copy file to USB stick error

    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...
  12. A

    Android Question Unzip file

    Hello, Is it possible to unzip a zip file into a folder? Thanks in advance.
  13. Star-Dust

    B4A Library SD: ZipLibrary

    SD_ZipLibray Author: Star-Dust Version: 1.03 SD_ZipLibrary Event finish (Success as Boolean) Functions: Class_Globals As String Initialize (CallBack As Object, EventName As String) As String Initializes the object. You can add parameters to this method if needed. IsInitialized As Boolean...
  14. Star-Dust

    B4J Library SD: ZipLibrary

    jSD_ZipLibray Author: Star-Dust Version: 1.02 SD_ZipLibray Functions: Class_Globals As String Initialize As String Inizializza l'oggetto. Puoi aggiungere parametri a questo metodo,se necessario. IsInitialized As Boolean Verifica se l'oggetto sia stato inizializzato. Zip (FilesTxt As...
Top