aka.iphone / Experiment 1

Jul 17, 2007 at 3:03am

aka.iphone / Experiment 1

Hi All,

I uploaded aka.iphone (Experiment 1) at:

http://www.iamas.ac.jp/~aka/max/#aka_iphone_ex1

You can check a simple demo on YouTube at:

http://www.youtube.com/watch?v=ZntmJhaU1Eo

This is my first trial to communicate between iPhone and Max/MSP.
In this time, you can only send any text from iPhone to Max/MSP when
you tap a button (mouseup/click) on iPhone. I think you can’t
implement a mousedown and mousemove behavior due to the limitation of
iPhone OS/UI.

I’m trying to improve it and this is a quick and dirty report.
I’m very glad if anyone shows me how to implement a finger drag handler.

Thank you.

Best,
Masayuki Akamatsu

#32914
Jul 17, 2007 at 3:20am

If you want I would be happy to help you with a finger drag handle a
little later this week.

Seems like it would be easy to do via javascript, etc.

Have you used script.aculo.us? That library has some really great
AJAX sliders implemented, that look perfect for a web -> max interface.

b

On Jul 16, 2007, at 8:03 PM, Masayuki Akamatsu wrote:

> Hi All,
>
> I uploaded aka.iphone (Experiment 1) at:
> http://www.iamas.ac.jp/~aka/max/#aka_iphone_ex1
>
> You can check a simple demo on YouTube at:
> http://www.youtube.com/watch?v=ZntmJhaU1Eo
>
> This is my first trial to communicate between iPhone and Max/MSP.
> In this time, you can only send any text from iPhone to Max/MSP
> when you tap a button (mouseup/click) on iPhone. I think you can’t
> implement a mousedown and mousemove behavior due to the limitation
> of iPhone OS/UI.
>
> I’m trying to improve it and this is a quick and dirty report.
> I’m very glad if anyone shows me how to implement a finger drag
> handler.
>
> Thank you.
>
> Best,
> Masayuki Akamatsu

Barry Threw
Media Art and Technology

San Francisco, CA Work: 857-544-3967
Email: bthrew@gmail.com
IM: captogreadmore (AIM)
http:/www.barythrew.com

#108949
Jul 17, 2007 at 3:47am

Thats GREAT!

With script.aculo.us an other dhtml libraries you could totally make
a scriptable interface mimicking the Lemur.

can anyone say pocket lemur !?

I can :)

Thats awesome! Keep it up!

On Jul 16, 2007, at 11:03 PM, Masayuki Akamatsu wrote:

> Hi All,
>
> I uploaded aka.iphone (Experiment 1) at:
> http://www.iamas.ac.jp/~aka/max/#aka_iphone_ex1
>
> You can check a simple demo on YouTube at:
> http://www.youtube.com/watch?v=ZntmJhaU1Eo
>
> This is my first trial to communicate between iPhone and Max/MSP.
> In this time, you can only send any text from iPhone to Max/MSP
> when you tap a button (mouseup/click) on iPhone. I think you can’t
> implement a mousedown and mousemove behavior due to the limitation
> of iPhone OS/UI.
>
> I’m trying to improve it and this is a quick and dirty report.
> I’m very glad if anyone shows me how to implement a finger drag
> handler.
>
> Thank you.
>
> Best,
> Masayuki Akamatsu

v a d e //

http://www.vade.info
abstrakt.vade.info

#108950
Jul 17, 2007 at 6:39am

Thank you for quick replies, Barry and vade.

I tried script.aculo.us but their slider demo and drag-and-drop demo
don’t work on my iPhone.

AFAIK, iPhone Safari does not give us a mousemove message.

http://ajaxian.com/archives/iphone-safari-notes-and-quirks

Thus we have to find any trick out …

On 2007/07/17, at 12:47, vade wrote:
> can anyone say pocket lemur !?

Yes. I wish it.
a pocket lemur (multi-touch display)
+ wiiremote (acceleration sensor)
+ theremin (distance sensor)
+ street lamp (light sensor)
;-)

