Case of flow of control ADF Mobile followed of backing bean

Hello

I'm under JDeveloper 11.1.2.3.0.

In my ADF Mobile application, I need to follow a flow of control from a bean to support case. In ADF I would do something like the following, FacesContext does not exist in the ADF Mobile, so I'm not sure how to proceed.

private void onQueueC3ButtontAction() {}
FacesContext fctx = FacesContext.getCurrentInstance ();
UIViewRoot root = fctx.getViewRoot ();
RichCommandButton button =
Root.findComponent ("cb3") (RichCommandButton);
ActionEvent actionEvent = new ActionEvent (button);
actionEvent.queue ();
}

Press the button, I need to:

Execute the method of Service Web DC
If result == "SUCCESS".
PageFlowScope Set property
Follow the case of control flow
on the other
Display error

I can do everything above except follow the case of control flow. I am aware of the AdfmfContainerUtilities.gotoFeature (), but it is not suitable to my needs.

Thank you very much

Published by: user576183 on May 15, 2013 16:19

Hello

In ADF Mobile pro-grammatically navigate workflow in two ways:

1 Javascript: In the JavaScript file, you can call this method directly to navigate. Below 'result' is the name of the case of control flow.


adf.mf.api.amx.doNavigation("outcome");

2. Java:

//Code to naviagte within task flows programmatically
AdfmfContainerUtilities.invokeContainerJavaScriptFunction(AdfmfJavaUtilities.getFeatureName(), "adf.mf.api.amx.doNavigation", new Object[] { "outcome" });

Hopefully this article can help you - http://deepakcs.blogspot.sg/2013/04/sync-device-back-button-with-adf-mobile.html

-Deepak

Tags: Java

