IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Nav Back button and Android

    Posted 11/06/11 01:30 PM

    Is there any know reason as to why when I add a Nav Back button onto my app, that it suddenly has issues with Y position of the UI components when I run this in Android?

    E.g. it should look like this:

    but in Android when I run it, it comes out like this… with every UI component positioned at Y=0.

    If I comment out the folling code so the nav back button isn’t aded to the page, i.e. I remove this:

    nUINavbuttonElement ne = new nUINavbuttonElement(NUIID_FAILURE_BACK_BUTTON, “Back”, null);
    ne.setType(nUINavbuttonElement.TYPE_BACK);
    page.add(ne);

    Then it renders properly in the android version, i.e.

    The downside then is that the hardware/emulator back button doesn’t work anymore and I’d have to add a button to get back which I didn’t really want to do.

    Any clues as to what is causing this?

    Kind regards
    Dave


    #mobile
    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: Nav Back button and Android

    Posted 11/07/11 11:10 AM

    Hi Dave,

    I don’t know if you’re doing it already, but can you ensure that the
    Back Navbutton is the last element added to the page - there’s an issue
    in the system right now about that. If that’s the case already, can you
    send us over some source for repro at our end.

    Thanks,

    Nick.


    #mobile
    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 3.  RE: Nav Back button and Android

    Posted 11/07/11 11:31 AM

    Thanks Nick,

    It definitely wasn’t the last component added - I’ll give this a try and
    see if it resolves the issue!

    Kind regards
    Dave


    #Integration-Server-and-ESB
    #mobile
    #webMethods
    #webMethods-General


  • 4.  RE: Nav Back button and Android

    Posted 11/07/11 12:29 PM

    Thank you Nick.

    It’s now the last component added and it’s working properly now in
    Android!
    Much appreciated.

    That’s definitely one to remember!

    Kind regards
    Dave


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB
    #mobile