Thank you.
Masayuki

#108951
Jul 17, 2007 at 6:55am

nice!

On Jul 16, 2007, at 8:03 PM, Masayuki Akamatsu wrote:

> Hi All,
>
> I uploaded aka.iphone (Experiment 1) at:
> http://www.iamas.ac.jp/~aka/max/#aka_iphone_ex1
>
> You can check a simple demo on YouTube at:
> http://www.youtube.com/watch?v=ZntmJhaU1Eo
>
> This is my first trial to communicate between iPhone and Max/MSP.
> In this time, you can only send any text from iPhone to Max/MSP
> when you tap a button (mouseup/click) on iPhone. I think you can’t
> implement a mousedown and mousemove behavior due to the limitation
> of iPhone OS/UI.
>
> I’m trying to improve it and this is a quick and dirty report.
> I’m very glad if anyone shows me how to implement a finger drag
> handler.
>
> Thank you.
>
> Best,
> Masayuki Akamatsu
>

#108952
Jul 17, 2007 at 7:44am

Some guy said this works:

function init() {
var drag = document.getElementById(“drag”);
drag.addEventListener(“mousemove”, moveme, true);
drag.addEventListener(“click”, function(evt)
{ evt.preventDefault(); }, false);
}

Drag Me

But only as a click, not an actual mousemove…however, for sliders
this would work ok, though lame…

Also, there is this:

http://dev.visualdrugs.net/mootools/iphone/iphone.html

I’m going to have to think about this a bit more to figure out how to
deal with it…would be a nice lemur-esque interface.

b

#108953
Jul 18, 2007 at 11:17pm

aka –

you friggin rule… always one step ahead. I sat down one afternoon in feb to try and hack the WIImote… i discovered your objects…

todays task was to start on iPHONE hacks – im in tech right now and have a lot of time free…

then i discovered your iPHONE object.

now im patching my fractalizer patch to this glorious object…

happy DAY!!!!

pocket lemur here we come, the real reason i bought an iPHONE anyways.

love,

dr.light

#108954
Jul 18, 2007 at 11:48pm

u guys are great

#108955
Jul 19, 2007 at 6:19pm

Aka,

while this is probably the wrong place to ask this – ive been having some issues getting PHP running on my mac.

While the error_log says that PHP is running when i start apache – when i make a call to phpinfo();, it does not return any data. I have also tried this on my personal web server (online), and to no avail it does not work either.

the source of my index.php file is thus:

hello world!

< ?php

phpinfo();

?>

i am a total PHP noob, but im pretty programming savvy – and usually dont find it to difficult to kluge together different snippets of code to make thins work…

any ideas?

#108956
Jul 19, 2007 at 9:36pm

have you enabled php in the httpd.conf file in the modules section?
check macosxhints.com for tips, etc.

http://www.entropy.ch/software/macosx/php/ also has ‘newer’ php
compiles as package installers, they are great and I use them for my
servers for clients if they need an OS X server web server.

Anyway :) OT.

On Jul 19, 2007, at 2:19 PM, dr.light wrote:

>
> Aka,
>
>
> while this is probably the wrong place to ask this – ive been
> having some issues getting PHP running on my mac.
>
> While the error_log says that PHP is running when i start apache –
> when i make a call to phpinfo();, it does not return any data. I
> have also tried this on my personal web server (online), and to no
> avail it does not work either.
>
> the source of my index.php file is thus:
>
>
>

hello world!

> < ?php
>
> phpinfo();
>
> ?>
>


>
> i am a total PHP noob, but im pretty programming savvy – and
> usually dont find it to difficult to kluge together different
> snippets of code to make thins work…
>
> any ideas?
>
>

v a d e //

http://www.vade.info
abstrakt.vade.info

#108957
Jul 20, 2007 at 1:47am

That’s freakin awesome, it would be great to have something like that. Wonder if anyone’s working on a more affordable Lemur-like interface — without quite so many features, but still with the multi-touch, that could be made a lot cheaper I think.