Similar Questions

  • ADF security - logout Prgrammatically back bean method

    Hello

    I use the ADF security.
    How programmatically (java) disconnection of a method to support bean? What should be the code?

    With the current logout go link (as mentioned in the help of Jdev) comes the following error and also the disconnection is not really conducted:
    403 - forbidden error
    RFC 2068 Hypertext Transfer Protocol--HTTP / 1.1:
    10.4.4 403 Forbidden
    The server understood the request, but refuses to fill. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been met, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not want to reveal exactly the reason why the request was refused, or when no other response is applicable.

    The disconnection should not be just a redirect. He put the authenticated fllag false so that even I go back to the previous page with the back button in the browser
    I only see the login page. Of Jdev if I close the browser, the session automatically closes but WebLogic deployed the application even if I close the browser after current disconnected, the session continues.



    Kind regards
    Sam

    Published by: Sat November 15, 2011 21:52

    Published by: Sat November 15, 2011 21:52

    Published by: Sat November 15, 2011 22:28

    Hello
    check

    http://download.Oracle.com/docs/CD/B32110_01/Web.1013/B28967/adding_security.htm#BGBFGIFA

  • No Extension for JDeveloper 11.1.1.4.0 ADF Mobile?

    Hello
    I have recently improved and jdev 11.1.1.3 to 11.1.1.4.0 when checking for extension, can't find one for the ADF Mobile Client extension.
    But the tutorial at: http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps3/adf_mobile_top/adf_mobile/jdtut_11r2_54_1.html, says that she is available.
    Can someone please clarify if it is available for the 11.1.1.4.0 and if so, how to get it?
    If this is not the case, how to build projects adf mobile using this version? Or should I roll back 11.1.1.3 if I want to create mobile client applications? And guess which also apply to the browser mobile apps?
    Kind regards
    Hemant

    Published by: HVT on March 2, 2011 02:55

    Hi, Hemant, both Android and iOS are both on the roadmap for ADF Mobile Client, with Android as the first target. iOS is much more difficult, and we take a multiphase approach to solve it.

    Windows Phone 7 is still under review - a direction of Nokia it give Windows Phone 7 a little more important now.

    There are currently no J2SE / provided for the "Windows" version - if there is strong demand for the approach on the laptop, please let us know. It seems that tablets (iPad, Android, BlackBerry PlayBook tablet, etc.) are taking more and more the mobile use case who traditionally filled by the laptop.

    We will also see if WebOS/Palm catches ever.

    Symbian is unlikely, given the Nokia seems to have indicated that it will with Windows Phone.

    It is also probable that we would target consumer/J2ME phones type at this point. It is not commonly used as enterprise mobile application devices, and also the trend seems to be that this smart phone will finally exceed the phones to consumers in terms of volume.

    Thank you

    Joe Huang

    Published by: Joe Huang on March 4, 2011 19:00

    Published by: Joe Huang on March 4, 2011 19:05

  • Dynamic model AMX in ADF Mobile

    Hi guys,.

    As seen in file AMX to design the user interface for ADF Mobile, but I just need to have a dynamic flow user interface
    for example. When choosing fall down in the page (A) and jump to the next page (b) with the value control to show some of < amx:inputText > in the page (b)

    How to make dynamic in amx?

    Hello

    have a bean managed in the Workflow page range. Bind the property made of components on the page to the same successful bean and have the bean by assigning the value of the field that is rendered true or false. That's how I'd do. A similar use case is here: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/m02-dynamicallyshowhidecomponents-1915399.pdf

    Frank

  • ADF Mobile: Can I add Badging to the features of Mobile?

    Nice day:

    I'll put up the Push Notifications.  Is this possible in ADF Mobile badge function icons?  Here is my goal.  When a Push Notification comes in the badge number is displayed on the icon of the application.  After that the user launches the app I want to display badges for each feature that requires attention.

    Use case: A Manager has the badge number 40 on the application icon.  When the application is launched, I want this number be broken down into service level badging.  For example: the Manager must answer the following questions: 15 claims, 5 applications for leave, 2 requests for home work, etc...

    I looked and didn't see any documentation.  I'm under JDK 7_55, JDev 11.1.2.4, XCode 5.0

    Thank you for your expert opinion on how to proceed,

    Tree Strepek

    Function icon badges is not supported, otherwise get listed in the documentation.

    http://www.Oracle.com/pls/as111240/search?remark=quick_search&Word=+badging&PartNo=

  • ADF Mobile | call web service from Java. non-reflecting values in the AMX page

    Hi all

    I am using JDEv11124 with ADF Mobile extensions39.62.64.

    My use case is as follows.

    1. my application has 2 Pages a. Login home b.

    2. in the user login Page between user name and click on the "submit" button.

    3. on the homepage I displayed the company they joined.

    4. in the "submit" button is clicked, action defined in the support bean method will be called.

    5. by supporting the action bean method, I'll call the method of the Web Service to validate the entered user name, if the entered user name is valid, that I have to post its company name in the home page.

    6. I am moving back from the web service of datacontrol in Home.amx page

    7. calling web services from Java as follows:

    GenericType = result

    (GenericType) AdfmfJavaUtilities.invokeDataControlMethod ("Comp", null, "getCompany",

    pNames, params,

    PTypes);

    System.out.println ("after the call to the service" + result.getAttributeCount ());

    8. in the Java class, I get the response correctly (as the company designating the username entered as 'SOCIETY'), where when I navigate to the home page, I don't see any results for the method return (name of the company that dropped like OutputText in Home.amx)

    Did I miss something for this. or something more that I need to do to make it work?

    Please suggest.

    Thank you

    Vieira

    Hi all

    I was able to achieve this by executing my method in bean support.

    This code is as follows:

    AdfELContext adfELContext = AdfmfJavaUtilities.getAdfELContext ();

    MethodExpression me =.

    () AdfmfJavaUtilities.getMethodExpression

    "#{bindings.retreiveLocationInformation.execute}".

    (, Object.class, Class [] {}) new;

    me. Invoke (adfELContext, new Object [] {});

    Thanks to Luc Bors WebLog Luc Bors Weblog: ADF Mobile: implementation of "Pull to refresh" model

    Kind regards

    Vieira

  • Access a secure web service of ADF Mobile Application

    Hello

    We try to create an ADF Mobile application that uses a secure web service located in Oracle EBS (with SOA Suite).

    We use JDeveloper 11 g 11.1.2.4.0

    Initially, create usd a Control(SOAP/REST) Gallery Web Service data and provided the WSDL document. We tried to run on a simulator, but not did not do anything. We have also found a way to provide the user name and password. So we left it there.

    Then we tried to create a Java desktop app to check if it was a problem with our server. In the desktop application, we created a "Web Service Client and Proxy" new gallery followed the steps and used oracle/wss_username_token_client_policy, added the code below to put the username and password and was able to call the service and retrieve data.

    (reqContext.put (BindingProvider.USERNAME_PROPERTY, "DBAKER");

    reqContext.put (BindingProvider.PASSWORD_PROPERTY, "xxxxx");

    So we thought to return to the application the ADF Mobile and creating a "Web Service Client and Proxy" it, but when we built this project, we had the ' annotations are not supported in - source 1.4 "&" generics are not supported in - source 1.4 "errors and found that ADF Mobile does not support beyond Java 1.4" "» (Is that right?)

    We then found the video "to access the secure Services of ADF Mobile Web" by Shay (https://www.youtube.com/watch?v=rk5om3o3Pas) and saw that he was using a login server.

    We wanted to confirm if you use a login server is the right path to access a secure web service of an Oracle ADF Mobile application?

    Are there other ways to do it?

    If we need to create a login server, can provide you links that will put us on the right track in establishing a connection server that can connect to the EBS?

    Thank you.

    The URL must point to a protected page that prompts the user for basic authentication.

    See an example here:

    https://blogs.Oracle.com/Shay/entry/accessing_secure_web_services_from

    As well as the blogs linked at the bottom of this entry.

  • ADF Mobile custom Login Page link to external resources (Twitter Widget)

    Hello

    I read that as much as possible on the ADF Mobile connection custom HTML pages, it is not well documented at this time. As I understand it, I can't reference a resource such as an image or a URL that is not in the public_html directory. I tried to add a Twitter Widget by using the Twitter API on my custom login page that displays the most recent tweet from one of my Twitter accounts. However, when I try and deploy my application as it the custom login page no longer works correctly (the Connect button, for example, becomes not clickable).

    Could someone confirm whether my interpretation above is correct? Is this a case of ADF Mobile prevents me from using an external resource through it is the audit rule: file not in public_html directory?

    In addition, anyone know if there is a way for me to reach my goal?

    Thanks a lot for your time and assistance.

    Ben

    "To allow the deployment, all resources referenced by the following attributes must be located in the public_html directory of the controller view or the controller of the implementation of the projects."

    "ADF Mobile does not support resources referenced from another location, which means that you cannot, for example, enter a value outside the directory public_html to help... / as a prefix.

    http://docs.Oracle.com/CD/E37975_01/doc.111240/e24475/define_features.htm#CIHDCCED

  • ADF Mobile: Want to reuse the moving components of the adf.

    Hi all

    I need to use an application mobile adf newly created in an existing App. I want to use data controls to the new application in my consuming application to create some pages that I tried to do by FAR of the draft view controller of the new application, adding the FAR to my former PPP as a library... I am referring to 4 definition of a Mobile Application (version 2.0.0.0.0).

    Ideally, I should get two options when adding library (FAR)-

    1 application library

    2 ViewController project.

    But I'm only option 1.


    Jdev version: 11.1.2.4

    ADF Mobile version: 11.1.2.4.39.64.71

    Is the problem with the jdev m using an older version of the MAF.

    You are looking at documentation, Oracle MAF but working with ADF Mobile.

    You must migrate ADF mobile at the CRG as soon as POSSIBLE, and then you will get the functionality you need.

    No reason to stay with the old Mobile ADF which is not supported any longer, migration to the MAF should be smooth.

  • Deployment on ADF Mobile (Android emulator) problem

    Nice day

    I use Jdeveloper 11.1.2.3.0

    I have a problem when deploying my app on the Android emulator. Here is the log:

    [13: 54:56] update Android profile dependencies with FAR profiles created from application projects...

    [13: 54:56]-deployment began.  ----

    [13: 54:56] the target platform's (Android).

    [13: 54:56] early deployment of ADF Mobile application 'FirstMobileApp' in Android using «TestProfile» profile

    [13: 54:56] check the State of the Android Debug Bridge server...

    [13: 54:56] Server Android Debug Bridge already running.

    [13:55] check a single Android emulator is online and connected to the ADB server...

    [13:55] early deployment of ADF Mobile application 'FirstMobileApp' in Android using «TestProfile» profile

    [13:55] analysis of the dependence running...

    [13:55] building...

    [13:55] deployment of 3 profiles...

    [13: 55:01] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ApplicationController\deploy\ApplicationController.jar

    [13: 55:01] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ViewController\deploy\ViewController.jar

    [13: 55:01] start preparing the package...

    [13: 55:07] check the Application Controller project exists...

    [13: 55:07] checking dependencies of applications...

    [13: 55:07] Validation of the application XML files...

    [13: 55:07] Validation of the XML files in the ApplicationController project...

    [13: 55:07] Validation of the XML files in the ViewController project...

    [13: 55:08] copy of FARs in the application of the Mobile ADF framework...

    [13: 55:08] far from the source of the copy: ViewController...

    [13: 55:08] copy by far the source: ApplicationController...

    [13: 55:08] copy of resource files java framework...

    [13: 55:24] copy of the common javascript files...

    [13: 55:38] deployment of counting files...

    [13: 55:38] copy of the application image files...

    [13: 55:38] copy of the ADF Mobile configuration files...

    [13: 55:38] .adf files...

    [13: 55:38] copy of file security related to the application of the Mobile ADF framework...

    [13: 55:38] Creation of preferences Android XML files...

    [13: 55:39] creating AndroidManifest.xml file...

    [13: 55:39] Creation of unsigned Android application file...

    [13: 55:50] compile the file of the Android resource identifier...

    [13: 55:52] create file classes.dex Android since the class files...

    [13: 55:54] run command line: ['C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat»,--dex,--keep-classes,--output="C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes.dex', C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\AND_ksoap.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\Container.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\IDMMobileSDK.jar] C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\logging_dalvik_release.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\phonegap.jar, C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\vmchannel_dalvik_release.jar]

    [13: 55:54] "" C:\Windows\system32\java.exe"" is not recognized as an internal or external, order

    [13: 55:54] operable program or batch file.

    [13: 55:54] command-line execution failed (return code: 1).

    [13: 55:54] run command line: 'C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat»--dex--keep-classes--output="C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes.dex' C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\classes C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\AND_ksoap.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\Container.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\IDMMobileSDK.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\logging_dalvik_release.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\ framework\build\ jar\phonegap.jar C:\JDeveloper\mywork\FirstMobileApp\deploy\TestProfile\framework\build\jar\vmchannel_dalvik_release.jar

    [13: 55:54] undeployment.

    [13: 55:54] - incomplete deployment.

    [13: 55:54] deployment failed due to one or more errors returned by "C:\Users\Nasir Amin\AppData\Local\Android\sdk1\platform-tools\dx.bat".  What follows is a summary of the returned error:

    Command-line execution failed (return code: 1).

    You have Java 1.6 installed SDK? If Yes, can you specify the environment variable JAVA_HOME for this?

    See you soon

    AJ

  • ADF mobile application deployment: the Android Dalvik (.dex) file does not exist. (oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)

    Nice day

    I use Jdeveloper 11.1.2.3.0

    I'm getting following error when deploying my first app on the android emulator, please help me solve this problem. The exception log is the:

    [10: 50:12] update Android profile dependencies with FAR profiles created from application projects...

    [10: 50:12]-deployment began.  ----

    [10: 50:12] the target platform's (Android).

    [10: 50:12] early deployment of ADF Mobile 'FirstMobileApp' to Android application using the profile "ANDROID_MOBILE_NATIVE_archive2."

    [10: 50:12] check the State of the Android Debug Bridge server...

    [10: 50:17] Server Android Debug Bridge started.

    [10: 50:17] check a single Android emulator is online and connected to the ADB server...

    [10: 50:17] early deployment of ADF Mobile 'FirstMobileApp' to Android application using the profile "ANDROID_MOBILE_NATIVE_archive2."

    [10: 50:17] analysis of the dependence running...

    [10: 50:17] building...

    [10: 50:17] deployment of 3 profiles...

    [10: 50:17] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ApplicationController\deploy\ApplicationController.jar

    [10: 50:18] wrote the Archives Module to C:\JDeveloper\mywork\FirstMobileApp\ViewController\deploy\ViewController.jar

    [10: 50:18] start preparing the package...

    [10: 50:18] check the Application Controller project exists...

    [10: 50:18] checking dependencies of applications...

    [10: 50:18] Validation of the application XML files...

    [10: 50:18] Validation of the XML files in the ApplicationController project...

    [10: 50:18] Validation of the XML files in the ViewController project...

    [10: 50:18] copy of FARs in the application of the Mobile ADF framework...

    [10: 50:18] far from the source of the copy: ViewController...

    [10: 50:18] copy by far the source: ApplicationController...

    [10: 50:18] copy of model Android...

    [10: 50:48] copy of the framework resource files...

    [10: 50:48] copy of resource files java framework...

    [10: 50:57] copy of the common javascript files...

    [10: 51:02] deployment of counting files...

    [10: 51:02] copy of the application image files...

    [10: 51:02] copy of the ADF Mobile configuration files...

    [10: 51:02] .adf files...

    [10: 51:03] copy of file security related to the application of the Mobile ADF framework...

    [10: 51:03] Creation of preferences Android XML files...

    [10: 51:03] creating AndroidManifest.xml file...

    [10: 51:03] Creation of unsigned Android application file...

    [10: 51:31] compile the file of the Android resource identifier...

    [10: 51:33] create file classes.dex Android since the class files...

    [10: 51:33] update of Android application file not signed with content file and .adf DEX...

    [10: 51:33] Server Android Debug bridge closure...

    [10: 51:33] undeployment.

    [10: 51:33] - incomplete deployment.

    [10: 51:33] the Android Dalvik (.dex) file does not exist. (oracle.adfmf.framework.dt.deploy.android.deployers.ApkDeployer)

    Hello

    I found the answer to this error, it's like actually had reinstalled Studio Android, whereby a new directory has been created with the software, called SDK as sdk1. And in my tools-> preferences, path of the plate-shape and tools platform was given as the sdk (old directory). Now, I've updated the path in the new directory as sdk1 and it works fine.

    Best regards,

    Julien

  • Oracle ADF Mobile - Android SDK problem

    Hello

    I use Jdev11.1.2.4.0 with ADF Mobile framework 11.1.2.4.39.64.71 EQUIPPED. While I'm deploying application in the Android emulator more precisely Android SDK Manager 22.2.1.

    I got an error like.

    CreateProcess error=2, The system cannot find the file specified in android "C:\Program Files\Android\platform-tools\aapt"":;
    
    

    of this error. I got to know, aapt is not in the path mentioned during execution.

    But see my configuration below. I loaded different directory.

    Location of the Android SDK:

    F:\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\sdk

    Location of the Android platform:

    F:\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\sdk\platforms\android-18.

    Little, I've observed, earlier we use ADF Mobile framework 11.1.2.3.xx.xx. Now, we are updated to 11.1.2.4.39.64.71. And,

    Also AVG Antivirus installed.

    I did a few months ago before deployment. I force get this error.

    My basic questions:

    1. how to solve this error. ?

    2. I loaded different directory. Why is he trying to extract from another directory. ?

    More clearly... / Platform-tools\aapt is available in drive f but it is looking for drive C Program Files...

    Help me understand...

    During this time. I have goggled out, I got a link from Jobinesh.

    Binary: Error during the deployment of the CRG app for android - cannot run the program "adt-bundle-windows-x86_64-20140321\sdk\tools\zi..."

    This link is not accurate. But it helps me understand, I need to move the files to the mentioned location. But it is not sensible for me in my case.

    Thank you

    Kaim.

    You must use Oracle MAF instead of Oracle ADF Mobile in the future.

    Google continues to change the location of the files in their installation of SDK - so change between versions of the API of the location of the files.

    Make sure that you use the API right supported by your Mobile ADF or the version of the MAF.

  • ADF Mobile: Error when accessing the app from the Android emulator

    I am trying to build a mobile app ADF with JDeveloper (11.1.2.4.0) and its extension ADF Mobile Framework (11.1.2.4.39.64.69). The version of the Android API is 23 and the SDK build tools and platform version 20.

    I built the app and the deployment of the android emulator has been a success, but when I try to access the application on the emulator, it throws an error indicating that the application has stopped working.

    When I check logcat he showed the exception stack trace below that throws an UnsupportedOperationException

    Any help would be really appreciated.

    I/ActivityManager( 1240): Start proc com.company.OracleMobile for activity com.company.OracleMobile/oracle.adfmf.Container: pid=1782 uid=10019 gids={50019, 1028, 1015, 3003}
    D/WearableConn( 1443): Connecting via TCP to /10.0.2.2:5601
    W/System.err( 1782): No properties file. Taking properties from ClassLoader resources
    D/dalvikvm( 1782): GC_CONCURRENT freed 152K, 12% free 2199K/2476K, paused 9ms+9ms, total 50ms
    D/dalvikvm( 1782): GC_CONCURRENT freed 119K, 10% free 2491K/2740K, paused 13ms+10ms, total 44ms
    W/System.err( 1782): Opening "logging.properties" also failed
    W/System.err( 1782): java.io.IOException: BufferedInputStream is closed
    D/dalvikvm( 1782): GC_FOR_ALLOC freed 168K, 12% free 2542K/2884K, paused 14ms, total 15ms
    I/dalvikvm-heap( 1782): Grow heap (frag case) to 4.062MB for 1536012-byte allocation
    D/dalvikvm( 1782): GC_CONCURRENT freed <1K, 8% free 4041K/4388K, paused 9ms+1ms, total 32ms
    E/WebViewFactory( 1782): Chromium WebView does not exist
    E/WebViewFactory( 1782): Chromium WebView does not exist
    D/gralloc_goldfish( 1782): Emulator without GPU emulation detected.
    I/ActivityManager( 1240): Displayed com.company.OracleMobile/oracle.adfmf.Container: +1s55ms
    I/Choreographer( 1240): Skipped 33 frames!  The application may be doing too much work on its main thread.
    D/dalvikvm( 1782): GC_CONCURRENT freed 189K, 7% free 4453K/4768K, paused 17ms+17ms, total 90ms
    I/Choreographer( 1240): Skipped 96 frames!  The application may be doing too much work on its main thread.
    I/Choreographer( 1240): Skipped 122 frames!  The application may be doing too much work on its main thread.
    I/Choreographer( 1240): Skipped 202 frames!  The application may be doing too much work on its main thread.
    D/dalvikvm( 1782): GC_FOR_ALLOC freed 376K, 10% free 4746K/5268K, paused 15ms, total 16ms
    D/dalvikvm( 1782): GC_FOR_ALLOC freed 495K, 14% free 4944K/5724K, paused 14ms, total 15ms
    D/dalvikvm( 1782): GC_CONCURRENT freed 507K, 11% free 5335K/5964K, paused 16ms+16ms, total 58ms
    D/dalvikvm( 1782): GC_CONCURRENT freed 287K, 7% free 6075K/6484K, paused 18ms+11ms, total 61ms
    D/dalvikvm( 1782): GC_CONCURRENT freed 596K, 10% free 6755K/7472K, paused 17ms+9ms, total 61ms
    W/dalvikvm( 1782): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/oracle/cvm/channel/VM;
    W/System.err( 1782): java.lang.reflect.InvocationTargetException
    W/System.err( 1782):  at java.lang.reflect.Constructor.constructNative(Native Method)
    W/System.err( 1782):  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    W/System.err( 1782):  at oracle.adfmf.framework.FeatureContextManagerFactory.createFeatureContextManager(FeatureContextManagerFactory.java:37)
    W/System.err( 1782):  at oracle.adfmf.framework.FeatureContextManagerFactory.getInstance(FeatureContextManagerFactory.java:72)
    W/System.err( 1782):  at oracle.adfmf.Application.initializeFeatureContextManager(Application.java:328)
    W/System.err( 1782):  at oracle.adfmf.Application.initApplication(Application.java:298)
    W/System.err( 1782):  at oracle.adfmf.Container$LayoutLoader.resumeApplicationLoad(Container.java:865)
    W/System.err( 1782):  at oracle.adfmf.Container$LayoutLoader.run(Container.java:786)
    W/System.err( 1782):  at android.os.Handler.handleCallback(Handler.java:733)
    W/System.err( 1782):  at android.os.Handler.dispatchMessage(Handler.java:95)
    W/System.err( 1782):  at android.os.Looper.loop(Looper.java:136)
    W/System.err( 1782):  at android.app.ActivityThread.main(ActivityThread.java:5026)
    W/System.err( 1782):  at java.lang.reflect.Method.invokeNative(Native Method)
    W/System.err( 1782):  at java.lang.reflect.Method.invoke(Method.java:515)
    W/System.err( 1782):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
    W/System.err( 1782):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
    W/System.err( 1782):  at dalvik.system.NativeStart.main(Native Method)
    W/System.err( 1782): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load cvm from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.company.OracleMobile-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.company.OracleMobile-1, /system/lib]]]: findLibrary returned null
    W/System.err( 1782):  at java.lang.Runtime.loadLibrary(Runtime.java:358)
    W/System.err( 1782):  at java.lang.System.loadLibrary(System.java:588)
    W/System.err( 1782):  at com.oracle.cvm.channel.VM.<clinit>(Unknown Source)
    W/System.err( 1782):  at oracle.adfmf.JavaStarter.startJVMWithFeatureClasspaths(JavaStarter.java:351)
    W/System.err( 1782):  at oracle.adfmf.JavaStarter.startJava(JavaStarter.java:65)
    W/System.err( 1782):  at oracle.adfmf.framework.NativeFeatureContextManager.<init>(NativeFeatureContextManager.java:113)
    W/System.err( 1782):  ... 17 more
    D/dalvikvm( 1782): GC_CONCURRENT freed 1574K, 21% free 6714K/8416K, paused 15ms+18ms, total 81ms
    W/ActivityManager( 1240): Bad activity token: android.os.BinderProxy@b22d6f30
    W/ActivityManager( 1240): java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
    W/ActivityManager( 1240):  at com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:338)
    W/ActivityManager( 1240):  at com.android.server.am.ActivityRecord.isInStackLocked(ActivityRecord.java:1031)
    W/ActivityManager( 1240):  at com.android.server.am.ActivityRecord.getStackLocked(ActivityRecord.java:1039)
    W/ActivityManager( 1240):  at com.android.server.am.ActivityManagerService.getEnclosingActivityContainer(ActivityManagerService.java:7101)
    W/ActivityManager( 1240):  at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:2026)
    W/ActivityManager( 1240):  at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2023)
    W/ActivityManager( 1240):  at android.os.Binder.execTransact(Binder.java:404)
    W/ActivityManager( 1240):  at dalvik.system.NativeStart.run(Native Method)
    W/ActivityManager( 1240): Bad activity token: android.os.BinderProxy@b22f2490
    W/ActivityManager( 1240): java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token
    W/ActivityManager( 1240):  at com.android.server.am.ActivityRecord.forToken(ActivityRecord.java:338)
    W/ActivityManager( 1240):  at com.android.server.am.ActivityRecord.isInStackLocked(ActivityRecord.java:1031)
    W/ActivityManager( 1240):  at com.android.server.am.ActivityRecord.getStackLocked(ActivityRecord.java:1039)
    W/ActivityManager( 1240):  at com.android.server.am.ActivityManagerService.getEnclosingActivityContainer(ActivityManagerService.java:7101)
    W/ActivityManager( 1240):  at android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:2026)
    W/ActivityManager( 1240):  at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2023)
    W/ActivityManager( 1240):  at android.os.Binder.execTransact(Binder.java:404)
    W/ActivityManager( 1240):  at dalvik.system.NativeStart.run(Native Method)
    D/AndroidRuntime( 1782): Shutting down VM
    W/dalvikvm( 1782): threadid=1: thread exiting with uncaught exception (group=0xb1d31ce8)
    E/AndroidRuntime( 1782): FATAL EXCEPTION: main
    E/AndroidRuntime( 1782): Process: com.company.OracleMobile, PID: 1782
    E/AndroidRuntime( 1782): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.company.OracleMobile/oracle.adfmf.LocalHTMLActivity}: java.lang.UnsupportedOperationException
    E/AndroidRuntime( 1782):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2197)
    E/AndroidRuntime( 1782):  at android.app.ActivityThread.startActivityNow(ActivityThread.java:2037)
    E/AndroidRuntime( 1782):  at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:135)
    E/AndroidRuntime( 1782):  at android.app.LocalActivityManager.startActivity(LocalActivityManager.java:347)
    E/AndroidRuntime( 1782):  at oracle.adfmf.Container.activateHiddenBackgroundFeature(Container.java:2128)
    E/AndroidRuntime( 1782):  at oracle.adfmf.Container.activateAdfApplication(Container.java:1277)
    E/AndroidRuntime( 1782):  at oracle.adfmf.Container.activateAdfApplication(Container.java:1263)
    E/AndroidRuntime( 1782):  at oracle.adfmf.Container$LayoutLoader.resumeApplicationLoad(Container.java:867)
    E/AndroidRuntime( 1782):  at oracle.adfmf.Container$LayoutLoader.run(Container.java:786)
    E/AndroidRuntime( 1782):  at android.os.Handler.handleCallback(Handler.java:733)
    E/AndroidRuntime( 1782):  at android.os.Handler.dispatchMessage(Handler.java:95)
    E/AndroidRuntime( 1782):  at android.os.Looper.loop(Looper.java:136)
    E/AndroidRuntime( 1782):  at android.app.ActivityThread.main(ActivityThread.java:5026)
    E/AndroidRuntime( 1782):  at java.lang.reflect.Method.invokeNative(Native Method)
    E/AndroidRuntime( 1782):  at java.lang.reflect.Method.invoke(Method.java:515)
    E/AndroidRuntime( 1782):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
    E/AndroidRuntime( 1782):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
    E/AndroidRuntime( 1782):  at dalvik.system.NativeStart.main(Native Method)
    E/AndroidRuntime( 1782): Caused by: java.lang.UnsupportedOperationException
    E/AndroidRuntime( 1782):  at com.android.webview.nullwebview.NullWebViewFactoryProvider.createWebView(NullWebViewFactoryProvider.java:41)
    E/AndroidRuntime( 1782):  at android.webkit.WebView.ensureProviderCreated(WebView.java:2058)
    E/AndroidRuntime( 1782):  at android.webkit.WebView.setOverScrollMode(WebView.java:2116)
    E/AndroidRuntime( 1782):  at android.view.View.<init>(View.java:3461)
    E/AndroidRuntime( 1782):  at android.view.View.<init>(View.java:3517)
    E/AndroidRuntime( 1782):  at android.view.ViewGroup.<init>(ViewGroup.java:470)
    E/AndroidRuntime( 1782):  at android.widget.AbsoluteLayout.<init>(AbsoluteLayout.java:52)
    E/AndroidRuntime( 1782):  at android.webkit.WebView.<init>(WebView.java:498)
    E/AndroidRuntime( 1782):  at android.webkit.WebView.<init>(WebView.java:475)
    E/AndroidRuntime( 1782):  at android.webkit.WebView.<init>(WebView.java:455)
    E/AndroidRuntime( 1782):  at android.webkit.WebView.<init>(WebView.java:444)
    E/AndroidRuntime( 1782):  at android.webkit.WebView.<init>(WebView.java:434)
    E/AndroidRuntime( 1782):  at org.apache.cordova.CordovaWebView.<init>(CordovaWebView.java:118)
    E/AndroidRuntime( 1782):  at oracle.adfmf.phonegap.PhoneGapAdapterWebView.<init>(PhoneGapAdapterWebView.java:30)
    E/AndroidRuntime( 1782):  at oracle.adfmf.phonegap.AdfPhoneGapActivity.createWebView(AdfPhoneGapActivity.java:523)
    E/AndroidRuntime( 1782):  at oracle.adfmf.phonegap.AdfPhoneGapActivity.init(AdfPhoneGapActivity.java:506)
    E/AndroidRuntime( 1782):  at oracle.adfmf.phonegap.AdfPhoneGapActivity.onCreate(AdfPhoneGapActivity.java:442)
    E/AndroidRuntime( 1782):  at android.app.Activity.performCreate(Activity.java:5242)
    E/AndroidRuntime( 1782):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    E/AndroidRuntime( 1782):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2161)
    E/AndroidRuntime( 1782):  ... 17 more
    W/ActivityManager( 1240):   Force finishing activity com.company.OracleMobile/oracle.adfmf.Container
    D/gralloc (  926): Registering a buffer in the process that created it. This may cause memory ordering problems.
    E/libEGL  (  926): called unimplemented OpenGL ES API
    E/libEGL  (  926): called unimplemented OpenGL ES API
    E/libEGL  (  926): called unimplemented OpenGL ES API
    E/libEGL  (  926): called unimplemented OpenGL ES API
    E/SurfaceFlinger(  926): glCheckFramebufferStatusOES error -286649159
    E/SurfaceFlinger(  926): got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
    E/libEGL  (  926): called unimplemented OpenGL ES API
    E/libEGL  (  926): called unimplemented OpenGL ES API
    W/WindowManager( 1240): Screenshot failure taking screenshot for (164x246) to layer 21005
    I/Choreographer( 1240): Skipped 30 frames!  The application may be doing too much work on its main thread.
    W/ActivityManager( 1240): Activity pause timeout for ActivityRecord{b25294d8 u0 com.company.OracleMobile/oracle.adfmf.Container t7 f}
    I/Choreographer( 1240): Skipped 386 frames!  The application may be doing too much work on its main thread.
    I/Choreographer( 1240): Skipped 418 frames!  The application may be doing too much work on its main thread.
    I/Choreographer( 1240): Skipped 442 frames!  The application may be doing too much work on its main thread.
    D/rpctransport( 1443): sendRpc: failed: 46
    

    Hi SayantanSinha,

    If you look under API supported levels, the maximum is 19 API.  I can't speak for the ADF 11.1.2 but the lines of code in the (more recent) MAF, who have a similar support matrix, we have noted problems with the API 20.

    You can download older versions of the API of the Manager of Android SDK tool.  Remember to update your EPCO or JDev SDK configuration with the version that you want to use once it is installed.

    Oracle JDeveloper 11g Release 2 (11.1.2) Certification

  • ADF Mobile: Specified connection URL is not accessible.

    Good afternoon

    I have studied this error and you know it is recommended to adjust the PROXY settings.  However, I have no proxy in place.  Here's how I got here where I am:

    Last week I upgraded my MAC (OS x 10.9) JDK 1.7_55 and JDev 11.1.2.4.39.64.36.1. I use now a mistake at some point in the development process that makes no sense - in the initial phase.

    I tested my URL on Safari, Chrome & the customer REMAINS.  It works as expected.  So there is nothing wrong with the side server.


    Surprisingly, when I plug the URL in JDeveloper under the adfmf - application.xml-> Security-> authenticate & access control I get the error "specified Login URL is not accessible.


    My colleagues can do the same thing with a response of 'Success'


    I am able to deduce that I have a problem of JDeveloper.  Please provide some instructions on how to solve this problem.

    -Thanks ~ Theresa 'Tree' Strepek

    See similar position.

    ADF mobile url connection

  • ADF Mobile: Create contact

    I am trying to add the functionality of contact to create my mobile app and followed the instructions here - http://www.youtube.com/watch?v=kpkJDeRH2ys

    I created a bean managed and added the following code:

    {} public void newPhoneContact (ActionEvent actionEvent)

    DeviceManager device = DeviceManagerFactory.getDeviceManager ();

    Contact = new Contact();

    ContactName, contactName = new ContactName();

    contactName.setFamilyName ("Doe");

    contactName.setGivenName("John");

    contact.setName (contactName);

    ContactField phoneNo = new ContactField();

    phoneNo.setType ("mobile");

    phoneNo.setValue("815-000-0000");

    ContactField [] phoneNos = new ContactField [] {phoneNo};

    contact.setPhoneNumbers (phoneNos);

    Contact newContact = device.createContact (contact);

    }

    When I run the application, nothing happens, and there is no error message in the logs. Page AMX code is:

    "< amx:commandButton id ="cb6' icon="/images/add_contact.png '.

    actionListener="#{viewScope.newContact.newPhoneContact}"/ >

    I don't know if I'm missing something here.

    Any help is appreciated.

    Thank you

    I checked this with success in JDev ADF Mobile 11.1.2.4.39.64.64 against XCode 5.0.2 & iOS Simulator 7.0 11.1.2.4.0 and separately 4.2.2 Android API level 17.  It works on both platforms.

    Please indicate which versions of platforms and software that you use, you deploy too.  More information the better.  It is also important on iOS when first invited to allow the application to access the contacts on the unit you click Yes.

    CM.

