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
Expand all | Collapse all

Sample code to determine what platform an app is running on

  • 1.  Sample code to determine what platform an app is running on

    Posted 01/21/13 02:42 PM

    My mind is blanking out here?

    Does anyone have a snippet of code that allows an app to, at runtime, know what platform (iOS, Android, etc?) it is running on? I just need to do one thing differently, and I can’t for the life of me remember how.

    Thanks in advance.

    Dave


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


  • 2.  RE: Sample code to determine what platform an app is running on

    Posted 01/21/13 03:02 PM

    Disregard… I finally found it (I think):

    String platform = System.getProperty ( "mobiledesigner.platform");

    Dave

    On Jan 21, 2013, at 1:45 PM, "Sutka, David" < David.Sutka@softwareag.com>

    wrote:


    My mind is blanking out here…

    Does anyone have a snippet of code that allows an app to, at runtime, know what platform (iOS, Android, etc…) it is running on? I just need to do one thing differently, and I can’t for the life of me remember how.

    Thanks in advance.

    Dave


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