Being able to set areas of the screen to Max interface objects would be fantastic, the ultimate in flexibility (patch shows up on the screen).

I’m sure lots of you have seen this but it’s pretty awesome still:

http://cs.nyu.edu/~jhan/ftirtouch/

Some version of that might be doable in a smaller and cheaper scale, some kind of pressure-sensitive multi-touch device. If it didn’t need all the fancy features of an iPhone (just a MIDI controller basically) I think it could be pretty affordable.

Connect with bluetooth and show up in the *hi* menu. Nice!

I’m sure I’m overlooking lots of technical problems though… but you gotta dream.

–CJ

#108958
Jul 28, 2007 at 12:43am

I’m also interested in seeing where this project goes.

I was starting to program up something for the DS, but realized that with my skills in programming it would be years before it was completed. If anyone wants to program this, I would love to see it happen:
http://www.noema.art.br/
I’ve got a lot of it thought out, and created graphics for most of the easy to program stuff already. There are many possibilities I’ve thought of past the simple drag and drop. From the small amount that I used the DS as a simple XY controller I was hooked. It’s so much better than a Lemur because it’s so small that you can carry it everywhere and be moving around.

Let me know if graphics are needed for the iphone interface.

Ta, ta, Ian

#108959
Aug 8, 2007 at 8:06am

hi guys! an iphone is coming to my place in Italy in these days… how is it going this project?

cheers

#108960
Aug 13, 2007 at 5:04am

Hi,

On 2007/08/08, at 10:06, tommy wrote:

> hi guys! an iphone is coming to my place in Italy in these days…
> how is it going this project?

You can create WEB 2.0 application for iPhone that controls Max/MSP/
Jitter ( and SuperCollider, Reaktor, Flash….) with “aka.iPhone/
Experiment 1″ technique. But I can’t figure out the mouse (finger)
drag handler.

On the other hand, some experts are creating native iPhone
applications such as vRecord (a voice recorder), NES ( a Nintendo
emulator), DOOM ( a shooting game). Thus I’m interesting in the
native approach even though I’ve not started it yet.

Thanks,
Masayuki Akamatsu @ Stuttgart – http://www.camp-festival.de/

#108961
Aug 13, 2007 at 6:07am

cool! thanx!
keep going man!
i trust in you!

cheers!

tom

On Aug 13, 2007, at 7:04 AM, Masayuki Akamatsu wrote:

> Hi,
>
> On 2007/08/08, at 10:06, tommy wrote:
>
>> hi guys! an iphone is coming to my place in Italy in these days…
>> how is it going this project?
>
> You can create WEB 2.0 application for iPhone that controls Max/MSP/
> Jitter ( and SuperCollider, Reaktor, Flash….) with “aka.iPhone/
> Experiment 1″ technique. But I can’t figure out the mouse (finger)
> drag handler.
>
> On the other hand, some experts are creating native iPhone
> applications such as vRecord (a voice recorder), NES ( a Nintendo
> emulator), DOOM ( a shooting game). Thus I’m interesting in the
> native approach even though I’ve not started it yet.
>
> Thanks,
> Masayuki Akamatsu @ Stuttgart – http://www.camp-festival.de/
>

#108962
Sep 5, 2007 at 11:39pm

In case you haven’t heard: http://www.apple.com/ipodtouch/

I know, I know… you can’t even buy it yet. But when someone gets a chance to try this aka.iphone technique on the new iPod touch, let us know if it works. The iPod touch has Safari and wi-fi, so I imagine it should work almost the same.

I don’t intend to give AT&T hundreds (or is it thousands?) of dollars for a 2 year iPhone contract that I definitely do not need, so the iPod touch looks pretty tempting especially if it has good hacking possibilities :)

Adam

#108963
Sep 6, 2007 at 7:01am

does it have bluetooth?

On Sep 6, 2007, at 1:39 AM, Adam Murray wrote:

