# [Android Portal](https://github.com/biafra23/AndroidPortal) ## EPF5 Week 0 Updates I want to integrate [trin](https://github.com/ethereum/trin) into an Android app ([Android Portal](https://github.com/biafra23/AndroidPortal)) to use it to implement wallet functionality without using a centralized RPC service. - Listing tx history per wallet address from the Portal network - Creating a transfer tx for Ether, ERC-20 tokens and ERC-721 NFTs (locally, needs some data from Portal network. i.e. current nonce) - Signing the tx (locally) - Submitting the tx via the Portal Network Some of the necessary features are not yet available in the Portal network. For exampel submitting a signed tx. ## EPF5 Week 1 Updates I am able to build trin as a library for Android arm64 ABI. I am able to embedd that library into an Android application and call functions from the Android side and return strings to the Android side. ### Current problems When starting trin from the command line it automatically starts a Tokio reactor. That doesn't happen automatically when calling the library from Android. So I have to start a tokio reactor manually. I also need a way to pass data from trin to the Android app and vice versa. 1. Start Tokio reactor programmatically 2. Pass arbitrary data types from Android to trin via JNI 3. Return arbitrary data types from Rust code to the Android app via JNI