Click here to read what's going on with 9to5mac

Developers have been combing through the recent build of the iPhone OS SDK and have found new references to multitasking in a files throughout the SDK.  The below mention of a “multitasking dialog box” is but one example:

Many of Apple’s built-in applications already multitask, including phone.app, iPod.app, Safari.app, Mail.app, etc. so theoretically, the dialog box in this case could refer to current functionality.

Thanks AL!

 

  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Reddit
  • Suggest to Techmeme via Twitter
  • Twitter
  • Yahoo! Buzz
  • email
  • Fark
  • FriendFeed
  • LinkedIn
  • MySpace
  • PDF
  • Posterous
  • RSS
  • Slashdot
  • Technorati
  • Tumblr

No Comments

  1. 9to5Mac Noob says:

    Thanks for your hard work guys, keeps me reading.

  2. 9to5Mac Noob says:

     This isn’t real, Apple wouldn’t be so careless to leave what appears to be fully-fledged source code in the SDK. Also, why a JavaScript source file? Surely the SpringBoard would have been written in Objective-C? Even if this is real, I’ll only believe this when it gets removed for legal reasons, I don’t think Apple appreciates people posting its intellectual property.

    • admin says:

      So this isn’t real (yet we’ve shown the file name if you want to go look at it).  This is “fully-fledged source code” but it is in a Javascript file.  And with over 100,000 developers looking at this source code (and a lot of them sending us files) it ain’t a big secret

      • 9to5Mac Noob says:

        Apple wouldn’t use JavaScript to handle anything to do with the SpringBoard because it would be much easier to do in Objective-C, the language the SpringBoard is written in.

      • 9to5Mac Noob says:

         

        The full path to the file being displayed is

         

        /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/System/Library/PrivateFrameworks/ApplicationScripting.framework/springboard/SpringBoard.js

        note SIMULATOR, not DEVICE. There are no JS files in the DEVICE directories

         

         

        • 9to5Mac Noob says:

          Makes sense, but you should’ve mentioned it was in the ApplicationScripting framework because it’s for controlling apps within the simulator only. (http://iphonedevwiki.net/index.php/ApplicationScripting.framework).

          BTW I’m not a member of the paid iPhone Developer Program so I don’t have the 3.2 SDK, but I know for certain Apple wouldn’t use JavaScript for something like the SpringBoard. My bad, but I couldn’t understand why Apple would use JavaScript, and I couldn’t find anything to prove its authenticity either.

  3. 9to5Mac Noob says:

    Can you show more screenshots of other references?

  4. Oflife says:

    Me thinks that whilst multitasking is definitely on the cards, the issue – like Apple’s cut and paste – will be the implementation. Both Nokia and SE have intelligently integrated their mobile PIM apps (calendar, address book etc) such that multitasking is actually useful, not just a technical achievement. With the iPhone, I imagine a dock like task manager system will allow running apps to be viewed and selected, whilst some tight integration between apps will make transferring data / content between them seamless and intuitive.

  5. 9to5Mac Noober!!!! says:

    Touch sensitive home button????

    Almost like the Pre, that would be cool.

     

    • mime454 says:

      That would be about the dumbest thing Apple could do. How on Earth would you hold your phone?

  6. 9to5Mac Noob says:

    4.0 will support multi-tasking.

  7. Byron says:

    Almost looks like some sort of test script.

  8. 9to5Mac Noob says:

    Eh….multitasking is way overrated. I’d rather have notifications fully implemented.

  9. mynameisjay says:

    Multitasking?! But but but.. what will everyone bitch about then?

  10. 9to5Mac Expert says:

    Here is a link to more informaiton on this framework.  http://iphonedevwiki.net/index.php/ApplicationScripting.framework

     

        It is an internal scripting framework that apple uses for testing.   The iPhone is a multi-tasking environment. It runs on Unix which has always been multi-tasking.  While you are browsing the web and listening to music are are in fact multi-tasking.  Further application after being closed run for several minutes to clean up resources while the user browses other apps.  So, multi-tasking has always been a part of iPhone.

     

     

    However, apps are restricted from presenting UI unless active.  So while the OS is constantly multi-tasking on some level (including the daemon that is busy listening for a push to come over the wire) the apps are not able to provide multi-tasking features.  

     

    These test harnesses simply test the functionality that has always been present. following are files that accompany this file [SpringBoard.js]        SpringBoardStress.js* SpringBoardTests.js

     

     

    Also, JavaScript (JS) is never used for OS level application development.

    • 9to5Mac Noob says:

      Actually I use JS all the time when making desktop apps that require special UIs. Sometimes its much easier to design a control or UI with the Web languages (HTML, JavaScript & CSS) than it is to make a native control, because you manage to get exact precision and control over all user interactions.

      For instance, if you wanted to make an iTunes-style source list on Windows, you’d be best off doing it with the Web languages because its very easy to do that way.

  11. mac Noober says:

    Read the code carefully. It has nothing to do with multi-tasking processes.  It is a comment that mentions a dialog box that does more than one task,  It could have a been written “multi-function dialog box”.  The iPhone OS does do multi-tasking.  There are all kinds of background processes running along with the current app.  Apple just does not choose to let 3rd party apps run in the background while other apps are running.  Apple claims it is for power consumption and security.  If I had to guess they have a combination reasons for doing it, including power consumption and security.  Having multiple apps running at once ads some overload to the processor, but more importantly takes up RAM. Not the flash RAM used for storing your songs and pictures and email, but the system RAM, which the 3GS only has 256MB of and the older iPhones 128MB.  By not letting background apps run, apple can swap out an app to flash RAM and have the whole available system RAM for the next app to run. A 3rd party app would only get about 156MB to run on in a 3GS because the iPhone OS itself about 100MB for its own use at all times. Those multi-tasking system processes need it. On the older phones an app only gets about 40MB to run in.  I suspect when Apple can build more system RAM into an iPhone along with a faster multi-core processor while still increasing battery life, then your will see 3rd party apps that are allowed to run in the background. It might show up on the iPad first.

  12. 9to5Mac Noob says:

    i don’t belive this is real.

    for (var i; …) { … } is bad javascript, all variable declarations should be at the top of the function. i think apple would know this.

    • emile says:

      that is not really the case. for (var i=0; i<10; i++){…} is a proper way to create a for loop, iterator is declared in the right place;

  13. Janek says:

    This is pretty convincing. This is code used in the simulator for testing the OS functionality (and presumably part of the scripting code that is used for automatically launching your app when you ask Xcode to run it in the simulator).

    This particular piece of code is for bringing up the Spotlight page in Springboard, and the comments mention how there is a thing called “Apex” (presumably a new version of iPhone OS, most likely 4.0) where on some devices (most likely those with 256MB or RAM or more, like 3Gs) have a multitasking dialog box that now also includes Spotlight, which is reached by double-clicking on the home button (which is the logical approach for Apple to implement multitasking, as they are already using the double-click of home button for bringing up the (multi-tasking) iPod controls).

    So there is clearly a version of the iPhone OS inside Apple that features a new control for multitasking applications. It is likely that this is for 3rd party applications as there is no real need for the built-in ones. Whether and when Apple will release this to the general public is a different question of course.

  14. Aneekalam says:

    Many of Apple’s built-in applications already multitask, including phone.app, iPod.app, Safari.app, Mail.app, etc. so theoretically, the dialog box in this case could refer to current functionality.Thanks

    Halloween costumes

  15. Aneekalam says:

    Well…Developers have been combing through the recent build of the iPhone OS SDK and have found new references to multitasking in a files throughout the SDK. The below mention of a “multitasking dialog box”…
    Thanks
    usa business directory

  16. alasiri1 says:

     thank you very much
    ???????,?????,2011,2010,1431,1432,?????,?????,????????,??????,?????,
    ???????
    ?????,??????,???????,?????
    ??????
    ,???,?????,?????,?????,??????,??????,
    ??????,??????,????,????
    ??????
    ,?????
    ?????
    ,?????
    ???
    ,
    ????? ???,?????
    ???
    ,?????
    ???
    ,?????,??????,?????
    ?????
    ?? ????? ???? ???
    ??????

    ??????,????
    ??????
    ???????  ?????
    ??????
    ?????
    ??????
    ?????
    ?????
    ?????
    ???????
    ???
    ??????
    ?????  ????
    ??????
    ?????
    ?????
    ??????
    ????

    ?????????
    ?????
    ?????
    ?????
    ?????

    ?????
    ????? 
    ?????

    ??????
    ?????
    ??????
    ??????
    ?????
    ?????
    ??????
    ????
    ?????
    ??? ?????? 2010
    ??????
    ?????
    ?????? 2011
    ??????
    ?????? 2011
    ??? 2011
    ?????
    ?????
    ????? ????????
    ????? ??
    ????? ????
    ????? ????
    ?????
    ????? ????????
    ????? ??
    ????? ????
    ????? ????
    ?????
    ????? ????????
    ????? ??
    ????? ????
    ????? ????
    mms
    ?????? ???? ????
    ?????
    ?????? ???? ???? 2011
    ????? 2011
    ?????? ??????
    ?????? ????????
    ?????? ?????
    ?????? 2011
    HotSpot Shield
    HotSpot Shield 2010
    HotSpot Shield 2011

    crack ,
    serial ,
    key ,
    keygen ,
    patch ,
    username ,
    password ,
    ???? ,
    ????? ,
    ???? ,
    ???? ,
    ????? ,
    ???? ,
    ??????? 


    ??????
    ???? ????????
    ???? ?????? ????
    ?????

    ??? ???????
     ????
    ????? ?????

    ????? ????? ????????

    ???? ???????
    ???? ??? ?? | X O
    Game

    ????? ??????
    ??????? ????? ,
    ??????? ????? ,
    ??????? ,
    ????? ,
    ??????? ????? ,
    ???????
    ??????? ????????
    ??????? ????
    ??????? ????? 2011
    ??????? ???
    ??????? 2011
    ???????
    ??????? 2011
    ????
    ????
    ???? 2011
    ???? ?????
    ???? ?????
    ???? ???? ??????
    ???? ???? ??????
    ???? ??????
    ????? ???? ??????
    ???? ??????
    ????? ??????
    ????
    ????
    ??????
    ???????
    ?????
    ??????
    ??????
    ??? ????????
    ????? ???????
    ????? ???? ?????

Leave a Comment

Sorry, you must create an account or login to join the discussion.