ADF Mobile EL substring

Hello!

I shows this method (https://blogs.oracle.com/adf/entry/string_manipulation_functions_inside_el) that you import jstl functions and use the fn:substring, fn:length, etc.

but I am applying it in an AMX:PAGE, but it does not work there at - it a way to apply the substring, indexOf to EL in adf mobile?

line 48 shows: I tried #{fn:substring(row.url,0,5)} I need and I get 'number invalid EL incorrect Expression of the operands'}

<?xml version="1.0" encoding="UTF-8" ?>
<amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
          xmlns:fn="http://java.sun.com/jsp/jstl/functions"  
          xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
          xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt">
    <amx:panelPage id="pp1">
        <amx:facet name="header">
            <amx:outputText value="Bienvenido #{pageFlowScope.usuario.nombres}" id="ot1"/>
        </amx:facet>
        <amx:facet name="primary">
            <amx:commandButton id="cb1" actionListener="#{viewScope.bLogin.salirAplicacion}"
                               icon="/resources/img/out.png" iconPosition="trailing"/>
        </amx:facet>
        <amx:facet name="secondary">
            <amx:commandButton id="cb2" action="GO_LOGIN" icon="/resources/img/lock.png" iconPosition="trailing"/>
        </amx:facet>
        <amx:outputText value="#{deviceScope.device.name}" id="ot4"/>
        <amx:outputText value="#{deviceScope.device.platform}" id="ot5"/>
        <amx:outputText value="#{deviceScope.device.version}" id="ot6"/>
        <amx:outputText value="#{deviceScope.device.os}" id="ot7"/>
        <amx:outputText value="#{deviceScope.device.model}" id="ot8"/>
        <amx:outputText value="#{deviceScope.hardware.networkStatus}" id="ot9"/>
        <amx:outputText value="#{deviceScope.hardware.screen.width}" id="ot10"/>
        <amx:outputText value="#{deviceScope.hardware.screen.height}" id="ot11"/>
        <amx:outputText value="#{deviceScope.hardware.screen.availableWidth}" id="ot12"/>
        <amx:outputText value="#{deviceScope.hardware.screen.availableHeight}" id="ot13"/>
        <amx:tableLayout id="tl1" shortDesc="features-table" inlineStyle="width:100%;">
            <amx:rowLayout id="rl1">
                <amx:cellFormat id="cf1" shortDesc="features-column" inlineStyle="width:100%;">
                    <amx:panelGroupLayout id="pgl1" layout="wrap">
                            <amx:iterator var="row" value="#{bindings.Return.collectionModel}" id="i1">
                            <amx:panelGroupLayout id="plam2" inlineStyle="width:33%;display:inline-block;"
                                                  halign="center" valign="middle">
                                <amx:tableLayout id="tl2">
                                    <amx:rowLayout id="rl2">
                                        <amx:cellFormat id="cf2" halign="center" valign="middle">
                                            <amx:commandLink id="cl1" >
                                                <amx:image id="i2" source="data:image/jpg;base64,#{pageFlowScope.usuario.img}"
                                                           inlineStyle="width:40px;height:40px"/>
                                               <!-- <amx:setPropertyListener from="#{row.id}" 
                                                                         to="#{pageFlowScope.FeatureId}" type="action"/>-->
                                            </amx:commandLink>
                                        </amx:cellFormat>
                                    </amx:rowLayout>
                                    <amx:rowLayout id="rl3">
                                        <amx:cellFormat id="cf3" halign="center" valign="middle">
                                            <amx:commandLink id="cl2">
                                                <amx:outputText value="#{fn:substring('hi how are you?',0,5)}" id="ot2"/>
                                              <!--   <amx:setPropertyListener from="#{row.id}"
                                                                         to="#{pageFlowScope.FeatureId}" type="action"/>-->
                                            </amx:commandLink>
                                        </amx:cellFormat>
                                    </amx:rowLayout>
                                </amx:tableLayout>
                                <amx:spacer id="s2" height="25"/>
                            </amx:panelGroupLayout>
                        </amx:iterator>
                    </amx:panelGroupLayout>
                </amx:cellFormat>
            </amx:rowLayout>
        </amx:tableLayout>
        
    </amx:panelPage>
</amx:view>

AMX pages aren't JSF you cannot use just other JSF/JSP features in them.

A better approach would probably be to manipulating strings in a bean of support and have card field to this value of bean.

Tags: Java

Similar Questions

  • 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 Browser

    Hi all

    I use JDeveloper 11.1.2.3.0, I created browser mobile ADF application similar to an application developed by Mr. Andrejus Baranovskis in his bolg Andrejus Baranovskis Blog: iPhone Web App Development with ADF Mobile Browser with all respect and regards the Mr. Andrejus Baranovskis.

    All things is OK when I run the application in the Test Center MobiOne - iphone ios 6.0.

    But when I run the iPhone application 6. iPhone shrinks the pages until they are too small to read.

    Are it the special parameters I need to be aware of?

    Kind regards


    I think so, but see for yourself Oracle Mobile Platform | Mobile applications | Oracle

    Timo

  • Support of ADF Mobile

    ADF Mobile will support Xcode 6 / 8 IOS SDK?

    According to the requirements of Apple https://developer.apple.com/news/?id=12172014b new submitted applications must be built with iOS SDK 8.

    What should I do now if I Don t update to the MAF?

    Thank you.

    As a thread that you can get a special "embedded" or "limited use" licenses for Oracle technology you are using (for example, MAF).

    This will make it much cheaper for your solution based on Oracle technology.

    Please ask your account manager for these options.

  • 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

  • CRG vs ADF Mobile

    Hi all

    Is there a difference between ADF Mobile (11.1.2.4.0) and MAF (12.1.3).

    Please specify.

    In addition, please share dev guide and other documents pertaining to the MAF?

    Kind regards

    Deepak

    Not really MAF is the extension of the ADF Mobile with added features.

    Find more details on my blog here - Rocket Science: what is Oracle Mobile Application Framework (MAF)?

    Find the documentation here - Oracle Mobile Application Framework

  • ADF Mobile - Table attached views

    How to pass the new AMX view table as FK PK.

    Don't know how to do in this regard.

    Should we indicate a child view display criteria with Bind Variable from parent PK Table. If so, how.    (e.g. WHERE parent.pk = child.fk)

    Don't want to have a form of parameter, just taking the PK of the parent used as FK to child, like a Mobile view.

    User,

    Always mention your JDev version. Check out this blog: Andrejus Baranovskis Blog: Service Web master / detail ADF BC for ADF Mobile

    Arun-

  • 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: 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.

  • ADF Mobile: Gray background for default springboard

    Use case: users should see a slight contrast between the sliding platform and active functionality located below.

    I am aware of the skin mobilAlta & default css files ADF Mobile uses.  In addition, I created a custom.css & added the extra skin in adfmf_skins.xml (code below).  My research told me that this feature is available for most of the components of the ADF.  Specifically, I can create some custom CSS and assign CSS styles using components of the ADF 'style =' syntax. 


    It remains that I am not able to change the background color of my springboard.   I want the springboard to have light gray contrast as he slips that 170 pixels & screen feature active behind it is white.  Appears white on white.  The UX is not aesthetic.

    Can someone tell me a solution please?  I must be missing something simple.

    Here's what I've done

    in AMX. CSS I changed the springboard by default CSS

    / * - < platform >-* /.

    {.adfmf-panelPage-springboard

    background-color: #c2c7c8;

    }

    in amx-mobileAlta - 1.1.css , I modified the springboard by default CSS

    / * - < platform >-* /.

    {.adfmf-panelPage-springboard

    background-color: #c2c7c8;

    }

    inside the adfmf_skins.xml , I added a skin.

    < skin-added id = "s1" >

    <>skin-id myAST-Mobile < / skin-id >

    < name-sheet-style >custom.css < / name of style sheet >

    < / skin-add >

    in my custom.css

    {.adfmf-springboard

    background-color: #c2c7c8;

    }

    It seems that Oracle has taken my advice and the MAF springboard offers a bit of contrast.  Problem solved at the CRG.

  • ADF Mobile: PUSH any notification.

    Would you please provide sources for Notifications of type PUSH on ADF Mobile?

    Oracle has build several PUSH Notification API for MAF release & added a section in the MAF - applications.xml to indicate the PUSH will be used.  I intend to use these tools of framework in the future.

Maybe you are looking for

  • HP Compaq nx6110 divers

    Hi all I need the drivers for the laptop next. I installed Windows 7-32 bit HP Compaq nx6110 notebook (approx. model 2006-2007). Could move you the link for me pls. Kind regards Hilton

  • Windows xp wireless connection problem

    I have a wireesss router and other devices such as ipod paystation are connected on it, but it doesn't and connect my laptop, it wasy "the settings saved on this computer for the network do not match the requirements of the network" I need hep on how

  • you try to reset the password for windows live messenger

    When I try to sign in with my password an error is reported 800488fe

  • Windows security problem

    I started having a problem in email, no mater what browser, access a site I frequent. When I click on the link to access the site, a Windows Security window will appear asking you to my login information. I get the info and the popup just keep reappe

  • Search for drop-down Hotspots

    HelloIs there a way to drop-down hotspots? When I started my project, I used drop-down hotspots and realized that this configuration was not well run. I converted most of them, but I would look for the entire project to ensure that I found and conver