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.

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

  • 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: 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 | to deploy an application in release mode

    Hello

    I use Jdev 11.1.2.4.0.

    This im unable to see the password key in mobile tab of ADF platform, although it can I deploy an application in release mode. »

    I m getting an error

    -The deployment began.  ----

    [16: 50:24] the target platform's (Android).

    [16: 50:24] early deployment of ADF Mobile 'JavaScriptDemo' to Android application using the profile "JavaScriptDeployment."

    [16: 50:24] undeployment.

    [16: 50:24] - incomplete deployment.

    [16: 50:24] the following configuration of Android preference is invalid or missing. Set these options in the preferences of JDeveloper on the Panel of the ADF Mobile:

    Key to past

    (oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)

    Kind regards

    Sainaba

    See the deployment section of this tutorial - Oracle JDeveloper 11 g Release 2 tutorials - creating apps with Oracle ADF Mobile

    You may need to expand the dialog box if the field is hidden. should look like - t0105rls4.gif

  • 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 | using secure web services


    Hi all

    I'm pretty new to ADF Mobile, I use JDev 11.1.2.4.

    In my Mobile application I want to use the secure web service.

    Here's what I do:

    1. creation of a data control based on the WSDL binding.

    2. get the web service methods in the data control.

    3. during the race, I'm getting that error "oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client from server SOAP fault: Missing < wsse: Security > in the SOAP header.

    When trying to run the WSDL binding in SOAP UI, I need set request username and passwordproperties, then only I will be able to invoke this web service.

    Here, my question is where can I set these properties for the data control to the web service ?

    Please suggest.

    Thank you

    Vieu

    Hi Shay,

    Thank you very much for the reply, I'm able to resolve the problem with the approach mentioned user guide.

    I forgot to set it up for the first time: ADF Mobile allows you to specify a custom provider class in your DataControls.dcx file. This custom class extends oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider . You can use it to specify an implementation of the SoapHeader[] getAdditionalSoapHeaders() method

    Example 9-1 shows how to extend the SOAPProvider and create a custom header has shown in example 9-2

    package provider.ebs.soap;

    Import oracle.adfinternal.model.adapter.webservice.provider.soap.SOAPProvider;

    Import oracle.adfinternal.model.adapter.webservice.provider.soap.SoapHeader;

    SerializableAttribute public class EBSSOAPProvider extends SOAPProvider {}

    SoapHeader public getAdditionalSoapHeaders() {}]

    SoapHeader header [] = SoapHeader News [2];

    SoapHeader token = null;

    SoapHeader user = null;

    SoapHeader pass = null;

    header [0] = new SoapHeader ("http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/",

    "SOAHeader");

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "Responsibility."

    'SYSTEM_ADMINISTRATOR'));

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "RespApplication,"

    'SYSADMIN'));

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "SecurityGroup."

    'STANDARD'));

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "NLSLanguage,"

    'AMERICAN'));

    header [0] .addChild (new SoapHeader)

    "http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/,"

    "Org_Id."

    "0"));

    header [1] = (new) SoapHeader

    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"

    'Security');

    Token = new (SoapHeader

    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"

    "UsernameToken");

    User = new (SoapHeader

    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"

    "Username."

    "sysadmin");

    pass = new (SoapHeader

    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd,"

    "Password."

    "sysadmin");

    Header [1]. AddChild (Token);

    token.addChild (user);

    token.addChild (pass);

    Returns the header;

    }

    }

    Kind regards

    Vieira

  • Accidents of Simulator XCode5 ADF Mobile update

    Then I updated my JDev ADF Mobile update (11.1.2.4.39.64.62).

    I'm in XCode Version 5.0.2 (A 5, 3005). I can create a new simple application with a single page (home.amx) and when I deploy it in the Simulator he closes my Simulator, opening a new and behaves as the launch of my application and then does nothing. There is no icon and nothing has been implemented in the Simulator.

    [07:37:27 PM] ****************************************************************************************
    [07:37:27 PM] This ADF Mobile app was deployed in Debug mode and should not
    [07:37:27 PM] be used for performance evaluation purposes.
    [07:37:27 PM] Set the deployment profile Build Mode option to Release for performance testing.
    [07:37:27 PM] ****************************************************************************************
    [07:37:27 PM] Elapsed time for deployment:  34 seconds
    [07:37:27 PM] ----  Deployment finished.  ----
    
    

    When I open the temporary application of Xcode, I am able to launch the app in XCode 5 successfully.

    Any suggestions?

    Chris,

    Yes, I am aware that it is soft on the 2nd page. This isn't a "request" I ask.

    My steps were this:

    -deploy the app on iOS Simulator

    -iOS 7.03 (B 11, 508) Simulator closed

    -iOS 7.03 (B 11, 508) Simulator would open

    -l' screen would flash and everything just to sit on the home screen

    -J' then tried to navigate to page 2. At the time only my other apps were on the 2nd page. (not that I tried to deploy)

    -J' I reset the content and settings and tried again, same thing. A flash (as he tried to run automatically), then displays the home page.

    I was finally able to make it work by:

    -Uninstall XCode 5.0.2 (A 5, 3005)

    -uninstalled jDev 11.1.2.4

    -reinstalled xcode and jdev

    -install the updated mobile

    -open my test application, he managed to put the app on the 2nd page

    The flash and the stall on the homepage is now gone. I understand, it can be confusing to what exactly the problem I had with this update, but if all goes well in breaking it down it makes clear.

    It has never been an icon of the application on the 2nd page. He simply behaved as he tried to launch automatically. Never be able to launch an application with this update, I thought he was trying to run automatically (as a new feature) instead of the old way.

    I hope this post helps others that may encounter the same problem.

  • ADF Mobile access protected web service with the user name and password

    With Jdev 11.1.2.4 (with the extension of the ADF Mobile) I am creating a data control that uses a SOAP web service. The web service is not protected by a policy of wss, but its point of endpoint URL is only protected by simple HTTP authentication (internal weblogic server is not accessible public.) We use an Apache server that is configured with a location that is a simple proxypass on url of the web service endpoint weblogic. This apache location apply simple HTTP authorization). I can invoke successfully the methods with parser HTTP by simply adding to the request HTTP header "authorization: xxxxxxxxxxxxxxxxxx base =" (where xxx = user name and encrypted password).

    In the mobile application of ADF, I used the DataControls.dcx-> window to connect to the Web Service change and provided the username and password to the URL of the endpoint. The problem is that after the deployment and execution of this application on the emulator (or the device itself), I get no data by the web service since with the HTTP 401 error http server responses. It seems that that the credentials are not deployed to the device, so while the application is running can not find them.

    I searched a lot and found a similar article (quite old) in the RTO by Frank Nimphius here access_protected_web_services_from_adf.htm

    Is there a way to do this, or if I'm missing the entire image?

    Thank you very much.

    Christos

    Check out blog Shay https://blogs.oracle.com/shay/entry/accessing_secure_web_services_from

    or Andrejus http://andrejusb.blogspot.de/2012/11/adf-mobile-secured-web-service-access.html

    Timo

  • ADF MOBILE: how to add an item in the list without refresh the entire list

    Hello

    I am using this method to add an item to a list (I've already added the item to the data model):


    providerChangeSupport.fireProviderCreate (String providerKey, int newRowKey, object newValue);


    I don't want refresh the entire list, rather, I want to just add a new item to the list, that's why I want to use this method.


    I want to know, what value should I use for the second argument? i.e. 'int newRowKey '.


    Thank you


    Hello

    the event of change of provider in your case seems to actually create a new line. So the int is the rowKey (index PK or line) of the new line. There is no other choice to simply add an element to a list (ADF Mobile provides no component handles)

    See: Embedded Java/ADF for beginners: ADF Mobile: refresh your valuable data

    Frank

  • ADF Mobile: documentation

    Hello

    ADF Mobile: 11.1.2.4.0

    Device: iPhone & iPad

    The customer wants to show the contents of a document that is located on the side server.

    Document types include jpeg, rtf, xls, pdf to docx.

    The user will walk through a few pages in a taskflow and clicks, and then on the reference of a document, which should then open the document.

    I tried the goLink, but then the user is outside of the application and in the ios, there is no way to return directly.

    What are the possibilities?

    Thank you in advance.

    Filip Huysmans

    A few options.

    Use the displayFile method-

    http://docs.Oracle.com/CD/E37975_01/doc.111240/e24475/amxbinding.htm#CHDFDBJG

    Create a new feature local HTML - call this feature from your page AMX - and in the HTML page using a scope setting application to redirect the URL required.

    Then navigate back, you go to the other feature.

  • ADF mobile web service url change

    Hello

    I created a mobile application with a with a webservice and it works well.

    Now the webservice url has changed.

    How can I change this URL in the ADF mobile please?

    Thank you

    Look at the connections.xml file - https://blogs.oracle.com/shay/entry/updating_adf_web_service_data

Maybe you are looking for

  • nowhere to enter pw for a manual installation of Charter E-mail acct

    changed to Charter internet provider and created a Charter email account. Tried to configure thunderbird to access this account. All attempts have failed. It seems that no place to enter my password of Charter Manual Configuration or other means. Mik

  • My library is optimized and it seems that my mac cannot see that the the...

    If I use the photo library to iCloud and optimization functionality on my mac to save disk space. Only, when I want to select an image in the selector, I can only select local photos, the optimized are missing. It is particularly stupid with my scree

  • Text on many Web sites are blurred

    Not to understand this current Firefox, the rest of the sites site like yahoo or msn the police/text is not as "crisp" like it used to be in previous versions. It makes it harder to read, and I guess that's because the police seems to be different. I

  • Need to Conexant Audio Driver Windows XP 64-bit for satellite P300 (PSPCCE)

    Need Driver Audio Windows XP 64 for 1 year Satelite P300 (PSPCCE). If any body can help please! I instaled Windows XP Proffesional 64 bit, Service Pack 2. The Milkeficent provided by Toshiba (Conexant Windows XP 3.47.1.50 is not 64-bit driver!) fails

  • NI-VISA Setup error

    Hello world... When you build an application in labview, you have the option to include some other installers (National instruments installers)... If I include NI VISA Run time 5.1.1 in the installation but the computer of a given user has already do