>
> In case you haven’t heard: http://www.apple.com/ipodtouch/
>
> I know, I know… you can’t even buy it yet. But when someone gets
> a chance to try this aka.iphone technique on the new iPod touch,
> let us know if it works. The iPod touch has Safari and wi-fi, so I
> imagine it should work almost the same.
>
> I don’t intend to give AT&T hundreds (or is it thousands?) of
> dollars for a 2 year iPhone contract that I definitely do not need,
> so the iPod touch looks pretty tempting especially if it has good
> hacking possibilities :)
>
> Adam
>

#108964
Sep 6, 2007 at 7:23am

On 6 sept. 07, at 09:01, Tommaso Perego wrote:

> does it have bluetooth?

According to the specs on apple website, it does not.

http://www.apple.com/ipodtouch/specs.html

ej

#108965
Sep 6, 2007 at 7:41am

thnx…looks good…
what is upsetting are the high changes in iphone prices
this is what they should have done from the firs moment.

well, cool

go mister aka!!
we want aka.ipod
native app!!!

we trust in you!

On Sep 6, 2007, at 9:23 AM, Emmanuel Jourdan wrote:

> On 6 sept. 07, at 09:01, Tommaso Perego wrote:
>
>> does it have bluetooth?
>
> According to the specs on apple website, it does not.
>
> http://www.apple.com/ipodtouch/specs.html
>
> ej
>
>
>

#108966
Sep 8, 2007 at 8:03am

hello
i have a question:
in your help file you say we need to :

(3) Enable PHP (on Mac OS X 10.4, as below)

- Open “/etc/httpd/httpd.conf”
- Remove “#” character at the top of the line below
(Line 240) #LoadModule php4_module libexec/httpd/libphp4.so
(Line 284) #AddModule mod_php4.c
- Save and close “httpd.conf”

when I go to httpd.conf file
i’ve opened it with text wrangler and at the line you specified I
cannot find
the code you specified.
I did a search and I’ve found this:

# PHP4 configuration
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

but there are no # to delete, as you suggested.

I connected succesfully from iPhone to my computer’s server, but no
message from iPhone is
received by your patch.

How to fix the problem?

Thank you in advance

ps
are you still developing this wonderful object?
it’s a grat idea!

#108967
Sep 11, 2007 at 12:22am

Hi Tommaso,

On 2007/09/08, at 17:03, Tommaso Perego wrote:

> when I go to httpd.conf file
> i’ve opened it with text wrangler and at the line you specified I
> cannot find
> the code you specified.

Which version of Mac OS X are you using ?

Please check these articles:
http://www.phpmac.com/articles.php?view=225
http://www.phpmac.com/articles.php?view=136

http://www.phpmac.com/articles.php?view=70

Best,
Masayuki Akamatsu

#108968
Sep 11, 2007 at 6:48am

thanx, im reading it now.
my osx is 10.4.10

the latest

on macbook

talk to u later

On Sep 11, 2007, at 2:22 AM, Masayuki Akamatsu wrote:

> Hi Tommaso,
>
> On 2007/09/08, at 17:03, Tommaso Perego wrote:
>
>> when I go to httpd.conf file
>> i’ve opened it with text wrangler and at the line you specified I
>> cannot find
>> the code you specified.
>
> Which version of Mac OS X are you using ?
>
> Please check these articles:
> http://www.phpmac.com/articles.php?view=225
> http://www.phpmac.com/articles.php?view=136
> http://www.phpmac.com/articles.php?view=70
>
> Best,
> Masayuki Akamatsu
>

#108969
Sep 11, 2007 at 7:33am

it works!

thank you.

ps
will you implement at least sliders?

On Sep 11, 2007, at 8:48 AM, Tommaso Perego wrote:

