[req] Android in Android emulator - Android General

Hi all,
I have a few questions to ask the community and I hope I'm doing it in the right part of the forum.
I was wondering if it would be all together possible to emulate Android on Android? Like Virtualbox or VMware for x86/x64 OS'es, the use for it would be great. Not only could you then sandbox app-installs, but one could run many different versions of Android, switch between older and newer versions without any risk to the actual device and ROM's could be generalized for use on it.
I feel like this should be possible, since there are other kinds of emulators on Android, BOCHS even got an x86 emulator working on Android a while back, and Android itself can easily be virtualized, as proven by the many Android emulators that are out there.
So my final questions are something like:
1- Is this even possible?
2- If the answer to 1 is yes, is there anything out there that can do this yet?
3- And if the answer to 2 is no, why isn't there? It seems so useful to me... ;p
Anyway, if in any way you feel this is a stupid question, feel free to point this out to me. ;p
Grtz,
~ Nephatiu

Related

winmob and android compatibility

first of all, sorry. i've searched for a while for on this and can't find anything, maybe i'm not using the right key words....
if i have an android device, can i run any windows mobile apps on it, or is there any kind of emulator for the system?
i'm guessing you can't run windows apps straight off because android is linux based. but i've no experience with linux to know for sure what is compatible with it. no doubt these queries have been asked tons, but like i say, i'm not finding anything. don't waste your finger movements telling me off without any kind of assistance.
cheers
no you cant use win mob apps or emulate them on an android device sorry
thanks man

[Q] Development/Developer Question

So I recently got a couple books on Android development. One being Beginning Android Games and the other being Professional Android Development. Now I've been wanting to make a game for Android lately so the question is which book should I read first? Should I start with the other stuff to get a better grip on the Android OS, or should I just go with what I already want to do.
Here are some things that should help in giving any advice (which I appreciate greatly):
I have a decent (beginner-intermediate, closer to intermediate) grip on Android and understanding of it
I have an intermediate understanding of Java. I can program GUI programs for desktop ect
I understand Android API's and such

[Q] OS emulation on other phones?

So I have a smart phone running the Android platform and I know there is an x86 Android project to run it on a full desktop/laptop system.
I also found a DosBox app for it, which I haven't tried but I hear people have gotten Windows 3.11/95 to work on.
Also with the webtop on my phone it can run a full Debian Linux install.
My question is in two parts:
A. Has anyone tried to port this to other mobile phones (Windows, RIM, iOS, etc...) yet?
B. Has anyone tried to port any other OS's to Android?
I mentioned iOS specifically in A. because some MacFans really like their OS and might not want to give up that functionality and it might make people more willing to adopt the platform.
I'd have posted links to cite references, but I'm still under restriction for being new.

PC emulation on Android - OS XDA project links.

