Possible to run a GUI-less window's executable on iPad and/or Android Tablet?

I want to run a GUI-less windows executable (actually wrapped inside a windows service) on an iPad and/or on an Android tablet.  is it possible?
tullheadAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dave BaldwinFixer of ProblemsCommented:
If you mean Microsoft Windows, the answer is no.  Microsoft programs don't run on either of those platforms.
0
arnoldCommented:
Please detail what exactly you are trying to do. A service component runs inthe background.
There are last time I looked an app for iPad that connects as an RDP session to a Windows platform and do .....
0
tullheadAuthor Commented:
My exe should run in the background and it has a simple text-string communication protocol using sockets (but that might be replaced by something else if needed) — so it has no GUI — another App running on the tablet would implement a GUI and send messages to my exe which does computations.  It needs to read/write some files to the disk, so maybe I’d have to change that part?
0
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

tullheadAuthor Commented:
I realize this might not be simple — just wondering how hard.  Another option: try to compile and build my MS C++ source code somehow for one of these platforms....?
0
Dave BaldwinFixer of ProblemsCommented:
MS code will not run on those platforms.  Each of them has their own compilers that would be aware of the OS dependencies of each platform.  What you're asking about is a major project.  Making a program work on different platforms is generally not easy.  There are also issues with being even allowed to run programs on iOS and Android.  They are pretty well locked down.  You generally have to put your program in their app stores to get it to be even allowed to run.
0
arnoldCommented:
You should start from what it is you are trying to achieve.
You could have an app on either that uses http/httpd requests to a service/web running on the Windows platform to perform and get what you need.
0
tullheadAuthor Commented:
I have VMware and can run a perfectly emulated Mac on my PC -- and on a Mac "Parallels Desktop" let's you rerun any PC program on a Mac.  So..... I was hoping their might be something like that to run a windows program on Android or iOS -- and it's an easier problem, as there is no GUI in my case.
0
arnoldCommented:
What does this application supposed to do?
you are mixing xapabilities of virtualization, VMware and parallels to apply to a completely different platform.
Look at whether VMware, parallels are made available for iOS and/or android.

The resources needed to facilitate the interaction that VMware/parallels provide would not be functional on the two platforms you are referencing.
Both apple and Google provide for an API through which you might be able to create an app to do what you want, instead of trying to fit a Windows service onto a platform for which it was not designed.
0
tullheadAuthor Commented:
Yeah I get all that.  However, I do think it would be possible to build a virtual machine that ran on Android and could run a windows program.   Not saying easy, but possible.   They put a man on the moon... as they say.

My windows exe is 20 man-years of work, so "just rewrite as an App" is a possible solution - but before I go down that path, I thought I'd ask around just to be sure there wasn't some windows emulator that everyone one but me knew about!
0
Joseph HornseyPresident and JanitorCommented:
Have you looked at Wine?

It's a app layer that allows Windows apps to run on Mac.  It originally was a Linux thing; but the Mac version has been out for quite a while.

I'm not sure about Ipads, etc.  But, it's worth taking a look.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
arnoldCommented:
You have to consider what HARDWARE exists on the platform that you are contemplating building that on and the demand for such capabilities.

unfortunately, there are many things, software that took a significant time to build, and the newer environments made those things obsolete.

The memory, specification of the platforms that run IOS and Android, compared to what are the specification of your application running on a windows platform?
in a way, you have a language dictionary (english to french, spanish, german, etc.) and you have a word definition dictionary (in a single language).
many man-years were spent on either, now you want to have a single smaller book that has both functionalities, the language translation and definitions in both languages.

Many transition to web based/xml type of data exchange as it ......makes it suitable for more platforms as the HTTP/XML processing/WEB is uniform and the majority of the processing, logic will be on a platform where the resources, memory, storage and CPU are abundant in comparison.