> thanx, im reading it now.
> my osx is 10.4.10
>
> the latest
>
>
> on macbook
>
>
> talk to u later
>
>
> On Sep 11, 2007, at 2:22 AM, Masayuki Akamatsu wrote:
>
>> Hi Tommaso,
>>
>> On 2007/09/08, at 17:03, Tommaso Perego wrote:
>>
>>> when I go to httpd.conf file
>>> i’ve opened it with text wrangler and at the line you specified I
>>> cannot find
>>> the code you specified.
>>
>> Which version of Mac OS X are you using ?
>>
>> Please check these articles:
>> http://www.phpmac.com/articles.php?view=225
>> http://www.phpmac.com/articles.php?view=136
>> http://www.phpmac.com/articles.php?view=70
>>
>> Best,
>> Masayuki Akamatsu
>>
>
>

#108970
Sep 12, 2007 at 9:47pm

Hi,

As Adam said, “aka.iPhone / Experiment 1″ works on HTTP+JavaScript
and iPod touch has Safari. Thus I believe it works on iPod touch.

About a native application, I can’t promise anything but I’m starting
it now after one month trip around Europe.

Masayuki Akamatsu @ Seoul

http://www.nabi.or.kr/party2007

On 2007/09/06, at 16:41, Tommaso Perego wrote:

> thnx…looks good…
> what is upsetting are the high changes in iphone prices
> this is what they should have done from the firs moment.
>
> well, cool
>
> go mister aka!!
> we want aka.ipod
> native app!!!
>
> we trust in you!
>
>
> On Sep 6, 2007, at 9:23 AM, Emmanuel Jourdan wrote:
>
>> On 6 sept. 07, at 09:01, Tommaso Perego wrote:
>>
>>> does it have bluetooth?
>>
>> According to the specs on apple website, it does not.
>>
>> http://www.apple.com/ipodtouch/specs.html
>>
>> ej
>>
>>
>>
>

#108971
Sep 12, 2007 at 10:08pm

hey!
i’ve been looking to some cool apps for iphone and i’ve seen that
maybe “sketches” or “sensors” (that you can upload to iphone using
AppTapp)
have some features that may interest you:

with sketches you can draw continously lines with finger
with sensors you get display of sensors tilt data coming from iphone.

im not a programmer and dont understand quite anything about this,
but maybe you may ask them for the source code…

after that,
i am a bit scared that “pinching” feature on iphone is only related
to the phone phocus, so I cannot figure out any way to use it in a
web 2.0 app.

sorry for these not-technical ideas… but they come from a little
long research, so u may find it useful

cheers!!!

On Sep 12, 2007, at 11:47 PM, Masayuki Akamatsu wrote:

> Hi,
>
> As Adam said, “aka.iPhone / Experiment 1″ works on HTTP+JavaScript
> and iPod touch has Safari. Thus I believe it works on iPod touch.
>
> About a native application, I can’t promise anything but I’m
> starting it now after one month trip around Europe.
>
> Masayuki Akamatsu @ Seoul
> http://www.nabi.or.kr/party2007
>
> On 2007/09/06, at 16:41, Tommaso Perego wrote:
>
>> thnx…looks good…
>> what is upsetting are the high changes in iphone prices
>> this is what they should have done from the firs moment.
>>
>> well, cool
>>
>> go mister aka!!
>> we want aka.ipod
>> native app!!!
>>
>> we trust in you!
>>
>>
>> On Sep 6, 2007, at 9:23 AM, Emmanuel Jourdan wrote:
>>
>>> On 6 sept. 07, at 09:01, Tommaso Perego wrote:
>>>
>>>> does it have bluetooth?
>>>
>>> According to the specs on apple website, it does not.
>>>
>>> http://www.apple.com/ipodtouch/specs.html
>>>
>>> ej
>>>
>>>
>>>
>>
>
>

#108972
Sep 12, 2007 at 10:09pm

I’ve also been looking a bit into an osc implementation as a native
iphone app…my main problem being lack of a development system. I’m
surprised no one has done this yet honestly…but I’d be curious to
know where you are at, and talk possibilities.

b

On Sep 12, 2007, at 2:47 PM, Masayuki Akamatsu wrote:

