IFrame in Hybrid Web Container / Sybase Unwired Platform

Hi,
I'm completely new to this and have a hopefully simple question:
I'd like to display additional content in an SUP on mobile devices.
Is it possible to add an iframe and display content from a web server?
if this is possible can i communicate with this frame using JavaScript?
regards
  Ralf

I believe this is possible.  Have you tried it? 
If not, add an htmlview to your screen, create a key for it and assign it to have a default value such as <iframe src="http://www.sybase.com" style="width:300px;height:400px"></iframe>
Regards,
Dan van Leeuwen

Similar Messages

  • Hybrid Web Container(sup) example

    Hi,
    can any one explain how to create a SUP Hybrid Web Container Application example..
    Thanks in Advance.....

    Hi Vinaykumar
    Try this link.
    [How to Implement a Simple Application using Sybase Unwired Platform 2.0|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90b94038-3877-2e10-aa81-e021d6ffd0cc?quicklink=index&overridelayout=true]
    Hope this will help you.
    Thanks and regards,
    Rinzy Deena Mathews

  • SUP - Hybrid Web Container - Development / Customization on Custom.js file

    Hi experts,
    1. To perform customization on the Hybrid Web Container from SUP 2.1, we usually edit the Custom.js file.
    2. Now in the development tool which is our Sybase Unwired Workspace, it uses Eclipse and that is where we usually edit the Custom.js file.
    3. However, to test out the changes in the file, we have to re-deploy the package to the SUP and then see the difference in the device.
    4. Is there a way to debug the Custom.js file, or to put a breakpoint to track and troubleshoot if there is a bug?
    5. Has anyone done customization and used some tool that can allow developers to debug their changes?
    6. It would be very difficult to fix bugs if there is no way to use breakpoints or debug.
    Please advise.
    Thank you.

    Hi Hari,
    Try checking out [this video from sybase|http://t.co/qTJHzUGI] on how to debug the JS part of the Hybrid web container. Should help you out.
    Cheers,
    Brenton.

  • How to write sync service in sybase unwired platform

    Hi
    How to write sync service in sybase unwired platform?
    Thanks in advance....

    Hi!
    A RESTful web service (also called a RESTful web API) is a simple web service implemented using HTTP and the principles of REST. It is a collection of resources, with three defined aspects:
    - the base URI for the web service, such as http://example.com/resources/
    - the Internet media type of the data supported by the web service. This is often JSON, XML or YAML but can be any other valid Internet media type.
    - the set of operations supported by the web service using HTTP methods (e.g., POST, GET, PUT or DELETE).
    On Sybase Unwired WorkSpace you can select, in Enterprise Explorer, REST Web Services connection defining a resource base URL and URI template, and then using this as MBO defining HTTP method and parameters.
    Try this:
    http://en.wikipedia.org/wiki/Representational_State_Transfer
    and this:
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0155/doc/html/fre1261416769728.html
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0155/doc/html/fre1261424660910.html

  • SUP Hybrid Web container Offline Mode

    Hello,
    I tried out a workflow example on blackberry simulator(using hybrid web container),but when i am in offline mode,the example doesnot work,so i had a doubt whether hybrid webcontainer supports offline mode,or do we need to do anything in the code,to support this.
    regards
    kaushik

    in the SUP documentation it is mentioned that offline support is provided,refer the link
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01203.0200/doc/html/apr1300926372606.html)

  • Screencasts on SUP 2.0 Mobile Workflows (Hybrid Web Container)

    http://blogs.sybase.com/himagiri/
    I've started posting screencasts for SUP 2.0 focusing on the Mobile Workflow/Hybrid Web Container functionality. Feel free to comment with any other topics you are interested in hearing about.

    Posted a new screencast.
    http://blogs.sybase.com/himagiri/2011/06/screencast-debugging-server-initiated-workflows-on-desktop/

  • Hybrid web container Broswer : hwc.showUrlInBrowser

    Hi Guys
    SMP 2.2
    HWC(2.2.4)
    iOS (os7)
    I am using the above method (hwc.showUrlInBrowser) to display a website inside a hybrid app using Hybrid Web Container.
    It works great for websites that do NOT require basic authentication.
    The issue I am having is that if the website requires basic authentication then the hwc browser hangs on loading.
    Another issue I have is that the browser session does not pick up the authentication for the hybrid web container.
    I am already logged into a back end system using the HWC, but when I access a url in the back end using showUrlInBrowser, authentication fails.
    Any ideas/views greatly appreciated.
    Thanks
    Andrew

    Hi there,
    There is some good documentation from Sybase on how to format a DCN from the SAP side [Here|http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01284.0210/doc/html/title.html]. Its probably easier to follow that documentation and relate it specifically to your requirement than to write out a long example here.
    On the SUP side you will need a rule in your workflow to detect and act on the notification but that is also covered in the documentation above.
    Hope that helps,
    Brenton.

  • Hybrid Web Container support of HTML5 Drag and Drop

    Good Morning Experts!
    Testing HTML5 drag and drop capabilities on iOS devices and simulators
    it doesnt appear to work. Searching Sybase/SAP documentation and
    unable to find whether Drag and Drop is supported in the Hybrid Web
    Container.
    I did test a jQuery plugin for drag and drop and it tested successfully on a BlackBerry Simulator (but not on iOS):
    http://www.stevefenton.co.uk/Content/Jquery-Mobile-Drag-And-Drop/
    Does the Hybrid Web Container support HTML5 Drag and Drop
    capabilities?
    Is there available documentation on HTML5 support for the Hybrid Web
    Container?
    Thanks!

    Bob do you know which one is the source? The link goes to a whole directory
    http://appliness.com/code/
    Haeme Ulrich
    ulrich-media GmbH <http://www.ulrich-media.ch>
    Unser Wissen, Ihr Können: Schulungen für Publishing.

  • Sybase Unwired Platform - Error in creating a Blackberry Application

    Hi Experts,
    I am working in the development of Blackberry application using Sybase Unwired Platform and SAP as the backend data source. As a part of this I had created a Remote enabled function module in SAP which returns an internal table as the output. In the Sybase Unwired Workspace I  had created an MBO with this function module and created the User Interface using Device Application Designer. When I test this application in the simulator BlackBerry Storm2 9550, It is showing an error which says
    Encountered error while synchronizing package <package_name> and synchronization group "default", see logs for details : com.Sybase.persistence.SynchronizeException: com.Sybase.persistence.ProtocolException: deivce's protocol version is incompatible with the server's protocol version. (1>0)
    I am using Sybase Unwired Platform 1.5.5 for this development and BlackBerry Storm2 9550 as simulator.
    Can anybody help me to solve this issue?
    Thanks and regards,
    Rinzy Deena Mathews.

    Hi pradeep,
          Application is connected with SUP because i tried a simple application using sampleDB.
            But when i used to connect SAP to Application, that error generated.
            I created SAP Connection successfully but its still show that "Could not initialize class com.sap.mw.jco.JCO in Sybase Control Center's Domain's log page.
            I am not able to understand why that error generate because i connected successfully with SAP in Sybase Workspace.
            I think that is the problem of 64 & 32 bit files problem.
    I used windows 7 64 bit.
    Please reply me.
    Thanks & Regards,
    Tapan

  • Changing the Header in a Hybrid Web Container app on BlackBerry

    Hello Experts!
    I am trying to add a custom header to Hybrid Web Container Apps on SUP 2.0.  It would be nice to add branding or additional text - even the ability to center the text would be nice.  I have tried various jQuery approaches and can see the changes working when I test via Chrome.  However when deploying to my BlackBerry simulator the changes are not reflected.  If I had to guess - it would appear the entire Header area is not modifiable.  To add more context to the problem review the generated code below from workflow_jQueryMobileLookAndFeel.html
    <div data-role="page" data-theme='a' id="ErrorDetailScreenDiv">      
          <div data-role="header" data-position="inline">
           <h1>ErrorDetail</h1>
         </div>
    Recall that each screen is a div with the data-role attribute page; similarly the div with data-role header is the area in question that I am trying to modify.
    Here is the jQuery I am using in the customBeforeWorkflowLoad method in the Custom.js file.
    $('[data-role="header"]').each(function() {
              var dvHeader = $(this);     
              var elem = dvHeader.find('h1');
              var h1Str = elem.text();
              elem.empty();
              dvHeader.remove('h1');
                    //function buildHeader returns html text of a div etc
              var txt = buildHeader(h1Str);
              dvNewHeader = $(txt);
              dvHeader.append(dvNewHeader);     
    Again when testing in chrome the text is removed and the new header is added.
    If I had to guess - I would say the Workflow application which wraps around the Hybrid Web Container App is interfering;  I assume the workflow (native) application reads the h1 tags and the header we see on the device is the workflow app and not the Hybrid Web Container.  My other guess would be the Header area is somehow locked in the BlackBerry scenario.
    Thanks.
    Edited by: JUSTIN MCGREW on Sep 22, 2011 5:18 PM
    Edited by: JUSTIN MCGREW on Sep 22, 2011 5:21 PM
    Edited by: JUSTIN MCGREW on Sep 22, 2011 5:22 PM

    Hello,
    Yes I was aware of the customBeforeShowScreen method of adding a screen header.  I believe in my testing I determined for ListView-based screens and credential screens the dynamic header is not shown and only works on pages with an HTMLView.
    Doesnt it seem a little silly to have two headers?
    Example:
    Login Page
    Logo \ Login Page \ Custom Text
    Screen Body
    I will accept that there is not a method to replace the header at the very top of the screen.
    Thanks for your time and help!
    -Justin

  • Is 'Sybase Unwired Platform' supports Android?

    Hi Experts:
    I am learning android develop , the SUP support blackberry and iphone , i want to konw if the 'Sybase unwired platform' support android , if support can you tell me some books and i can learn it.
    Thank you very much.
    Satish.

    hi
    Currently sybase supports Windows mobile ,iPhone ,blackberry Platforms  but soon it will support android also
    as android is growing very fast SYBASE will soon launch platform for android also.
    sybase site has all the relevant information on this though currently not for android but
    there is lot to learn in sybase you can go through this link
    Hope it may help you
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.pubs.docset-SUP-1.5.5/doc/html/title.html
    regards
    suresh joshi

  • New to Sybase Unwired Platform

    Hi Friends,
    I am new to Sybase Unwired Platform. Can  suggest anybody, How to start SUP, how to learn SUP  and send any links, sample demos, Configuration of SUP etc...
    Thanks in Advance
    Regards
    Sathya

    Hi Sathya,
                    I think a good place to start would be here.
                   You can use this doc to get to know the basics. This is a little old but i would suggest this to any newcomer.
                   If you are using iOS then here would be a good place to start.
    Best Regards,
    Sujith

  • Sybase Unwired Platform - User Interface Validations

    Hi,
    Does the Sybase Unwired Platform have a mechanism that enables the developer to integrate User Interface Validations?
    Apple provides a standard way to validate user interfact items: http://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/UIValidation/UIValidation.pdf
    Is there an inherent mechanism that is a part of the Sybase Unwired platform that triggers client-side validations to prevent unncessary round-trips for simple validations that can be processed by the client itself?
    Regards,
    Namrata

    Hi,
    For simple validations there is an in-built option in SUP. We can assign rule validations to edit box, this is well explained in [Sybase Infocenter|http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01284.0152/doc/html/vhu1232730866978.html]. Or else we can also do some custom coding and achieve user interface validations. This is also well explained in the [tutorial for blackerry application development using Device Application Designer|http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01210.0152/doc/html/vhu1272906484682.html].
    Regards,
    Rahul Muraleedharan.

  • Hybrid Web Container: Overriding Generated Files

    Hey Experts.
    I am working with SUP 2.1 Mobile Workflow or Hybrid Web Container applications.  I was curious if anyone out there has been able to modify the template files for when a Mobile Worklfow is generated? 
    Specifically my use case is to display header and footer in Android and Blackberry.  These by default are not shown.  For example in the generated workflow_jQueryMobileLookAndFeel.html file string on line 1821 we have the following JavaScript:
                $('div[data-role="header"]').css('display', 'none');
                $('div[data-role="footer"]').css('display', 'none');
    I of course can undo this in the customBeforeShowScreen method but prefer modifying the template for generation of the html file as it is arguably 'cleaner'.
    There is an instance where an override wont work such as the above example.  I also want to show my headers without the default back button.  In the jquery.mobile-1.0a4.1.js file on line 1607 there is an option that enables the back button by default when there are no other buttons.  Again I want to show the header on the login screen but dont want to show a back button - its not relevant:
    $.widget( "mobile.page", $.mobile.widget, ,
              keepNative: null
    Any ideas?  Thanks.

    There are a few approaches you can take.  When using the designer, you can inject the changes via JavaScript, as you have noted.  You can also include the changes in files jquery.mobile.fix.js or jquery.mobile.fix.css that will get included after the jquery mobile files are included.  You can also include changes in files that don't get overridden like API.js or Utils.js.
    Another approach is to turn the Generate checkbox off.  Doing so will break the lnk between changes made in the designer and the generated code, but it will leave with a nice easy way to continue to repackage and redeploy your changes.
    Finally, you can stop using the designer altogether and manually create the .zip file and its contents.

  • [Sybase Unwired platform] newbie questions

    Hi,
    I am a newbie to SUP (and Mobile app development ). I did go through a lot of stuff related to SUP and even succeeded in installing the same and pinging the unwired server.
    My queries are as follows :
    I have a mobile application (already developed) which is currently talking to the backend ABAP servers. But now this application needs to talk to  SUP in between and then SUP should be bridged to Netweaver gateway.
    To go about achivening this,
    1. I understand that I need to call the right SUP APIs from  application .Can anyone help/redirect me to SUP APIs  that I need to know and where can i find the same?
    2. What needs to be done to bridge the SUP to the Netweaver gateway and inturn to backend servers?
    3. Would this need relay server configuring?
    4. WHat do I have to learn (as a pre-requisite) to integrate my mobile application with SUP ?
    your replies would help me learn more!

    You can go through this document at sybooks.online which focuses on many APIs which are very much necessary.
    [Developer Reference APIs|http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01217.0200/doc/pdf/sup_devref_iOS.pdf]
    The API list has been mentioned at the end of the document

Maybe you are looking for

  • Printing an ArrayList

    Hi there, I need a little bit of help to print some text. I am able to print out a simple line of text and it works fine, but I need to be able to print out the contents of an ArrayList. At the moment I have a Page() class that implements Prinatable.

  • Time Machine can't backup. Even not on new Backup Drive.

    Hi! I tried what was suggested to me in October last year (and which heleped then) https://discussions.apple.com/thread/4391097. I also trashed the Time Machine settings and recreated them. And now I also vhanged the backup drive. The result is alway

  • Af:commandNavigationItem takes more time to perform action on screen

    For my project there is a dynamic implementation of af:commandNavigationItem and the actions also will be binded during runtime. This code was working fine with the JDeveloper 11.1.1.0.2 (OWS 10.3.0) Version, but after migrating the code to JDevelope

  • Ical "authentication failed. your username and password were rejected by the server"

    i've a pretty busy server, fully configured with correct DNS. running 10.6.8, uptodate. i've stopped the ical service, and removed it from the server settings. then i created a folder on my RAID /volumes/raid/ical, set its ownership to _calendar:_cal

  • IM Exchange2...After setting up a new Enterprise Account I can't get it to sync?

    I'm working with an operator who had IM Exchange2 on his Ipod to sync Outlook tasks. Our company recently changed email servers so I deleted his old account and synced his new Outlook...no problems with email at all but now IM Exchange has stopped sy