facebook

Is Socket IO possible using Javascript

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #319642 Reply

    alexf
    Member

    Hi,

    Mobione looks awesome and I am just wondering if it might be suitable for an application I have, as it would certainly be great to avoid the iPhone SDK! 🙂

    There are two aspects to my project which might not be possible, so I hope you won’t mind me asking about them:

    1. I want to display live data. Would it be possible to use socket IO in Javascript to receive a feed of text for display on this platform? Is there a better way to handle that?

    2. Is there any way to access the geolocation function of the iPad/iPhone when using mobione?

    Thanks,
    Alex

    #319650

    support-michael
    Keymaster

    @alexf

    >1. I want to display live data. Would it be possible to use socket IO in Javascript to receive a feed of text for display on this platform? Is there a better way to handle that?

    The HTML5 spec includes WebSockets for this purpose. You will need iOS 4.2 or greater.
    See http://dev.w3.org/html5/websockets/. Note the Test Center emulator does not support web socket api yet.

    >2. Is there any way to access the geolocation function of the iPad/iPhone when using mobione?

    Yes, a key benefit of the MobiOne Design Center is that it generates HTML5 mobile webapps. The HTML5 spec includes a JavaScript geolocation api. The MobiOne Test Center includes an example geolocation app. Here is an introduction to geolocation apis in mobile safari from apple

    #319725

    alexf
    Member

    Thanks Wayne. That’s awesome.

    If I understand correctly, what I would be building is an HTML based app rather than a native IOS app. That leaves me with some more questions (probably being a dumb non-iPhone app/MAC developer here!)

    1. Can I deploy a mobione app for sale via the app store?
    2. Could I create a shortcut to the app on the desktop of the IOS device?

    Thanks,
    Alex

    #319727

    support-michael
    Keymaster

    @alexf

    >2. Could I create a shortcut to the app on the desktop of the IOS device?
    Yes, see the section “Adding the App Icon to the Home Screen” in
    http://genuitec.com/mobile/docs/splashScreenHomeIcon/splashScreenHomeIcon.html

    >1. Can I deploy a mobione app for sale via the app store?
    The Apple AppStore is limited to app in the form of native iOS binaries. We are working to provide a solution for this in the next 2 months. There are other appstores that will accept webapps. I can provide more details if there is interest in non-Apple appstore options.

    #319857

    alexf
    Member

    Hi Wayne.

    Definitely interested. Thank you.

    Kind regards,
    Alex

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Is Socket IO possible using Javascript

You must be logged in to post in the forum log in