Running Android on an Mx5x platform and trying to access and run several (built-in) busybox commands from inside an app.
Many work fine, a couple of examples:
But any busybox command does not (e.g.);
They fail immediate with exit=1, as if hte command does not exist. I have created a soft link for the command which provides a (permissions 777) linked traceroute command. I.e. to allow this;
Still no-go. Immediate exit=1 from the .exec() ?????????
I'm STUMPED! Any input would be most appreciated!
已解决! 转到解答。
No.
Frustrating because the BusyBox traceroute is well implemented and should be accessible.
Also been thinking about implementing a duplicate function in the kernel - which I could call by Android - but concerned about the ensuring that a kernel function output can be readily captured by a calling Android app.
Alternatively I'm thinking I might have to implement a half-baked trace-route by a function chaining a series of ping's.
Any ideas?
Sorry I've been out of town.
This issue is NOT answered. JayTu recreated precisely the issue I have. The QUESTION I have posted is HOW can I work-around this limitation with busybox?
It seems there is a means to allow access to this command with sufficient permissions to execute it! I'd expect someone knows this technique. My question here is to poll those who have run into this and found a solution.
Please mark this NOT ANSWERED and STILL OPEN!
Thanks,
mike
Mike
We are sorry for getting back to you so late. Are you still stuck with the issue? If you have somehow resolved the issue, can we close the discussion? If you still need help, please feel free to reply with an update to this discussion.
Thanks,
Yixing