> Hi,
>
> As Adam said, “aka.iPhone / Experiment 1″ works on HTTP+JavaScript
> and iPod touch has Safari. Thus I believe it works on iPod touch.
>
> About a native application, I can’t promise anything but I’m
> starting it now after one month trip around Europe.
>
> Masayuki Akamatsu @ Seoul
> http://www.nabi.or.kr/party2007
>
> On 2007/09/06, at 16:41, Tommaso Perego wrote:
>
>> thnx…looks good…
>> what is upsetting are the high changes in iphone prices
>> this is what they should have done from the firs moment.
>>
>> well, cool
>>
>> go mister aka!!
>> we want aka.ipod
>> native app!!!
>>
>> we trust in you!
>>
>>
>> On Sep 6, 2007, at 9:23 AM, Emmanuel Jourdan wrote:
>>
>>> On 6 sept. 07, at 09:01, Tommaso Perego wrote:
>>>
>>>> does it have bluetooth?
>>>
>>> According to the specs on apple website, it does not.
>>>
>>> http://www.apple.com/ipodtouch/specs.html
>>>
>>> ej
>>>
>>>
>>>
>>
>

Barry Threw
Media Art and Technology

San Francisco, CA Work: 857-544-3967
Email: bthrew@gmail.com
IM: captogreadmore (AIM)
http:/www.barrythrew.com

#108973
Sep 12, 2007 at 10:13pm

Quote: Masayuki Akamatsu wrote on Wed, 12 September 2007 14:47
—————————————————-
> As Adam said, “aka.iPhone / Experiment 1″ works on HTTP+JavaScript
> and iPod touch has Safari. Thus I believe it works on iPod touch.

Yeah, I don’t see any reason why it wouldn’t work.

I was thinking – it seems unnecessary to require running Apache to provide a web interface. It should be straightforward to write a Java external that acts as a simple HTTP server and serves up web-based Max interfaces to any browser (including, but not limited to, Safari in iPhone and iPod touch). This approach should allow for building standalones with remotely accessible browser interfaces that run out-of-the box without the need for a separate web server, which I think would be pretty awesome. Plus it should be much easier to interact with Max from Java external.

I have experience doing this sort of thing in Java, so if/when I get an iPod touch I think I will take a stab at it. That won’t be for a couple months probably. In the meantime, if someone else is motivated I think the Java external approach is worth some investigation.

