PDA

View Full Version : Developing for IPhones etc?



Firlefanz
18-02-2009, 09:58 AM
Hello,

I was asked by a friend, if it is possible to develop games for IPhones using BDS 2006 or another Delphi/Pascal language?
He thinks there is a good chance to make money with that.

Is it possible, has anybody some experience with that?

What would you need to develop games for IPhones, and is it a huge difference compared to DirectX and Windows Pascal game development?


Thanks a lot, some hints would be nice :)

firle

efilnukefesin
18-02-2009, 11:03 AM
hi firle!

well i read something about this in the last issue of a mag we have at work:
there is a sdk for the iphone, haven't tried it yet: http://developer.apple.com/iphone/

so first you have to register as iphone developer and then you can use the sdk on your mac, which is one reason i haven't tried yet :lol:

Firlefanz
18-02-2009, 11:27 AM
Thanks for the info :)

I have already heard there is something for Linux, but I am not sure.

Isn't there something for Windows?
Best would be Pascal, but VB would also be possible.

KidPaddle
18-02-2009, 02:03 PM
FreePascal supports iPhone

http://www.pascalgamedevelopment.com/viewtopic.php?t=5601&highlight=iphone

Requirements:
* Intel Mac (because the iPhone SDK requires an Intel Mac)
* iPhone SDK 2.x installed (only tested with 2.2 though) (note: SDK requires Leopard 10.5.5 or higher)
* FPC 2.2.2 or a later FPC 2.2.x release installed

Firlefanz
20-02-2009, 08:28 AM
Thanks for the info!

And is there something with Delphi/Pascal or least for Windows PCs to develop for the new Android OS? I understand this is a new OS for mobile devices which is getting very popular?

Thanks,
firlefanz

savage
20-02-2009, 01:06 PM
Thanks for the info!

And is there something with Delphi/Pascal or least for Windows PCs to develop for the new Android OS? I understand this is a new OS for mobile devices which is getting very popular?

Thanks,
firlefanz


The chances of the and Android compiler being available already would be slim to none.
The FreePascal guys have only just finished work on the getting the iPhone compiler working and that has been out for a few years. While Android is only about a year old.
You could always have a word with the FreePascal guys to see how easy it would be to create an Android version. From looking here http://code.google.com/android/intro/hello-android.html, it looks like the apps are written using a Java kind ( if not Java itself ) language. Maybe if you can convince the MIDletPascal guys to open source their compiler, you could tweak it to create Android byte code.

savage
20-02-2009, 01:13 PM
I just read ( http://en.wikipedia.org/wiki/Android_OS#Native_code ) that it is actually Java based, though you can also use C to create ARM binaries for it. So technically if someone can port the APIs, then FreePascal could in fact target Android with some tweaking.

Firlefanz
25-02-2009, 05:52 AM
Thanks for the infos :)

It would be very cool to develop for Android, especially some environment for testing would be cool.

In VB.Net you can develop for PDA and Scanners and have a testing environment included, so you can test the stuff on the PC and if it is working transfer it to the PDA.

Firlefanz

noeska
15-06-2009, 09:45 AM
Ok for android we need a pascal to java byte code compiler as it seems that the sdk is all java (http://developer.android.com/sdk/1.5_r2/requirements.html)
So what choices do we have?

1) Midlet Pascal (Project is dead and not (yet) opensource)
2) GrassHopper (http://dev.mainsoft.com/Default.aspx?tabid=177) converts .net byte code to java byte code or so it seems?
3) ???

Who knows other pascal to java converters/compilers?