facebook

Unsupported platform

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

    Philip!!!
    Member

    Hi Octavio

    I tried to download my app in my device to test it but i get
    this message “Unsupported platform,attempt installation anyway?”
    And if i install it anyway i get an error message when i try to open it.

    Which is really weird because my device is a Samsung Tablet
    Android version 4.2.2.

    the funny thing is that i download it and on another similar tablet and there works fine.

    any thoughts what this error might be?

    #350682 Reply

    Philip!!!
    Member

    Hi Octavio

    I tried a different browser and it installed ok but now when i open it
    this message appears :

    Application Error
    the connection to the server was unsuccessful. (file:///android_asset/www/home.html)

    any tips?

    #350695 Reply

    Hi philip,

    This is a known issue. This bug is being introduced by our cloud provider – Google App Engine. GAE is automatically adding the content type headers incorrectly. We have tried to work around this but nogo so far. We are waiting for google to resolve it. The workaround is using the default browser to download your mobione app: http://www.genuitec.com/support-genuitec/viewtopic.php?f=8&t=4838&p=14064&hilit=Unsupported+Platform#p14064

    >Application Error
    >the connection to the server was unsuccessful. (file:///android_asset/www/home.html)
    Can you share your device model?
    Also, is your app very big? does it contain many images, or are the gloss and gradient effect used too much? Do you get the same error message if you build a sample app with just a button or text widget?

    #350704 Reply

    Philip!!!
    Member

    Hi Octavio

    Thank you for your respond

    My device is:
    Samsung galaxy Tab 3 lite.
    sm-t110

    1.2Ghz Dual core processor.

    Yes my app contains a large number of screens,no images at all and gloss effect is used to every screen.

    i Tried a smaller app and it worked fine.no errors.

    I made a research in the internet about this error and i found this:

    http://www.codeexperts.com/showthread.php?1125-The-connection-to-the-server-was-unsuccessful

    They say that the problem might be solved by adding a timeout to call my index.html.
    will this solution work for me? and if yes how can i implement ?

    I also found this method:
    https://www.robertkehoe.com/2013/01/fix-for-phonegap-connection-to-server-was-unsuccessful/

    Thank you.

    #350715 Reply

    Hi philip,

    Can you try changing your page architecture to dynamic (AJAX)? See http://www.genuitec.com/support-genuitec/viewtopic.php?p=19754#p19754

    If the problem continues can you share your project with us? Send it to support at genuitec dot com, use title mobione data from philip. Also, if the file is bigger than 10MB consider using a service such wetransfer.com

    #350718 Reply

    Philip!!!
    Member

    Hi Octavio

    It worked.

    It took more that 30 minutes to build though, is this usual?

    it seems that i don’t understand in which file i have to add the:

    phoneui.showActivityDialog = function() {};
    phoneui.hideActivityDialog = function() {};

    please advise me on that:
    i have really a huge amount of screens with text in my app,
    is it better if instead of screens to add few screens with a lot of pages? or it doesn’t matter ?
    Thank you .

    #350774 Reply

    Philip!!!
    Member

    Hi Octavio

    You haven’t gave me a feedback yet.

    I hope you didn’t forget it.

    #350801 Reply

    Hi,

    >It took more that 30 minutes to build though, is this usual?
    It depends on your computer and your project’s size, as you said you have many screens with gloss effects, I suspect that this is usual, we’ve seen other huge projects taking such a long time to generate the project files.

    >i have really a huge amount of screens with text in my app,
    >is it better if instead of screens to add few screens with a lot of pages? or it doesn’t matter ?
    In my understanding it’d be the same since your app will have the same content with either approach you use. I have escalated your question with a dev team member who just returned from vacation, hopefully I’ll get his input early tomorrow.

    #350808 Reply

    Philip!!!
    Member

    Hi Octavio

    Great i will be waiting .

    what about the:
    phoneui.showActivityDialog = function() {};
    phoneui.hideActivityDialog = function() {};

    in order to avoid the loading images .

    where do i add it?

    is there a guide with pictures i can follow?

    #350810 Reply

    Philip!!!
    Member

    Hi Octavio

    forget my last post :

    what about the:
    phoneui.showActivityDialog = function() {};
    phoneui.hideActivityDialog = function() {};

    in order to avoid the loading images .

    where do i add it?

    is there a guide with pictures i can follow?

    i got it under control.

    #350814 Reply

    Hi philip,

    The dev team confirmed what I said in my previous post, though this is only true if your pages architecture is static. If you change them to dynamic then it is better to use many screens because they are loaded on the fly and don’t exist in DOM until visited, if you had a few screens with many multipage pages it would take more time to load those screens.

    Hope this is helpful. Let us know if you have further questions.

    #350981 Reply

    Philip!!!
    Member

    Thank you very much

Viewing 12 posts - 1 through 12 (of 12 total)
Reply To: Unsupported platform

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