Doh! Too bad Apple is one release behind on Java: http://java.sun.com/javase/6/docs/jre/api/net/httpserver/spec/index.html
Anyone know when Java 6 is coming out on Macs? I guess a preview is available (http://developer.apple.com/java/) but that kind of defeats the goal of providing out-of-the-box standalone apps. Actually, I’m not even sure if Apple ports com.sun.* packages to Mac. But even without the nice library from Sun, I do not think it will be too hard to implement this as long as it is really simple functionality (i.e. no authentication / access control).

-Adam

#108974
Sep 12, 2007 at 10:18pm

Unfortunately the onDrag event is excluded from the iPhone version of
Safari. Therefore the “pinching” feature, or any drag related event,
will not be possible.

Actually, at this point developing an osc sending, native app on the
iphone should be trivial. Most of the dev work would come in the
building of widgets.

b

On Sep 12, 2007, at 3:08 PM, Tommaso Perego wrote:

> hey!
> i’ve been looking to some cool apps for iphone and i’ve seen that
> maybe “sketches” or “sensors” (that you can upload to iphone using
> AppTapp)
> have some features that may interest you:
>
> with sketches you can draw continously lines with finger
> with sensors you get display of sensors tilt data coming from iphone.
>
> im not a programmer and dont understand quite anything about this,
> but maybe you may ask them for the source code…
>
> after that,
> i am a bit scared that “pinching” feature on iphone is only related
> to the phone phocus, so I cannot figure out any way to use it in a
> web 2.0 app.
>
>
> sorry for these not-technical ideas… but they come from a little
> long research, so u may find it useful
>
> cheers!!!
>
>
>
> On Sep 12, 2007, at 11:47 PM, Masayuki Akamatsu wrote:
>
>> Hi,
>>
>> As Adam said, “aka.iPhone / Experiment 1″ works on HTTP
>> +JavaScript and iPod touch has Safari. Thus I believe it works on
>> iPod touch.
>>
>> About a native application, I can’t promise anything but I’m
>> starting it now after one month trip around Europe.
>>
>> Masayuki Akamatsu @ Seoul
>> http://www.nabi.or.kr/party2007
>>
>> On 2007/09/06, at 16:41, Tommaso Perego wrote:
>>
>>> thnx…looks good…
>>> what is upsetting are the high changes in iphone prices
>>> this is what they should have done from the firs moment.
>>>
>>> well, cool
>>>
>>> go mister aka!!
>>> we want aka.ipod
>>> native app!!!
>>>
>>> we trust in you!
>>>
>>>
>>> On Sep 6, 2007, at 9:23 AM, Emmanuel Jourdan wrote:
>>>
>>>> On 6 sept. 07, at 09:01, Tommaso Perego wrote:
>>>>
>>>>> does it have bluetooth?
>>>>
>>>> According to the specs on apple website, it does not.
>>>>
>>>> http://www.apple.com/ipodtouch/specs.html
>>>>
>>>> ej
>>>>
>>>>
>>>>
>>>
>>
>>
>

Barry Threw
Media Art and Technology

San Francisco, CA Work: 857-544-3967
Email: bthrew@gmail.com
IM: captogreadmore (AIM)
http:/www.barrythrew.com

#108975
Sep 12, 2007 at 10:56pm

Quote: barry threw wrote on Wed, 12 September 2007 15:18
—————————————————-
> Unfortunately the onDrag event is excluded from the iPhone version of
> Safari. Therefore the “pinching” feature, or any drag related event,
> will not be possible.

I don’t have an iPhone, but I am skeptical that no dragging is possible. I seem to remember an iPhone preview video showing the iPhone and Google Maps – lots of dragging going on there. It is possible to roll-your-own drag and drop support using the lower level onmousedown, onmouseup, and onmousemove event handlers that have been standard for browser javascript longer than onDrag. iPhone’s Safari would be pretty broken without these basic event handlers.

If I remember correctly, the O’Reilly JavaScript book has a nice example on drag and drop using the onmouse* events.

> Actually, at this point developing an osc sending, native app on the
> iphone should be trivial. Most of the dev work would come in the
> building of widgets.

Will a native app rely on bluetooth or TCP/UDP to communicate with the Max host computer? I’m just wondering, because iPod touch does not have bluetooth. Maybe you don’t care if it works on iPod touch, especially if you are just patching for your own personal projects, but I predict the iPod touch will ultimately have a larger install base then the iPhone so it’s worth considering how to support both. That’s why I was thinking about the Java external approach in my previous post.

-Adam

#108976
Sep 12, 2007 at 11:01pm

Funny. I plan on working on something similar to this with a friend
in the next few months. Nice to see people thinking along the same
lines.

On Sep 12, 2007, at 6:18 PM, barry threw wrote:

> Unfortunately the onDrag event is excluded from the iPhone version
> of Safari. Therefore the “pinching” feature, or any drag related
> event, will not be possible.
>
> Actually, at this point developing an osc sending, native app on
> the iphone should be trivial. Most of the dev work would come in
> the building of widgets.
>
> b
>
>
>
> On Sep 12, 2007, at 3:08 PM, Tommaso Perego wrote:
>
>> hey!
>> i’ve been looking to some cool apps for iphone and i’ve seen that
>> maybe “sketches” or “sensors” (that you can upload to iphone using
>> AppTapp)
>> have some features that may interest you:
>>
>> with sketches you can draw continously lines with finger
>> with sensors you get display of sensors tilt data coming from iphone.
>>
>> im not a programmer and dont understand quite anything about
>> this, but maybe you may ask them for the source code…
>>
>> after that,
>> i am a bit scared that “pinching” feature on iphone is only
>> related to the phone phocus, so I cannot figure out any way to use
>> it in a web 2.0 app.
>>
>>
>> sorry for these not-technical ideas… but they come from a little
>> long research, so u may find it useful
>>
>> cheers!!!
>>
>>
>>
>> On Sep 12, 2007, at 11:47 PM, Masayuki Akamatsu wrote:
>>
>>> Hi,
>>>
>>> As Adam said, “aka.iPhone / Experiment 1″ works on HTTP
>>> +JavaScript and iPod touch has Safari. Thus I believe it works on
>>> iPod touch.
>>>
>>> About a native application, I can’t promise anything but I’m
>>> starting it now after one month trip around Europe.
>>>
>>> Masayuki Akamatsu @ Seoul
>>> http://www.nabi.or.kr/party2007
>>>
>>> On 2007/09/06, at 16:41, Tommaso Perego wrote:
>>>
>>>> thnx…looks good…
>>>> what is upsetting are the high changes in iphone prices
>>>> this is what they should have done from the firs moment.
>>>>
>>>> well, cool
>>>>
>>>> go mister aka!!
>>>> we want aka.ipod
>>>> native app!!!
>>>>
>>>> we trust in you!
>>>>
>>>>
>>>> On Sep 6, 2007, at 9:23 AM, Emmanuel Jourdan wrote:
>>>>
>>>>> On 6 sept. 07, at 09:01, Tommaso Perego wrote:
>>>>>
>>>>>> does it have bluetooth?
>>>>>
>>>>> According to the specs on apple website, it does not.
>>>>>
>>>>> http://www.apple.com/ipodtouch/specs.html
>>>>>
>>>>> ej
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
>
> Barry Threw
> Media Art and Technology
>
>
> San Francisco, CA Work: 857-544-3967
> Email: bthrew@gmail.com
> IM: captogreadmore (AIM)
> http:/www.barrythrew.com
>
>
>

v a d e //

http://www.vade.info
abstrakt.vade.info

#108977
Sep 12, 2007 at 11:29pm

Google Maps is a native app.

Probably TCP.

b

On Sep 12, 2007, at 3:56 PM, Adam Murray wrote:

>
> Quote: barry threw wrote on Wed, 12 September 2007 15:18
> —————————————————-
>> Unfortunately the onDrag event is excluded from the iPhone version of
>> Safari. Therefore the “pinching” feature, or any drag related event,
>> will not be possible.
>
> I don’t have an iPhone, but I am skeptical that no dragging is
> possible. I seem to remember an iPhone preview video showing the
> iPhone and Google Maps – lots of dragging going on there. It is
> possible to roll-your-own drag and drop support using the lower
> level onmousedown, onmouseup, and onmousemove event handlers that
> have been standard for browser javascript longer than onDrag.
> iPhone’s Safari would be pretty broken without these basic event
> handlers.
>
> If I remember correctly, the O’Reilly JavaScript book has a nice
> example on drag and drop using the onmouse* events.
>
>
>> Actually, at this point developing an osc sending, native app on the
>> iphone should be trivial. Most of the dev work would come in the
>> building of widgets.
>
> Will a native app rely on bluetooth or TCP/UDP to communicate with
> the Max host computer? I’m just wondering, because iPod touch does
> not have bluetooth. Maybe you don’t care if it works on iPod touch,
> especially if you are just patching for your own personal projects,
> but I predict the iPod touch will ultimately have a larger install
> base then the iPhone so it’s worth considering how to support both.
> That’s why I was thinking about the Java external approach in my
> previous post.
>
> -Adam

Barry Threw
Media Art and Technology

San Francisco, CA Work: 857-544-3967
Email: bthrew@gmail.com
IM: captogreadmore (AIM)
http:/www.barrythrew.com

#108978

You must be logged in to reply to this topic.