Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to integrate the AION api with an Android app? #36

Open
margge opened this issue Sep 5, 2018 · 3 comments
Open

Is there any way to integrate the AION api with an Android app? #36

margge opened this issue Sep 5, 2018 · 3 comments

Comments

@margge
Copy link

margge commented Sep 5, 2018

Have you tried it or is there any documentation specific for Android you can share with me?

@AionJayT
Copy link
Collaborator

AionJayT commented Sep 6, 2018

@margge Sorry about the inconvenience. Currently, the API doesn't have a try to the android system. Cause the API will call the native c library during executing some functions. these native libraries for sure doesn't compatible with the Android kernel.

@saaperezru
Copy link

@AionJayT could you please provide more details of which native libraries won't be compatible with Android?
I believe both ZMQ and Sodium have Android versions, but I'm not sure that Blake2b has one, since it may be dependent on x86 architecture instructions. Is it only blake2b the one that doesn't work for Android?

@AionJayT
Copy link
Collaborator

@saaperezru for the aion&java api project. the ZMQ we are using https://github.com/zeromq/jzmq. It does not mention support the Android system. I am sure the Sodium can be migrated to the Andriod system https://github.com/joshjdevl/libsodium-jni. And the blake2b we are building from src code https://github.com/aionnetwork/aion/tree/master/modCrypto/src_native, the issue is the current source code it requires the processor support SSE2 (our build requires SSE4.2 or later) or more advanced instruction set. Therefore we need to find an Androd implementation to make the migration happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants