Welcome  ·  Travel  ·  Mobility  ·  Living  ·  Computer  ·  Art  ·  Spirituality


Computer
Computer Diary


    "You are not a human being having a spiritual experience, but a spiritual being having a human experience."

    Pierre Teilhard de Chardin
    1881-1955

    Here my little rant and praise place, where the daily experiences of my programming work are expressed. I publish them with the idea that others might find it useful and benefit from it.

    Tag <PhoneGap>

    Check also other posts with other tags.

    2009/03/14
    iPhone JavaScript Frameworks (aka Avoiding Objective-C)
    last edited 2009/03/30 08:16

    There is a strong movement to open iPhone development beyond the XCode/Objective-C constraint and enhance the JavaScript layer with WebKit further. PhoneGap.com already did this to some degree with interfacing the accelerator and GPS location, but for now OpenGL isn't tied in yet.

    Two frameworks seems approved by Apple.com (accepted apps written by those frameworks):

    John Resig wrote an amazing hack for Processing.org (a visualization framework): Processing.js which allows to write Processing code and run it as JavaScript. Michael Schieben adapted it with some minor changes to work on the iPhone: Processing.js for iPhone (github source ).

    Further Interesting References:

    and eases the application development without going to have to dive into Objective-C.

    Playing Looped Videos

    As part of an art project I'm involved, I require to play looped videos but this seems impossible with both frameworks because, both use HTML as backend, which by itself is again Safari Mobile, and there:

    • embed doesn't support autoplay=true or loop=true, in other words video doesn't start automatically neither loops, instead the 'ugly' QuickTime logo appears with the > "play" icon
    • embed doesn't support "src=poster.jpg href=movie.m4v", unlike documentation at developer.apple.com indicates
    • direct links to movie.m4v starts the movie right away, but no way to let it loop, and return to page which linked the movie itself

    In a nutshell, these frameworks do not provide the way to start movies right away, and let it loop.




    Check also other posts with other tags.

     Topics
  • Kubuntu (4)
  • Lighttpd (3)
  • MacOSX (3)
  • UNIX (3)
  • AdBlock Plus (2)
  • Dell (2)
  • Firefox (2)
  • Geonames (2)
  • MaraDNS (2)
  • Perl (2)
  • Sqlite (2)
  • VirtualBox.org (2)
  • !Flickr (1)
  • !GoogleMaps (1)
  • !GPS (1)
  • Advertisement (1)
  • AFP (1)
  • Amrok (1)
  • Android (1)
  • Apache2 (1)
  • App Store (1)
  • Benchmark (1)
  • Beta Software (1)
  • Big Brother (1)
  • Bind9 (1)
  • Blackberry (1)
  • Bloatware (1)
  • Catch 22 (1)
  • Cellphone (1)
  • Cellphone Networks (1)
  • CGI (1)
  • Crap (1)
  • Cygwin (1)
  • DNS (1)
  • Donations (1)
  • DVD/HDD Recorder (1)
  • Ethics (1)
  • Eye Candy (1)
  • FastCGI (1)
  • GeoLite (1)
  • Geotagging (1)
  • GMail (1)
  • Google (1)
  • Grep (1)
  • Hassle (1)
  • Heuristics (1)
  • iDeneb (1)
  • IMAP (1)
  • Insanity (1)
  • Internet Explorer (1)
  • iPhone (1)
  • iTunes Alike (1)
  • JavaScript (1)
  • Keyboard Mapping (1)
  • Laptop (1)
  • Linux (1)
  • Location Lookup (1)
  • MacOS-X (1)
  • MacPorts.org (1)
  • Medion Life (1)
  • Memory Waste (1)
  • Micropayment (1)
  • Not Ready (1)
  • NSD (1)
  • NTFS (1)
  • Objective-C (1)
  • Old Laptop (1)
  • OpenStreetMap (1)
  • Opera (1)
  • Paypal (1)
  • PhoneGap (1)
  • QuickConnect (1)
  • Review (1)
  • Server Farm (1)
  • Servers (1)
  • Thieves (1)
  • Thunderbird (1)
  • Useability (1)
  • VMWare Fusion (1)
  • WebServer (1)
  • Windows XP (1)

  • .:.


    Welcome  ·  Travel  ·  Mobility  ·  Living  ·  Computer  ·  Art  ·  Spirituality



    Copyright 2007, 2008, 2009, 2010 © by René K. Müller <spiritdude@gmail.com>
    Illustrations and graphics made with Inkscape, GIMP and Tgif