So in this thread it tells you how to install pc operating systems like windows and linux on the Evo 3D.
http://forum.xda-developers.com/showthread.php?t=1459153
This, is freaking awesome. This one is a big breakthrough.
----
Here is the thread in the Nook Color forums for ubuntu on the device:
http://forum.xda-developers.com/showthread.php?t=1055954
----
These two threads are native installs, not using some client to access the installation, the device itself is the client as it should be.
This is not some chrooted virtual OS simulation, but the real deal installed to the device.
----
In the back of my mind i've wanted to play with ubuntu installed on the MT4GS, but not a virtual installation I want it installed and running on the device natively.
I definitely don't have the time to do this and a lot i'm trying to do around here even if I wasn't in my busy season for work.
Dropping this information so I can find it later when I do get to trying to get ubuntu (and now windows XP looks like a possibility) installed on this device.
If anyone else feels like looking into this, here's a good place to start. If anyone comes across any other projects that are the real deal and not virtual installs please post links here.
Have fun!
Blue6IX said:
So in this thread it tells you how to install pc operating systems like windows and linux on the Evo 3D.
http://forum.xda-developers.com/showthread.php?t=1459153
This, is freaking awesome. This one is a big breakthrough.
----
Here is the thread in the Nook Color forums for ubuntu on the device:
http://forum.xda-developers.com/showthread.php?t=1055954
----
These two threads are native installs, not using some client to access the installation, the device itself is the client as it should be.
This is not some chrooted virtual OS simulation, but the real deal installed to the device.
----
In the back of my mind i've wanted to play with ubuntu installed on the MT4GS, but not a virtual installation I want it installed and running on the device natively.
I definitely don't have the time to do this and a lot i'm trying to do around here even if I wasn't in my busy season for work.
Dropping this information so I can find it later when I do get to trying to get ubuntu (and now windows XP looks like a possibility) installed on this device.
If anyone else feels like looking into this, here's a good place to start. If anyone comes across any other projects that are the real deal and not virtual installs please post links here.
Have fun!
Click to expand...
Click to collapse
Regardless of what impression you may have, it is ABSOLUTELY IMPOSSIBLE to run MSWin on ARM hardware natively. The reason for this is that MSWin is x86 and ARM is... ARM. The approach used in the first link is to use BOCHS (pronounced "Box"), which is a VIRTUAL HARDWARE EMULATOR. It requires a host operating system to be functioning in the background, in this case Linux.
As for Ubuntu... well sure. No problem. Its Linux and the phone runs Linux. Not that big of a stretch to replace the Android parts with GNU.
Note that NONE of this is any kind of "great breakthrough". Bochs has been around for a VERY long time. First OPEN SOURCED in early 2000. Yeah, 12 years ago. As for Ubuntu... well I suppose that the main reason that most people aren't making a native android replacement out of ubuntu, is that not many people are all that interested in it. Cute in theory, but not practical.
What would be a more worthy project would be to upgrade android to GNU libraries and utilities. This would afford us an actually USEFUL balance between the two. Also the ability to run X *through* android without having to do stupid things like VNC. Have the proper interface ***AS AN ANDROID APPLICATION***, leaving Android to work (i.e., phone calls, etc.) while simultaneously offering the standard Linux applications.
My thought though, is that this is becoming less and less important. Firefox is on Android now, the Document foundation has announced LibreOffice for Android -- supposed to be by late 2012 to early 2013... GIMP has no place on Android... That certainly covers the basics.
Appreciate the post. I didn't have time to dig into it too deeply, so took it at face value for the impression I got. Happened to come across it in passing and didn't want to lose track of something vital to the future dev of a project like this on the doubleshot. (but definitely this doesn't belong in the dev section at this time - just clutter there.)
I was hoping people would add to it, especially the way you have, who had more of an understanding of what's going on there - I didn't realize that it was a virtual environment for the windows stuff, but it did seem to good to be true.
Even if no one responded I figured the thread would get pushed down out of the way, but still be here when I got the time to come back to it.
----
My reason for running native linux on the device itself is to be able to use the Android SDK and tools without needing a computer to do so. I have 2 of these phones and a Nook Color. The NC has USB host support, so I could plug the doubleshot into it without frying either device. (yes, i'm blending android and linux concepts here - but usb host support in android shows that it's capable of doing it)
Even from one doubleshot to the other I could use wifi adb for a lot of stuff without plugging them into each other through USB and frying the phones. So that would be a victory as well.
The lack of a hardware charging circuit in the doubleshot makes the worry of frying the phones a big deal, power transfer through USB is a big hurdle to jump in management.
Beyond that - the doubleshot is powerful enough on hardware specs to be able to compile a kernel, but that's not gonna happen through a virtual linux install because the overhead is too much. A native install might just be able to do it though. Won't know until I try, but it's worth the work to get to the point of trying, even if it doesn't work out.
The Nook Color probably won't be able to compile a kernel - it's asking too much from a device not really able to handle that.
Getting what I mentioned above to work would mean I could do all my dev work with what fits in my pocket, and let me keep working wherever I am.
I do like the idea of an app to work with this through Android itself - but I don't see how I could use the SDk and variety of user-created tools without a native linux install. Worth pursuing either way though.
If anyone has anything to add, i'd be welcome to hear it. Just understand this is not a project i'm working on or actively pursuing right now - but fully intend to down the line.
Actually blue. There is a thread somewhere that has a step by step on installing ubuntu on gingerbread. I meant to add it when I added the backtrack link. For some reason I didn't, I probably forgot, I actually think the link for it is in the backtrack thread in the sticky.
If I do find it ill let you know.
Sent from my ICS Splashed using Tapatalk

[Q] Android Virtual Device Manger for Skyrocket?

So I just started watching the bootcamp videos and I want to start working on some apps for the Skyrocket maybe getting into rom devolpemnt later. Is there anyway I can have the Virtual Device emulate the skyrocket or does it not matter what device I test on? Also is there an IRC channel for skyrocket development where noob questions will be answered kindly?
There is no "Skyrocket development", there is Android development. Virtual Device can't emulate Skyrocket or any other type of phone, it's a "virtual phone", with its own drivers and bare OS.
You're mixing 2 different things:
1) Android apps development (writing apps - which should run on ANY phone).
2) ROM hacking (which is specific to a type of phone).
Android app will run on any Android phone with OS >= whatever API you've used for building it.
To work on ROMs, you need to decompile and recompile stuff, and it's not done by writing apps.
I guess that should be enough for now. If you really want to customize stuff - the first thing you should learn is that you can Google answers for just about any questions that come to your mind, and if you can't find something - you're most likely not asking the right questions. That assumption you can work with right until you dig really, really deep.
Jack_R1 said:
There is no "Skyrocket development", there is Android development. Virtual Device can't emulate Skyrocket or any other type of phone, it's a "virtual phone", with its own drivers and bare OS.
You're mixing 2 different things:
1) Android apps development (writing apps - which should run on ANY phone).
2) ROM hacking (which is specific to a type of phone).
Android app will run on any Android phone with OS >= whatever API you've used for building it.
2222 2
To work on ROMs, you need to decompile and recompile stuff, and it's not done by writing apps.
I guess that should be enough for now. If you really want to customize stuff - the first thing you q2q learn is that you can Google answers for just about any questions that come to your mind, and if you can't find something - yo22q2u're most likely not asking the right questions. That assumption you can work with right until q dig really, really deep.
Click to expand...
Click to collapse
Sent from my SAMSUNG-SGH-I317 using Tapatalk 2

Categories

Resources