Maybe you are looking for

  • Restore iphone error message (-39) _

    Try to restore my iPhone 5 because of password forgotten and not registered with both icould or iTunes, apple has proposed to restore through iTunes, what I've done but get this error message (-39) _, can anyone help?

  • 138 GB of movies 'about this Mac' show, but virtually no show of movies in "Finder."

    My "about this Mac" shows Go 138 picked up by movies, yet when I search films in the Finder, there is only a handful, would explain only a fraction of the 138 GB.  I checked the iTunes account and could not find any large storage either. I run OS X v

  • Toshiba Store E TV 3.5 "500 GB PA4208E-1HE0 - no visible files

    I have an external USB HARD drive MODEL: PA4208E-1HE0 Toshiba Store E TV 3.5 "500 GB Multi Media Player and I can not see my files to.Is it possible that I can use to get back them? When I view the drive in 'my computer' it shows that there is data,

  • Cannot install Windows updates (error 0x800706BE)

    original title: when I install updates it produces the message: some updates could not be installed: update for windows xp (KB2570791).  How is it?  What should I do now? Then jeutiliser windows XP Home Edition and was now aboe to have the software a

  • Group of circuits with MGCP

    Hello community, We have added new PRI to our single PRI. PRI is controlled by a CUCM via MGCP 7.1.5, we use money 3925 15.0 (1r) M16 for the gateway. Now we're configuration SRST/mgcp relief... I wonder if I can assign the caught a group of circuits