191Views5Replies

Author Options:

Looking for programming/scripting options for iPod Touch that don't involve Apple Dev solutions. Answered


I've been casting around for ways to program my iPod Touch 2G, such as by using Python or Processing. Not enthusiastic about jailbraking it at present. Wanting to interface an Arduino to it to do data logging, time-series analysis, graphing.

5 Replies

user
orksecurity (author)2010-10-14

Apple has been working fairly hard to ensure that all code goes through either an official development package or the app store. That's why they don't support Flash.

If this is what you want to do, you might have been better off with an Archos or one of the other packet PCs that can be loaded with a Linux variant (Android or other).

Best suggestion I can think of is to get a junker PC to act as the Arduino's partner, and set up a webserver so you can view the logs/analysis from a browser... then just use the Touch browser as the control panel.

Select as Best AnswerUndo Best Answer

user
Chris Kinata (author)orksecurity2010-10-15

Thanks everyone...I was thinking also that I could attach an Arduino to a tiny web server (various ways to do this), and then use JavaScript as a coding environment. My main objective is to work up a remote display and control interface, rather than physically connect an Arduino. I had just more or less inherited a 2G Touch, was curious about programming options, and like no doubt billions of others, was feeling lost and mystified about not being able to find much. It would be awfully cool if it were possible to run web-page Processing apps on the Touch, though...

Select as Best AnswerUndo Best Answer

user
mwrenfro (author)orksecurity2010-10-14

Seconded on the web interface. I'm not sure the Touch (or any other device normally plugged into a PC) has any capability of being a USB host regardless of availability of Python, Processing, or whatever. So unless I'm wrong there, you have no good way of plugging in an Arduino to begin with.

Select as Best AnswerUndo Best Answer

user
jasonkohles (author)2010-10-14

Apple won't approve any app that can run arbitrary scripts, so if you want to do something like that with it, jailbreaking is your only option.

Select as Best AnswerUndo Best Answer