Oracle ADF Mobile: Multiline text output

Hi,
I am implementing a user interface for an interpreter.
The output from the interpreter can be multiple lines.
I was trying to display the output with outputtext and inputtext in read only mode and with some different newline symbols (\n, \r\n, <br />).
I didn't get line breaks in my output components.
Has somebody a solution for me for this problem?
The component value is set from java code:
    public void execute(ActionEvent actionEvent) {
        ValueExpression veOut    = getStringValueExpression("#{applicationScope.output}");
        ValueExpression veErrOut = getStringValueExpression("#{applicationScope.erroroutput}");
        String code = getString(getStringValueExpression("#{applicationScope.input}" ));
        InterpreterThread interpreter = new InterpreterThread(code);
        interpreter.start();
        while( interpreter.isAlive() ) ;
        String output    = interpreter.getOutput();
        String erroutput = interpreter.getErrorOutput();
        setString(veOut,output);
        setString(veErrOut,erroutput);
    private static void setString( ValueExpression e, String s ) {
        e.setValue(context(), s);
    private static String getString( ValueExpression e ){
        return (String)e.getValue(context());
    private static ELContext context(){
        return AdfmfJavaUtilities.getAdfELContext();
Thank you for the responses and sorry for my bad english I spend two days searching for a solution and didn't succeed.

Duplicate of  Print multi line in outputText ADF Mobile ?

Similar Messages

  • How to reduce Oracle ADF Mobile deployed file

    Hi
    I'm creating simple demos with Oracle ADF Mobile and the deployed file is more than 50mb. Is there a way to reduce this size? Maybe remove some unused features llike SQLLite?

    My simple demo IPA files have been around 20MB with the default splashscreens and such, the only time it was bigger was when some files mistakenly got included. You could always load resources on-demand the first time over http and cache them in the app documents. This way you could only download the graphics for the current platform (so if it's a phone, you don't download iPad banners and graphics that your app needs)

  • Oracle ADF Mobile Client extension not found in JDeveloper 11.1..2.2?

    Hi. I was trying to install the extension for mobile development in ADF but unfortunately I could not find the extension.
    I went to Help -> Check for Updates -> Official Oracle Extensions and Updates. Yet i did not find the "Oracle ADF Mobile Client extension" there.
    I am running Jdeveloper 11.1.2.2.
    Is the Oracle ADF Mobile Client framework compatible for 11.1.2.2? Or is it no available anymore? Can someone please enlighten me? Thanks!

    Re: How to get the ADF Mobile Client extension

  • Quick answer needed----Does Oracle ADF Mobile support Canvas in HML5?

    I am interested in Oracle ADF Mobile and want to develop a native mobile product on ipad maybe other tablet devices with CAD functionality. But I can't find a way to create HTML5 with Canvas on it. I wonder if Oracle ADF Mobile can do it. If so, how?
    Thanks
    Ling
    Edited by: 973623 on Nov 28, 2012 8:51 AM

    Hi,
    ADF Mobile comes with a rich set of Data Visualization Components (charts/graphs/etc) that's based on HTML5 Canvas. You would not need to develop your own set of HTML5 components. This is applicable to the new on-device version of ADF Mobile. You would need to create an ADF Mobile app, and create your user interface using AMX components. The graphics component set is call DVT Mobile AMX.
    If you decide to create your own HTML5-based pages with HTML5 canvas-based graphics component, you can still host your own HTML5 page inside ADF Mobile. However, you would need to create your own HTML5 page.
    Thanks,
    Joe Huang

  • AdMob support in Oracle ADF mobile

    hi,
    i had posted this earlier but didn't get response at that time. so posting again.
    is there a way to integrate AdMob into Oracle ADF mobile application (on android)?
    regards,
    ad

    Hi,
    want to leave a final answer to someone from the mobile team but as it appears AdMob is native device code, which means it cannot be incorporated to ADF Mobile as it only supports JS, HTML 5, AMX and Java
    Frank

  • Difference between Oracle ADF Mobile and Oracle ADF Mobile Client.

    Hi Experts,
    I am new ADF Mobile app development. I found docs for Oracle ADF Mobile here as [http://docs.oracle.com/cd/E35521_01/doc.111230/e24475/toc.htm]. I was following it sequentially.
    But when i searched for achieving offline data , data synchronization and using database for Mobile apps, i got another docs link [http://docs.oracle.com/cd/E23549_01/doc.1111/e14826/toc.htm] which is for Oracle® Fusion Middleware ADF Mobile Client .
    So I got confused which one to prefer over the other..? Both support on device mobile apps.
    do they have any difference over other or data sync & db features are not available for Oracle ADF Mobile..? & available only for Oracle ADF Mobile Client..?
    It would be much helpful if someone could provide clear difference between these two technologies.
    Thanks,
    Praveen S K

    I made a topic and the 'same' question popuped up.
    ( ADF Mobile: Data synchronization )
    In Mobile Client iOS is not supported, in ADF Mobile it is. That's the main difference (in my opinion).

  • Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile

    Where can I find "Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile"?
    Thanks a lot for your time.

    Hi, this is referring to the JavaDocs for Java methods/classes supported by ADF Mobile. You can typically right (or ctrl) click on any ADF Mobile specific Java method and select "JavaDoc". You can open up a sample app that contains any Java class - for example the HR sample app, and find any method with name "adfmf*". You should be able to see the Java doc for the ADF Mobile related methods/classes.
    Thanks,
    Joe Huang

  • Prerequisites for oracle adf mobile

    Hi,
    I need to learn oracle adf mobile technology. I know little bit of java. Means I understand java syntax. I have absolutely no experience in web technologies like jsp,jsf etc.. even css I do not know.
    What should be the learning path for me before I actually start reading oracle adf mobile tutorial? I do not even know javascript. What are all the basic stuffs I should know before starting with adf mobile
    Thanks
    Vadiraj

    I'm not sure if your background is sufficient for developing any application. ADF requires you to have at least a good understanding of java. 'A little bit' might not be enough.
    Well, you'll find this out yourself pretty fast.
    the Oracle ADF Mobile homepage Oracle ADF Mobile has three links on the page showing a demo, an overview (which would be my starting point) and a link to the ADF Academy. This last link is designed to help users developing ADF Mobile applications.
    After watching the other videos you can start there. If you don't understand what is going on there you have to deepen your knowledge in this aera first.
    Timo

  • Oracle ADF Mobile Applications

    Dear Experts,
    Please tell me details of which mobile set is compatiable/suitable for Oracle ADF Mobile Applications. as I am working on Oracle ADF.
    I have to test some Oracle ADF Mobile Applications on mobile.
    Thanks in Advance.
    Shiv Naresh Gupta
    08795317510

    Excerpts from http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfmobilefaq-1866697.pdf
    Both iOS (5.x and above) and Android (2.3.x and above) devices are
    supported. Furthermore, both the tablet and smart phones running
    these mobile operating systems are supported.So basically any handset which supports this version of OS should do. Please check how to deploy etc. in the docs to get more idea.

  • Oracle ADF mobile using elocation mapviewer can not get the tiles

    Hi,guys
    Recently,I'm using oracle adf mobile to develop a application.
    I set a amx page as a Local html page in order to display a elocation map,in this html page, 
    I use the jslib:http://elocation.oracle.com/mapviewer/jslib/v2/oraclemapsv2.js
    the mapviewer:http://elocation.oracle.com/mapviewer
    It can display the elocation map in pc browser,and also in Android default browser
    But WHen deploy it to MOTOROLA touch device,the elocation map can not display,but it can get the jslib.
    Can anybody help me?
    Thank you!

    Hi,
    To display maps, have a look at the HR sample application that comes with the ADF Mobile extension. You will see how you can use the map viewer without using JS for it. There is a map viewer component for AMX pages. The demo is in PublicSamples.zip located in <JDeveloper11124 Home>/jdeveloper/jdev/extensions/oracle.adf.mobile/Samples . Because the sample application is a bit larger than dept/emp, have a look at the tablet AMX pages.
    Frank

  • How to Integrate Oracle Adf Mobile App and DMS?

    Hi All,
    I Have created adf mobile application.In which I am using synchronization feature as SQLite embedded.its working fine.
    But I need to implement DMS integration for sync.Can anyone please tel me how to integrated DMS with Oracle ADF mobile application.
    I Have done installation of DMS in windows7 even I installed agent in android simulator. I am facing problem how these integration will Happen.
    Regards
    Sankar

    Hi Shankar,
            Please send me an email directly and we can discuss this in more detail outside of the context of the forum.    Please send to [email protected]
    thanks
    mike

  • 研讨会- 通過Oracle ADF Mobile和IDM 创建和保护移动应用 (上海.成都)

    在本次研讨会中,我们将通过一个分步课程来演示如何使用 Oracle ADF Mobile 和 JDeveloper 创建移动应用,您只需具备 Java 和 Web 开发技能。您可以在 iOS 和 Android 移动平台上部署相同的应用。我们还将讨论如何将 Oracle 企业应用和融合中间件扩展到移动设备上,从而使客户能充分实现他们在Oracle 技术上的投资。我们还将简要介绍使用 Oracle Mobile Identity Management SDK 保护移动应用是如何简单,无论是浏览器还是基于本机的应用。
    上海: http://www.itcgb.com/MKTSVCApp/Oracle_ADF_Mobile/index.html
    成都: http://www.itcgb.com/MKTSVCApp/Oracle_ADF_Mobile_CD/index.html

  • Using oracle adf mobile

    It also comes with PhoneGap. which allows you to use any feature your phone offers, like sensors and camera. It's probably the most complete solution for mobile development out there, simply because with Oracle ADF Mobile, you can write Native, Hybrid or Web applications for your smartphone and tablet.
    Do you want to take a quick look on what can be done with it? Check out this video!
    Now, to start with Oracle ADF Mobile, here are the first steps you will have to go through.
    1.     Download Oracle JDeveloper
    Go to this link and download the install file for your environment (Windows, Linux-32bit or Generic)
    2.     Install JDeveloper (of course)
    If you need help on this, look at the documentation (if you've downloaded 11gR2, click here)
    3.     Download Oracle ADF Mobile Bundle
    This is the download page for Oracle ADF Mobile. Accept the license as usual at the top, and follow with the Download button. It will take you to another page, where you will see a table containing a download link. Click on it and it will start downloading a ZIP file.
    4.     Start JDeveloper
    Start Oracle JDev. It may self update. Restart the IDE if you are asked to.
    5.     Go to Help > Check for updates
    6.     Click Next and make sure you are at the "Source" tab
    7.     Select "Install From Local File"
    8.     Select the Oracle ADF Mobile ZIP you downloaded on step 3
    9.     Finish the process
    Now you have JDeveloper with Oracle ADF Mobile sucessfully installed!

    Hey,
    this is not a blog!
    Frank

  • Oracle ADF Mobile application is very slow in Android

    Hi
    I am new to oracle ADF.
    When I tried to deploy an application in an android device it takes a lot of time to deploy as well as every button click in the application takes more time to load. Is there any way to speed up the deployment process ?

    And this one as well
    ADF Mobile: Android performance is very slow - when will this be fixed?

  • ADF Mobile - insert data into oracle db from oracle adf mobile application

    Hi,
    I have to insert data from mobile into oracle database 11g(not in local sqlite database), can somebody tell me how to do it?
    Thanks,
    Anshul

    Hi, Anshul, one common way is to expose DB data as ADF BC, and then add a service interface on top of ADF BC. This would allow the ADF Mobile app to access server DB through ADF BC. There may be other mechanisms to access server-side DB - I think APEX also expose some REST interface to Oracle DB as well. Another option is to use TopLink - TopLink can also expose some REST services.
    Thanks,
    Joe Huang

Maybe you are looking for