the lack of a GUI is merely an elimination of a layer. it does not by its absence makes it suitable for all environments.
the virtualization component requires resources and a way to convert byte code from one to be suitable to .....

the 20 man-year often workout the logic, business practice, the porting over said mechanism while involve if undertaken would not require similar effort.

I doubt vmware, parallels or similar technology will be designed/developed/built to run on ios/android.
even the VM (vmware. hyper-v, etc.) are being challenged in some implementation using the Sun's Solaris container since Solaris 10 if not mistaken, the linux (LXD) ...
0
tullheadAuthor Commented:
Windows was the dominant platform ( a few years back. 90% of computers were windows ) and now its maybe Android that is winning -- you'd think that might create some market pressure to create tools to help migrate windows code to android.
0
Dave BaldwinFixer of ProblemsCommented:
WINE isn't going to help.  Tablets do not use Intel CPUs except for one or two.  iPads use Apple CPUs and most Android devices use ARM processors, neither of which is compatible with Intel CPUs.
0
arnoldCommented:
much is now migrating to the Cloud available all the time and from anywhere.
Much depends on what this thing does converting this GUI-LESS component to run in the cloud and accessible from anywhere using any web interpreter.......

there have been many things that had 90% dominance at some point, until they were replaced by something different.
0
dbruntonQuid, Me Anxius Sum?  Illegitimi non carborundum.Commented:
Well ...

There are YouTube videos indicating it is possible to run Windows in IOS devices.  See  https://www.youtube.com/watch?v=H5qOg2qMcFA  for example.

I DO run common ordinary DOS on an old iPad.  Yep, that's DOS as in Microsoft DOS.  And a bunch of old DOS applications as well.  Note that my iPad is jail broken and the app I'm using (iDos) came through Cydia.  So emulation of another CPU and OS is possible.  IDos link  https://litchie.com/dospad  (and the version I'm running isn't this one, it's an earlier one).

So what you want might (might with lots of ??? after it) be possible but you will probably be doing lots of experimenting.
0
John TsioumprisSoftware & Systems EngineerCommented:
maybe you should consider creating a Web implementation that uses the service and exchange data between the web and the service.
0
KimputerCommented:
It's already C++, so try to use Visual Studio (you probably need the Pro version):

https://www.visualstudio.com/vs/features/mobile-app-development/

After that, with a bit of tweaking, you can compile it for both iOS and Android.
0
Eoin OSullivanConsultantCommented:
@tullhead - the short answer to your question is NO - you CANNOT run ANY windows code on an iOS iPad or Android device.  Pure and simple .. there are NO WINE/VMWare or virtualisation options on either in the way that exists on Windows/ Apple OSX and Unix as they are completely different operating systems.

There is also NO such thing on iOS as a GUI-less app on iOS or Android .. again all 3rd party apps must be installed on the device and you cannot create a background services or load apps in the background or on startup on iOS (there are a few options on Android in terms of auto-launching apps, but no such thing as a background-only app or service)

HOWEVER .. it may be possible to recompile your code and build a simple app using software like Visual Studio and deploy that app for iOS and Android BUT .. a user will have to click on the app to launch it every time .. they can then let other apps take focus but in effect the app must be initiated by the user.

Another factor to bear in mind is that both Android and iOS implement a high level of SANDBOXING (on IOS it is VERY restrictive) which isolates all apps from each other and there are very strict limits on how apps can interact with each other.  Some data or information may be allowed such as shared access to private storage in each app but in many cases you may simply not be allowed or able to let one app share data or information with other apps on either Operating System.

In summary iOS and Android are a lot different from the standard desktop operating systems and coding apps for such environments is both complex and a lot more restrictive than standard Widows EXE applications
2
tullheadAuthor Commented:
The Wine website mentions they are working on Android.   I'm not holding my breath, but I guess that's the best answer for the intended spirit of my question.  Thanks to all that took the time to comment.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
iPad

From novice to tech pro — start learning today.