LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (http://www.linuxquestions.org/questions/general-10/)
-   -   hackers! I know something cool that you can do... (http://www.linuxquestions.org/questions/general-10/hackers-i-know-something-cool-that-you-can-do-4175424582/)

deltrem 08-29-2012 08:36 AM

hackers! I know something cool that you can do...
 
Ever seen Google Play? Apps there run in Android only.
Ever seen iPhone and iPad App Stores? Apps there run in iOS only.

Sometimes, I go to a site like Greplin.com, then it shows me a picture of an iphone, then it tells me this app is available on iPhone.

Wine runs Windows apps in Linux.

Can you make Android apps run in Linux?
Can you make iPhone apps run in Linux?
Can you make iPad apps run in Linux?

dugan 08-29-2012 08:59 AM

No to all 3.

schneidz 08-29-2012 09:04 AM

not the answer you are looking for but android runs on a linux kernel so it is already running on linux (no emulation needed). however an apk wasnt designed to run on anything like fedora, min, ubuntu, ...

dugan 08-29-2012 09:13 AM

For the record, making an Android or IOS app run on Linux would require not only reverse-engineering the executable format and writing your own loader, but also writing a Linux implementation of every API function used by that app. Yes, that's what Wine does.

This is a partial list of what will need to be built from scratch on Linux to write what amounts to Wine for IOS apps.

http://developer.apple.com/library/i...opic=Reference

That should give you an idea of how impractically large a job that is.

frieza 08-29-2012 10:17 AM

Quote:

Originally Posted by deltrem (Post 4767358)
Ever seen Google Play? Apps there run in Android only.
Ever seen iPhone and iPad App Stores? Apps there run in iOS only.

Sometimes, I go to a site like Greplin.com, then it shows me a picture of an iphone, then it tells me this app is available on iPhone.

Wine runs Windows apps in Linux.

wine is a reverse engineered Linux implementation of the Windows API, which is far from perfect, and is thus less than 100% compatible with windows software.

Quote:

Originally Posted by deltrem (Post 4767358)
Can you make Android apps run in Linux?

open source software yes, if you have the source code you can often re-compile from source

Quote:

Originally Posted by deltrem (Post 4767358)
Can you make iPhone apps run in Linux?

not without creating something similar to WINE

Quote:

Originally Posted by deltrem (Post 4767358)
Can you make iPad apps run in Linux?

same as iphone apps

another, probably equally difficult possibility would be to emulate an iPhone, iPad, or android device, install the respective OS, and then install the software as if it were a native device, possible but not practical.

earthnet 08-29-2012 10:44 AM

Quote:

Can you make Android apps run in Linux?
Not natively, but you can download the Android SDK which includes an Android emulator.

enine 08-30-2012 08:47 AM

I was just going to say the same thing. The android dev kit is free and will let you run android apps.
iOS is going to be much more difficult because you not only have technical but legal issues, Apple forbids it unless its on their (overpriced, overrated) hardware.


All times are GMT -5. The time now is 10:12 AM.