Shell Console for Android

by Abhyudai Shanker » Fri, 28 Jan 2011 23:05:18 GMT


Sponsored Links
 Hi everyone,

I am trying to build a shell console for Android, much like a command prompt
in windows or any OS on the PC.

However I am unable to understand how to start with the process. I cant
really understand the underlying working which would be required to get the
console working.

If anyone has idea in this sector, please help me.

Thanks

Abhyudai

-- 



Re: Shell Console for Android

by Kostya Vasilyev » Fri, 28 Jan 2011 23:12:59 GMT


 If you're doing this in Java, use ProcessBuilder:

 http://developer.android.com/reference/java/lang/ProcessBuilder.html 

-- Kostya

28.01.2011 18:05, Abhyudai Shanker :
Hi everyone, I am trying to build a shell console for Android, much like a command prompt in windows or any OS on the PC. However I am unable to understand how to start with the process. I cant really understand the underlying working which would be required to get the console working. If anyone has idea in this sector, please help me. Thanks Abhyudai --
-- Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com --


Sponsored Links


Other Threads

1. Get MMI result code

Is it possible to programatically dial an MMI code and interrogate the
result. I wish to get the current call forwarding numbers in the same
way that the call forwarding settings screen does. I am able to start
the call using an intent no problem but I cant seem to get a result.
kind regards
Chris
--~--~---------~--~----~------------~-------~--~----~

2. why /proc/cpu/alignment set to 4 from init.rc

Hi Android kernel developers,

I have a OMAP3 Beagleboard [ARMv7], and android works pretty fine with
it. As Android's base chipset is MSM7200 which is ARMv6.
Now coming to the point, I came to know that kernels after 2.6.28-rc6
[Ref. 1], supports "Alignment trap" handling for chipsets after ARMv6.
So if I boot my Beagleboard without android[busybox RFS] it has /proc/
cpu/alignment set to as 2[fixup] as default. i.e. enables unaligned
memory handling.
But if I boot BeagleBoard with Android, Android sets /proc/cpu/
alignment as 4[signal] i.e. set by init.rc (write /proc/cpu/alignment
4)

So can I know why google overwrites it as 4. i.e. signal kill if
alignment trap occurs.
Forgive me, if I misunderstood anything. Your help may clear my doubt.

Does default 2 degrades android performance hence it is set to 4?

Regards,
Shivdas

[1]
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blobdiff;f=arch/arm/mm/alignment.c;h=2d5884ce0435fb436a57bee6d314284b9101e87e;hp=133e65d166b315b0e54aba959846a162643bc927;hb=baa745a3378046ca1c5477495df6ccbec7690428;hpb=794baba637999b81aa40e60fae1fa91978e08808

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: 

3. How to capture soft keyboard's key events.

4. keyevent from softkeyboard

5. How to install and run applications from within another application?

6. Problem regarding gsm chip or software?

7. Live traffic events as icons on a map