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

Porting to Android #23

Open
1 task
Wanimatrix opened this issue Oct 10, 2014 · 3 comments
Open
1 task

Porting to Android #23

Wanimatrix opened this issue Oct 10, 2014 · 3 comments
Assignees

Comments

@Wanimatrix
Copy link
Collaborator

There may be a possibility we can get the shell working on android too :).

TODO:

  • Compile readline for android
@Wanimatrix Wanimatrix self-assigned this Oct 10, 2014
@Wanimatrix Wanimatrix changed the title Android Support Porting to Android Oct 10, 2014
@GijsTimmers
Copy link
Collaborator

@jovanbulck
Copy link
Owner

Would be awesome :p

Most important difficulties I see:

  • is android (fully/enough) POSIX compatible? It runs on a modified Linux kernel right? On the other hand, as far as I know every app runs in a JVM? I found this article about a POSIX compatible libc implementation by Google
  • how difficult is it to program in C on android? --> should be possible with a java wrapper with NDK as explained here and here
  • readline wont be the worst problem at first, I think: we can always use some kind of jsh fallback mode using C precompiler directives and a simple non-line editing readcmd function

@Wanimatrix
Copy link
Collaborator Author

Programming in C on Android is not a real problem, just download an App like the [Terminal IDE]{https://play.google.com/store/apps/details?id=com.spartacusrex.spartacuside&hl=nl}: it enables using make, compiling C or C++, etc. on Android. This app can be used to start using jsh.

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

No branches or pull requests

3 participants