The online racing simulator
#26 - Migz
Ahah. It seems that you should be doing this and not me :P lol.

I think to show the data it could just simply be drawn as a number for the speedo, revo. A simple on or off graphic for the indicators, or whatever else.


So OutGauge just simply sends a bunch of data to the ipod/iphone?
So what you quoted is exactly how it will send that data?
If so, this shouldnt acctually be that hard. I hope.
Quote from Migz :So OutGauge just simply sends a bunch of data to the ipod/iphone

Correct.


Quote from Migz :So what you quoted is exactly how it will send that data?
If so, this shouldnt acctually be that hard. I hope.

All the data will be sent in a UDP packet once every x ms (the data rate can be set in the LFS config). All your ipod/phone must do is listen for UDP packets on the port that you specify so that it will recieve them when they are sent by LFS.
#28 - Migz
Ooh well that makes everything much simpler.
I though iw as going to have to code something in C++ to read the data and then send it to the ipod. But if OutGauge already sends it then thats alot better All i need to do now is the itouch side of things
Have fun learning Objective-C... it be hell
Just to chip in, if you have a jailbroken iphone/itouch, you can use something like python (which is available and simplifies the process of creating graphicall programs) and distribute your own code for free via that.

Of course this does restrict your audience
#31 - Migz
Quote from dawesdust_12 :Have fun learning Objective-C... it be hell

haha, im sure i wont need to learn all of it :P just specific parts of it.

Quote from the_angry_angel :Just to chip in, if you have a jailbroken iphone/itouch, you can use something like python (which is available and simplifies the process of creating graphicall programs) and distribute your own code for free via that.

Of course this does restrict your audience

Ahah, yeah i probably wont do that, not as many people have jailbroken ipods anymore now that apple have let people develop apps for ipods themselves.



Im currently installing Mac on my laptop (3rd time around) It should hopefully work.
You sure? You'll need to learn networking, along with GUI stuffs... have fun? :P
Quote from the_angry_angel :Just to chip in, if you have a jailbroken iphone/itouch, you can use something like python (which is available and simplifies the process of creating graphicall programs) and distribute your own code for free via that.

Of course this does restrict your audience

And as the slight disadvantage of being slightly on the gery side of the law depending on where you live.
is somone actuly making this i would really love to use it on my iphone... i was thinking the samething today...
#35 - Migz
Im not yet :/ I got mac onto my laptop but then the iphone SDk wouldnt install because of some stupid java error which im guessing was coming from the fact i didnt have the latest update, because my laptop wouldnt connect to hte internet in mac.

So im waiting until i download another type of mac installer that is meant to work with my type of laptop. If the sdk installs then ill start on it. If not ill try to get it to work on my 4 year old computer.


So for now theres no one working on it.
Just the other day i was on the apple sdk site and i downloaded somthing it was sdk for windows it files that u use in C++ i think it is not sure... if u want i can get u the link.
#37 - Migz
Im sure there was something wrong with what you read.
The apps for ipod are created using the mac programming language. If it was created in C++ it would have to be converted over to the mac language before being put onto the ipod, which would be extremely time consuming :/

Although i could be wrong in any of that as im not that apple smart.
But if you can find this link again then do share it
... Except for the fact that "mac programming language" (Objective-C) is not just a Mac language, it can and does compile with GCC on windows/linux, the only lacking thing is that there's no libraries (OpenStep is the only one that's "close") to display anything to screen. You could create console applications for Windows/Linux in Objective-C with ease.

Also, if Apple was smart, they'd allow you to create Applications for iPhone/iPod with "Objective-C++" which is a hybrid between the 2, making it easier (as you can do with OSX applications). iPhone is just kinda demented that way, forcing pure Cocoa applications.
Well, the apps are written in Objective-C, which is Mac code, but it's almost same as C, which is Windows code, except it has a few extra features.

Theoretically there's no reason why there couldn't be an SDK for Windows, except that Apple would want to confine it to Mac users. For example, I have a Symbian SDK that compiles in C++, even though it runs on my Symbian phone
Except Dougie.. If I wanted to, I could create Windows applications in Objective-C... The only thing is that there's no way to use the Windows API, so I'd be stuck to a console application, unless one was written.
... that's for creating things that interface with iTunes, such as getting library information, starting/stopping iTunes, etcera.
so that wont work?
Well... it will work... if you want to interface with iTunes.
hhmmm..... well this sucks
Quote from dawesdust_12 :Except Dougie.. If I wanted to, I could create Windows applications in Objective-C... The only thing is that there's no way to use the Windows API, so I'd be stuck to a console application, unless one was written.

Yes, but I'm just saying that there's nothing to stop an Objective-C SDK being used on a Windows machine. Only that Apple has it locked down
No... the iPhone SDK not being used in windows is simply becuase there's nothing to compile the iPhone apps (No XCode)...However, there's nothing to stop you from doing the code in Windows with a remote machine used as compilation. Additionally, a Objective-C SDK doesn't really exist.

There are frameworks (such as Cocoa, or Cocoa Touch), which allow you to access pre-existing objects, methods, etcera for Apple to maintain not just a consistent UI among applications, but also allow the apps to work with each other. However, there is something written (Coco-tron IIRC), which is designed to make these Cocoa bindings work in Windows, essentially allowing you to create an "Uber Phat" binary, which would run not just on PPC and Intel Macs, but also run natively in Windows and Linux.

The only thing denying Objective-C from being used in windows, is a lack of support by developers.
Quote from dawesdust_12 :The only thing denying Objective-C from being used in windows, is a lack of support by developers.

Which is basically what I said
Except for you said that Apple is locking Objective-C down, which is an untrue statement, seeing Cocotron is trying to implement the AppKit and Foundation frameworks in a multi-platform manner. Heck, GCC has been able to compile Objective-C for ages, on all platforms. The only missing link is more mature API's and stuff so it's more practical, rather than having a developer code everything himself for every application.
Quote from dawesdust_12 :Except for you said that Apple is locking Objective-C down, which is an untrue statement

I was talking specifically about the Apple SDK though...

Quote from dougie-lampkin :Theoretically there's no reason why there couldn't be an SDK* for Windows, except that Apple would want to confine it to Mac users

* SDK being the iTouch/Phone SDK that Apple only allow to run on Mac...

FGED GREDG RDFGDR GSFDG