Running a batch file on android phone using java eclipse

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
chairchair
Posts: 4
Joined: 16 Jan 2012 08:02

Running a batch file on android phone using java eclipse

#1 Post by chairchair » 16 Jan 2012 08:08

Hello there, I'm doing a project that requires to run a bat file on android. How to open a batch file on android? Thanks! Please help me!

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Running a batch file on android phone using java eclipse

#2 Post by Squashman » 16 Jan 2012 08:42

Well they do make a couple of different DOS emulators for Android but they are extremely slow and are limited to what commands they have available. I have tried a few of them and they are slow and clunky.

chairchair
Posts: 4
Joined: 16 Jan 2012 08:02

Re: Running a batch file on android phone using java eclipse

#3 Post by chairchair » 17 Jan 2012 04:50

I see. Thank you. How do I get the DOS emulator? Is there any way that can covert bat file to apk and load it to the phone?? Thanks:)

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Running a batch file on android phone using java eclipse

#4 Post by Squashman » 17 Jan 2012 06:43

chairchair wrote:I see. Thank you. How do I get the DOS emulator?

Search the Android Market

chairchair wrote:Is there any way that can covert bat file to apk and load it to the phone?? Thanks:)

The DOS emulator is the APK. You would need to put the bat file on your phone and run it in the emulator and then hope it can run it but I doubt it will depending on what commands are in your batch file.

chairchair
Posts: 4
Joined: 16 Jan 2012 08:02

Re: Running a batch file on android phone using java eclipse

#5 Post by chairchair » 24 Jan 2012 09:21

Thanks for the reply! The commands in the bat file are to run several exe files. Is it possible to install it to the phone? or in the sd card of the phone? Thank you!!

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Running a batch file on android phone using java eclipse

#6 Post by Squashman » 24 Jan 2012 10:17

That is never going to work.

chairchair
Posts: 4
Joined: 16 Jan 2012 08:02

Re: Running a batch file on android phone using java eclipse

#7 Post by chairchair » 25 Jan 2012 00:37

I see. I heard it's tough to get it on the android phone since it is running on different platforms. Thanks for your help during this period!!

Post Reply