Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chinnu

macrumors newbie
Original poster
Oct 27, 2009
14
0
Australia
hai this is chinnu.
is it possible to develop emulator for iphone?
as part of my application i need to develop an emulator .
how to develop it.
in which language i need to develop.
api used to develop it.
plz reply me.
thanks in advance.
 
It's possible (there's a C-64 emulator for example) but seeing as you don't seem to have much idea about how to go about it, may I suggest it's possibly not a job for which you're suited.
 
Almost anything's possible. You could decap all the chips and electron probe each layer, reconstructing the logic transistor-by-transistor, and then build some mongo multi-FPGA board to try and (slowly) emulate the digital portions of the hardware. Not sure how many dozens of man years that might take.
 
i didn't get u

thanks for reply.
i didn't get u.
iam talking about emulator/simulator of iphone in which we run iphone applications developed by us in pc.
how to develop our own simulator of that kind.
do we have api for that.
 
thanks for reply.
i didn't get u.
iam talking about emulator/simulator of iphone in which we run iphone applications developed by us in pc.
how to develop our own simulator of that kind.
do we have api for that.

An API? No: you'd have to redevelop the APIs that Apple provide on the phone yourself. If by PC you mean Windows PC you'll also need to provide your own binary loader, linker, graphics subsystem and more. If you mean release compiled apps you will also have to deal with binary translation from ARM to x86.
 
plz explain me in detail

iam new to iphone sdk programing.
thank u very much to ur replies.
but i didn't understand any thing what ever ur saying (robbieduncan).
iam asking ,
in which language the code is written for simulator of iphone.
is it possible to develop simulator of that kind.
do we have any api provided by apple/iphone guys to do it .
plz explaing me .
if u have any sample code to do it plz send me.
my email: chinnu.thelearner@gmail.com
 
but i didn't understand any thing what ever ur saying (robbieduncan).
Then you have absolutely no chance of writing a successful simulator/emulator.

iam asking ,
in which language the code is written for simulator of iphone.
The iPhone simulator in the SDK is an x86 executable that uses the frameworks already in Mac OSX along with additional frameworks from the iPhone OS (recompiled by Apple for x86). The applications themselves are written in Objective-C (or anything else you can get to compile to the same ABI and link against the libraries) compiled to x86 executables. Note that the x86 executables we are talking about here have a very different format to Windows executables: they are Mach-O executables.

is it possible to develop simulator of that kind.
Yes assuming you understood everything I said before. As you do not have the re-distribution rights to the iPhone OS software (or Mac OSX frameworks) you will have to re-implement all of this, from scratch, yourself.

do we have any api provided by apple/iphone guys to do it .
No. Absolutely not. They provide a simulator for OSX.
 
another doubt.

thank u very much robbieduncan.
now iam clear about it.
i have another doubt?
is it possible to develop an application using iphone sdk that accesses contacts in iphone and shows in simulator when iphone is connected to pc using bluetooth or cable.
thanks in advance.
 
is it possible to develop an application using iphone sdk that accesses contacts in iphone
Yes
and shows in simulator when iphone is connected to pc using bluetooth or cable.
thanks in advance.
I have no idea what you mean by this. The simulator only runs on Macs, not on PCs and if you are running in the simulator you are not using a device so the "connect" bit makes absolutely no sense.
 
can we develop an emulator for iphone in mac Programing?

hai this is chinnu.
i'm new to iphone and mac programing.
can we develop an emulator for iphone in mac Programing?
if it is not possible with mac pro..
please tell me in which programing i can do that.
thanks in advance.
 
thanks for ur reply(Catfish_Man).
i didn't get ur explanation.
by using which programing language it is possible to develop an emulator for iphone that works like simulator provided by iphone.
and my emulator should have capability to run iphone app.
is it possible?
thanks in advance.
 
Unfortunately, if you can't understand that explanation, you're really not going to be able to accomplish this task. It's a bit like asking how a candle works when the task is to build a guided missile.

To directly answer the question though: any programming language can do it. It's just a question of how hard it is, and how fast the resulting program will run. Those answers will vary from "extremely hard" and "reasonably quick" to "impossibly hard" and "very slow".

<edit>
Ah, I see this thread was merged with another, where people had already pointed out how utterly doomed this project is.
</edit>
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.