Introducing a lighter version of Java SDK, for Android
I’m excited to share that we have built a ic4j-agent-lite and ic4j-candid-lite, a lightweight version of the ic4j-agent and ic4j-candid project. This project provides a simplified and efficient way to interact with the Internet Computer (IC) while minimising package size. All the changes are also merged on the main module and are available from ic4j-candid and ic4j-agent version 0.7.4.
Key Features
- Small Footprint: The
lite
version drastically reduces the size by 60%, and improves build time and performance, making it ideal for mobile and resource-constrained environments. - Minimal Dependencies:
ic4j-agent-lite
is designed with minimal dependencies, ensuring better performance and faster deployment times. - Supports Core IC Operations: Despite its reduced size, the lite version retains support for key operations such as querying canisters, sending updates, and handling responses from the Internet Computer.
Please refer to the complete guide here to start building your own Android application on top of ICP.
I have also published a basic demo application named ICP-TweetsApp that interacts directly with canister deployed here.
Here is the complete video tutorial showcasing integration testing on Android.