B4A Library ProBundle

ProBundle contains all the following libraries:

- ArchiverPlusZip v1.13
Based on the Zip4j library, this library allows to add, extract, update and remove files from a zip archive.
It supports encryption and decryption (standard and AES), Zip64 format and split zip archives. It is compatible with B4J.

- ClassLoader v1.0
This library can dynamically load classes from a separate file (JAR or uninstalled APK) at runtime and verify the file signatures to make sure of its origin and integrity.
You can use the library to create plug-ins, load code encrypted in the assets or download code from a remote server, for example.

- CPUFeatures + source v1.0
This library detects the target device's CPU family and the maximum number of CPU cores.

- DataCollection v1.07
This library wraps the ArrayDeque, BitSet, PriorityQueue, SparseArray, Stack, TreeMap and TreeSet classes. These classes can replace your lists, maps or arrays for specific tasks. A TreeSet, for example, can maintain a sorted list of objects in a more efficient manner than a typical List class. A TreeMap is a map whose entries are sorted by their keys. A SparseArray is also a sorted map, but restricted to integer keys, that is lightning-fast.
This library can serialize to an array of bytes any collection, including Map, List and user defined types. A version for B4J is provided (without the SparseArray).

- F5Steg v1.2
This library implements F5, a secure steganographic algorithm, which embeds data into images. Data are encrypted with a password or, by default, with the application signature (thus any tampering of the APK will prevent from extracting valid data).

- FastIO + source v0.9
This library replaces the Read and Write functions (with their encrypted variant) of the RandomAccessFile library for arrays of bytes. These new functions are a lot faster.

- OverlayWindow + source v1.2
This library allows to create overlay windows and floating buttons. These interactive views can be displayed on top of all other applications.

- PackageUtils v2.1
This library replaces the PackageManager class of the Phone library. It gives plenty of informations on packages (activities, features, permissions, receivers, services, etc.) and can list the features available on the system (camera, gps, wifi, etc.). It allows experts to change the enabled state of components.
An application is provided with the library to show what you can get with it.

- UltimateArchiver v0.91
This library wraps P7Zip, a command line utility that can create archives with the 7z, zip, bzip2, gzip, tar or xz format. It can unpack files with extension 7z, cab, gz, img, iso, jar, rar, tar, zip and a few others.
It supports encryption/decryption and volumes. It is written in C to be as fast as possible.

- UnArchiver7z v1.0
Based on the official source code in C of 7zip, this library allows to extract files from a 7z archive compressed with the Lzma or Lzma2 method. It can unpack an archive directly from the assets.
It does not support decryption.

- UnArchiverRar v1.04
Based on the official source code in C++ of the UnRar.dll, this library allows to extract files from a Rar archive.
It supports decryption, Rar5 format, QuickOpen records and split Rar archives.

Since September 2018, ProBundle is available for free. You can still donate for it if you wish.
To send the money, just click on the Donate button below (the amount to enter is in euros):


CURRENT VERSION : ProBundle 1.22

DOWNLOAD HERE:
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
I´m first but i need to wait for tomorrow :D
 

susu

Well-Known Member
Licensed User
Longtime User
Tomorrow, tomorrow!!!
 

incendio

Well-Known Member
Licensed User
Longtime User
Interesting, can callsubextended used to run different RDC at the same time?

An example would be useful.
 

Informatix

Expert
Licensed User
Longtime User
Interesting, can callsubextended used to run different RDC at the same time?

An example would be useful.
What do you mean exactly? RDC can mean "remote desktop connection", "remote database connector" or "république démocratique de Chine" in my language ;).
CallSubExtended has a function "AsyncCallSub" that can run a given sub in a separate thread instead of the main thread, so this sub is not blocking and run in the background. It's perfect to do computations, write to disk (and it's recommended by Google), retrieve a file on a remote server, communicate with another device, benefit from the many cores of your CPU to do something faster, etc. It's not intended to update the UI (only the main thread can do that) but you can do it anyway thanks to the RunOnMainThread function. A list of functions is given in the zip at the bottom of the first thread.
If you want to do concurrent writes to a database, the database has to support them.
 
Last edited:

MarcoRome

Expert
Licensed User
Longtime User
Protect My App - a PDF guide to protect your application
In this guide, I explain in detail how hackers can decompile your application and change your code. I give advices about what to do and what to avoid. I provide a practical solution to enforce the protection of your assets (images, db, etc.), passwords, and even pieces of critical code.
With this guide, I provide four configuration files for the Proguard tool and an updated version of the BasicLibIDE library, made compatible with the recent versions of B4A and the obfuscated mode. You get also a personal support by email.

And so as you told me. You wrote this work. :)
Great Fred
 

Informatix

Expert
Licensed User
Longtime User
And so as you told me. You wrote this work. :)
Great Fred
You will see in the Guide that my knowledge on this matter has greatly increased since we started talking. I read a few books on security these past days... But honestly I'm very disappointed by these books. They are vague, their advices are limited to "obfuscate your code" or "write a .so library". And for B4A users, they really lack of interest.
 

MarcoRome

Expert
Licensed User
Longtime User
You will see in the Guide that my knowledge on this matter has greatly increased since we started talking. I read a few books on security these past days... But honestly I'm very disappointed by these books. They are vague, their advices are limited to "obfuscate your code" or "write a .so library". And for B4A users, they really lack of interest.
I am very curious to see what you have produced ( Guide ) . And to prove this last your creation ( ProBundle )
 

incendio

Well-Known Member
Licensed User
Longtime User
What do you mean exactly?

Sorry, RDC means Remote Database connector.

EDIT :
Just saw your demo and html file.
On method AsyncCallSub, there is an identifier to indicate whether Sub is running or not.

In case on RDC, there are 2 processes, call RDC Sub and wait for response in Sub Job done. Since this is 2 process, do you think it will speed up the whole process by using
CallSubExtended ?
 
Last edited:

Informatix

Expert
Licensed User
Longtime User
Sorry, RDC means Remote Database connector.

EDIT :
Just saw your demo and html file.
On method AsyncCallSub, there is an identifier to indicate whether Sub is running or not.

In case on RDC, there are 2 processes, call RDC Sub and wait for response in Sub Job done. Since this is 2 process, do you think it will speed up the whole process by using
CallSubExtended ?
I'm sorry but I don't understand what you want to do. AFAIK, RDC works already in the background (DBRequestManager creates a HttpJob for each request) and Jobdone is not a function that you call yourself, it's an event raised when the job is done. It is not blocking. Unless I understand what you really try to do, I won't be able to give a better answer.
 

susu

Well-Known Member
Licensed User
Longtime User
I'm using phone so I can't see donation button. Can you give me your Paypal email?
 

DonManfred

Expert
Licensed User
Longtime User
Since this is 2 process, do you think it will speed up the whole process by using
CallSubExtended ?

AFAIK it will not help here. CallsubExtended is made to run an long running sub into background. Calling the request with rdc is not a LONG RUNNING sub... Usually it is a really fast sub. The request is already send in background and raises the JobDone sub.
You cannot change the behaviour of RDC with callsubxtended.

Just my 2cent.. Dont give to much weight on my answer; better wait for the answer from @Informatix
 

Informatix

Expert
Licensed User
Longtime User
CallsubExtended is made to run an long running sub into background
It's one of its possible use but you cannot limit the library to that. The second demo, for example, uses 2 cores to fill an array faster.
In some cases, using a service is better. Without knowing exactly what people want to do with the library, it's difficult to give a good advice.
Dont give to much weight on my answer; better wait for the answer from @@Informatix
I already answered in post #14.
 
Top