facebook

How to use gotoScreen?

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

    BryanBudelon
    Member

    Hi.
    I tried to use the gotoPage, but no results.

    Code:
    phoneui.gotoScreen (‘# m1-Radio’, ‘NONE’);
    Note: I’m using the “Run Javascript”, and the name “Radio” is the name of app.mobi.

    Whats problem?

    Thanks for attention.

    #342484 Reply

    Brandon
    Member

    If you copy and pasted it could be that you have a space in between the # and m1

    phoneui.gotoScreen (‘# m1-Radio’, ‘NONE’);
    should be
    phoneui.gotoScreen (‘#m1-Radio’, ‘NONE’);

    #342500 Reply

    BryanBudelon
    Member

    @CincyPlanet wrote:

    If you copy and pasted it could be that you have a space in between the # and m1

    phoneui.gotoScreen (‘# m1-Radio’, ‘NONE’);
    should be
    phoneui.gotoScreen (‘#m1-Radio’, ‘NONE’);

    No. The space appeared only at the time of posting.

    #342504 Reply

    Hi BryanBudelon,

    Is your Radio screen linked to the main screen or any other screen that is linked to main screen? Or is it added as additional project file? If no, please do it. See last part of section #2 to learn more about it: http://www.genuitec.com/mobile/docs/projectOrg/projectOrg.html#organizing_new_project

    #342544 Reply

    BryanBudelon
    Member

    @support-octavio wrote:

    Hi BryanBudelon,

    Is your Radio screen linked to the main screen or any other screen that is linked to main screen? Or is it added as additional project file? If no, please do it. See last part of section #2 to learn more about it: http://www.genuitec.com/mobile/docs/projectOrg/projectOrg.html#organizing_new_project

    The problem was lack of “Additional Project Files”.
    But it is closing the MobiOne in testing, whats the problem ?

    Another question: how make builds with many projects integrated?

    #342555 Reply

    Hi BryanBudelon,

    Can you describe how Mobione is closed when you are testing? What Mobione version do you use? If 2.5, are you using Test Center or Web SIM?

    >Another question: how make builds with many projects integrated?
    Also, can you share more details to understand better your question?

    #342559 Reply

    BryanBudelon
    Member

    @support-octavio wrote:

    Hi BryanBudelon,

    Can you describe how Mobione is closed when you are testing? What Mobione version do you use? If 2.5, are you using Test Center or Web SIM?

    -> I’m with two projects, where use gotoPage for calling other project. When use the function gotoPage, sometimes the MobiOne closes in moment of call.

    Also, can you share more details to understand better your question?

    How said, i use functions for calling other project.mobi, in this moment is happens the closing of the MobiOne.

    Forgive me for the bad english, I’m Brazilian. And my level of the english is low.

    #342560 Reply

    When you say project, do you mean a screen (.mobi file)?
    Can you share a simple set of files to replicate the issue?
    What is your mobione version?

    #342655 Reply

    BryanBudelon
    Member

    @support-octavio wrote:

    When you say project, do you mean a screen (.mobi file)?
    Can you share a simple set of files to replicate the issue?
    What is your mobione version?

    – Yes, i mean screen(.mobi file).

    – This moment, use two screens(.mobi). One principal, other that is called within of the principal.

    – I use the version 2.3.2(hot-fix 1).

    #342692 Reply

    Hi BryanBudelon,

    Please share a sample project in order to replicate the problem in our side. If you want to keep data in privacy send it to support at genuitec dot com, use title mobione data from BryanBudelon

    #342693 Reply

    BryanBudelon
    Member

    @support-octavio wrote:

    Hi BryanBudelon,

    Please share a sample project in order to replicate the problem in our side. If you want to keep data in privacy send it to support at genuitec dot com, use title mobione data from BryanBudelon

    Sorry, but no got it how do contacting support of mode private.

    Thank you for attention.

    #342743 Reply

    Hi,

    I have not received your project yet. If you are unable to send it, you can also attach it to this thread. Just remove any image or text widget that you don’t want to share. The thing here is to replicate the problem that you are having with the gotoPage function.

    #342836 Reply

    BryanBudelon
    Member

    @support-octavio wrote:

    Hi,

    I have not received your project yet. If you are unable to send it, you can also attach it to this thread. Just remove any image or text widget that you don’t want to share. The thing here is to replicate the problem that you are having with the gotoPage function.

    That problem i ended up leaving aside. But i’m with other problem.
    There two “buttons”, on true are two images. When clicked, change. When clicked again, back to image initial. However, i’m no having result.

    Code:

    
    if($(this).attr("src") == "images/play.png"){
        $(this).attr("src","images/pause.png");
    }else{
        $(this).attr("src","images/play.png");
    }
    
Viewing 13 posts - 1 through 13 (of 13 total)
Reply To: How to use gotoScreen?

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