facebook

PhoneGap in Test Center

💡
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 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #333292 Reply

    luisdias
    Member

    Hello,

    I am evaluation the MobiOne software for my company and i am trying to build an app. So fao so good, but when i try to get (for example) network information i get an undefined error.

    Doesn’t the Test Center recognize the phonegap libaries?

    This is the code i am using:

    var networkState = navigator.connection.type;

    var states = {};
    states[Connection.UNKNOWN] = ‘Unknown connection’;
    states[Connection.ETHERNET] = ‘Ethernet connection’;
    states[Connection.WIFI] = ‘WiFi connection’;
    states[Connection.CELL_2G] = ‘Cell 2G connection’;
    states[Connection.CELL_3G] = ‘Cell 3G connection’;
    states[Connection.CELL_4G] = ‘Cell 4G connection’;
    states[Connection.NONE] = ‘No network connection’;

    alert(‘Connection type: ‘ + states[networkState]);

    With my best regards and looking forward to hear back you,

    Luis Dias

    #333298

    support-michael
    Keymaster

    >Doesn’t the Test Center recognize the phonegap libaries?

    No. See Section 3.3.5 of the release notes (don’t get sidetracked by the discussion on Cordova api support as we are expanding to support it even though the Test Center does not emulate the api)
    http://www.genuitec.com/mobile//docs/highlights/2.3.0M1/release_notes.html

    #333313

    luisdias
    Member

    Wayne,

    Thank you for your reply.

    Is there any estimate as to when you are going to support the Cordova api? Is the Test Center ever going to emulate the api?

    This is an important issue for us.

    Regards,

    Luis Dias

    #333520

    support-michael
    Keymaster

    >Is there any estimate as to when you are going to support the Cordova api? Is the Test Center ever going to emulate the api?

    Yes, it will be updated in Q1 ’13 at some level; I’m not at liberty to discuss the details yet. But it is part of new enterprise mobile tools under development now that will be ANN’ed soon.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: PhoneGap in Test Center

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