ADF Mobile Deployment issue

Hello -
I am so frustrated with the ADF Mobile deployment. I have already created couple of Android Apps using the native language and never faced problems like this. I am very familiar with ADF development as well.
Anyways this is my problem.
I downloaded the sample adf mobile app from the following tutorial, but I was unable to deploy it on the Android emulator in  Release mode. The debug mode takes for ever.
Oracle JDeveloper 11g Release 2 Tutorials - Building Mobile Applications with Oracle ADF Mobile
This is the error messages I am getting:
[11:02:51 PM] ----  Deployment started.  ----
[11:02:51 PM] Target platform is  (Android).
[11:02:51 PM] Beginning deployment of ADF Mobile application "Employees" to Android using profile "Android3".
[11:02:51 PM] Deployment cancelled.
[11:02:51 PM] ----  Deployment incomplete  ----.
[11:02:51 PM] The following Android preference configuration is missing or invalid. Set these options in JDeveloper Preferences on the ADF Mobile panel:
Key Password
(oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)
I generated the keystore using keygen per the tutorial and it doesnt't help.
This is how I validated the keystore.
C:\Oracle\MiddlewareMob\jdk160_24\bin>keytool -list -keystore emp.keystore
Enter keystore password:
Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
empl, Nov 19, 2013, PrivateKeyEntry,
Certificate fingerprint (MD5): 8A:27:53:64:B3:AF:01:CA:9C:2F:47:2A:50:16:E4:40
C:\Oracle\MiddlewareMob\jdk160_24\bin>
I tried recreating the keystore couple of times, but it didn;t help. I know the password entered is correct.
Any suggestions will be appreciated. Also, I started learning JQuery Mobile in parallel.
Thanks,
-S

Thanks for the reply Shay!
Here are the settings:
Android SDK location: C:\Android\sdk (This is where I extracted the Android SDK)
Plat form Location : C:\Android\sdk\platforms\android-17
Android Buid Tools Location: C:\Android\sdk\platform-tools
Keystore location : C:\Oracle\MiddlewareMob\jdk160_24\bin\emp.keystore
Key Alias : empl
Directory of C:\Android\sdk\platforms\android-17
11/19/2013  10:13 PM    <DIR>          .
11/19/2013  10:13 PM    <DIR>          ..
11/19/2013  10:13 PM        19,090,582 android.jar
11/19/2013  10:13 PM             1,416 build.prop
11/19/2013  10:13 PM    <DIR>          data
11/19/2013  10:13 PM             2,362 framework.aidl
11/19/2013  10:13 PM               209 sdk.properties
11/19/2013  10:13 PM    <DIR>          skins
11/19/2013  10:13 PM            16,802 source.properties
11/19/2013  10:13 PM    <DIR>          templates
11/19/2013  10:13 PM             8,800 uiautomator.jar
               6 File(s)     19,120,171 bytes
               5 Dir(s)  39,479,033,856 bytes free
I tried this from a different machine and I am getting the same error there too.
Pls advise.
Thanks!

Similar Messages

  • JDev 12c ADF mobile deploy issue

    I installed JDeveloper 12.1.2.0.0. In order to test the environment, I built a very simple ADF Mobile app, and deploy to the Android emulator (Android 4.4.2 (API 19)). The deployment always failed on "Creating Android preferences XML files...". Anyone knows?
    [11:54:10 AM] Copying common javascript files...
    [11:54:45 AM] Deploying skinning files...
    [11:54:46 AM] Copying application image files...
    [11:54:46 AM] Copying ADF Mobile configuration files...
    [11:54:46 AM] Copying .adf files...
    [11:54:46 AM] Copying security related files to the ADF Mobile Framework application...
    [11:54:46 AM] Creating Android preferences XML files...
    [11:54:47 AM] Shutting down Android Debug Bridge server...
    [11:54:47 AM] Deployment cancelled.
    [11:54:47 AM] ----  Deployment incomplete  ----.
    [11:54:47 AM] <Line 14, Column 96>: XML-20000: (Error) Fatal Error
    Thanks
    Tony

    I too got same error in Jdev 12c.
    [05:16:46 PM] Deploying skinning files...
    [05:16:46 PM] Copying application image files...
    [05:16:46 PM] Copying ADF Mobile configuration files...
    [05:16:46 PM] Copying .adf files...
    [05:16:46 PM] Copying security related files to the ADF Mobile Framework application...
    [05:16:46 PM] Creating Android preferences XML files...
    [05:16:46 PM] Deployment cancelled.
    [05:16:46 PM] ----  Deployment incomplete  ----.
    [05:16:46 PM] <Line 14, Column 96>: XML-20000: (Error) Fatal Error
    Any help would be highly appreciable.

  • ADF mobile deployment

    hi everyone,
    i'm new on adf mobile and i'm developing and android application using adf mobile and android sdk manager,but i have one problem and this is about the time of deployment,it takes about 10 to 12 minutes every time
    to deploy the application on emulator and i don't know if it's normal or not,if it's not normal plz tell me how to reduce the time of deployment
    thanks...

    Hi.
    You can speed up your deployments by following Shay's instructions here:
    https://blogs.oracle.com/shay/entry/speed_up_adf_mobile_deployment
    Unfortunately, the Android simulator is very slow. This is because it emulates an ARM processor on your x86 machine. The only workaround is to deploy to a physical device instead.
    Best Regards,
    Frédéric.

  • How to reduce Oracle ADF Mobile deployed file

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

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

  • ADF Mobile: Deployment Error: MessageDigest SHA-1 implementation not found

    Hi,
    I was trying to create and deploy a test application as outlined in the online tutorial for ADF Mobile:Android
    http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
    After I hit Deploy to emulator, it fails with the following exception:
    trouble writing output:
    [07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found.
    I have successfully deployed applications developed from Eclipse with Android extension on the same emulator.
    I tried manual cmd line deployment of the generated apk file
    I got [INSTALL_PARSE_FAILED_NO_CERTIFICATES] error first.
    I then followed the instructions in the below post to create a keystore, sign the application and again deploy the application
    signing error with abt deployment with ADF Mobile and java 1.7
    I got the following error.
    C:\Program Files\Android\android-sdk\platform-tools>adb -e install -r C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3/testapp.apk
    100 KB/s (21928920 bytes in 212.281s)
    pkg: /data/local/tmp/testapp.apk
    Failure [INSTALL_FAILED_DEXOPT]
    Is it a BUG or am I missing something? Appreciate if someone can help me out.
    Specs. Win XP
    Android 4.1.2 (API 16)
    Jdev
    Studio Edition Version 11.1.2.3.0
    Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1
    ADF Mobile Framework     oracle.adf.mobile     11.1.2.3.39.62.94     Fully Loaded
    Deployment Log:
    [06:58:00 AM] Updating Android profile dependencies with FAR profiles created from application projects...
    [06:58:01 AM] ---- Deployment started. ----
    [06:58:01 AM] Target platform is (Android).
    [06:58:01 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
    [06:58:03 AM] Checking state of Android Debug Bridge server...
    [06:58:04 AM] Android Debug Bridge server already running.
    [06:58:11 AM] Verifying a single Android emulator is online and connected to the ADB server...
    [06:58:11 AM] Beginning deployment of ADF Mobile application "TestApp" to Android using profile "ANDROID_MOBILE_NATIVE_archive3".
    [06:58:11 AM] Running dependency analysis...
    [06:58:11 AM] Building...
    [06:58:11 AM] Deploying 3 profiles...
    [06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ApplicationController\deploy\ApplicationController.jar
    [06:58:18 AM] WARNING: No Resource Catalog enabled ADF components found to package
    [06:58:18 AM] Wrote Archive Module to C:\Jwork\TestApp\ViewController\deploy\ViewController.jar
    [06:58:18 AM] Starting to prepare the packaging...
    [06:58:18 AM] Verifying Application Controller project exists...
    [06:58:18 AM] Verifying application dependencies...
    [06:58:18 AM] Validating application XML files...
    [06:58:18 AM] Validating XML files in project ApplicationController...
    [06:58:18 AM] Validating XML files in project ViewController...
    [06:58:19 AM] Copying FARs to the ADF Mobile Framework application...
    [06:58:19 AM] Copying FAR from source: ViewController...
    [06:58:19 AM] Copying FAR from source: ApplicationController...
    [06:58:19 AM] Copying Android template...
    [06:59:19 AM] Copying framework resource files...
    [06:59:20 AM] Copying framework java resource files...
    [06:59:43 AM] Copying common javascript files...
    [07:00:01 AM] Deploying skinning files...
    [07:00:01 AM] Copying application image files...
    [07:00:02 AM] Copying ADF Mobile configuration files...
    [07:00:02 AM] Copying .adf files...
    [07:00:02 AM] Copying security related files to the ADF Mobile Framework application...
    [07:00:02 AM] Creating Android preferences XML files...
    [07:00:02 AM] Creating AndroidManifest.xml file...
    [07:00:02 AM] Creating unsigned Android application file...
    [07:00:58 AM] Compiling Android Resource Identifier file...
    [07:01:01 AM] Creating Android classes.dex file from class files...
    [07:01:26 AM] Command-line executed: ["C:\Program Files\Android\android-sdk\platform-tools\dx.bat", dex, debug, keep-classes, output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex", C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar, C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar]
    [07:01:26 AM]
    [07:01:26 AM] trouble writing output:
    [07:01:26 AM] java.lang.RuntimeException: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:631)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex0(DexFile.java:591)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.toDex(DexFile.java:216)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.writeDex(Main.java:574)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.run(Main.java:218)
    [07:01:26 AM] at com.android.dx.command.dexer.Main.main(Main.java:174)
    [07:01:26 AM] at com.android.dx.command.Main.main(Main.java:91)
    [07:01:26 AM] Caused by: java.security.NoSuchAlgorithmException: MessageDigest SHA-1 implementation not found
    [07:01:26 AM] at org.apache.harmony.security.fortress.Engine.getInstance(Engine.java:137)
    [07:01:26 AM] at java.security.MessageDigest.getInstance(MessageDigest.java:75)
    [07:01:26 AM] at com.android.dx.dex.file.DexFile.calcSignature(DexFile.java:629)
    [07:01:26 AM] ... 6 more
    [07:01:26 AM] Command-line execution failed (Return code: 2)
    [07:01:26 AM] Command-line executed: "C:\Program Files\Android\android-sdk\platform-tools\dx.bat" dex debug keep-classes output="C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes.dex" C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\classes C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\AND_ksoap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\Container.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\IDMMobileSDK.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\logging_dalvik_release.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\phonegap.jar C:\Jwork\TestApp\deploy\ANDROID_MOBILE_NATIVE_archive3\framework\build\jar\vmchannel_dalvik_release.jar
    [07:01:26 AM] Deployment cancelled.
    [07:01:26 AM] ---- Deployment incomplete ----.
    [07:01:26 AM] Deployment failed due to one or more errors returned by 'C:\Program Files\Android\android-sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 2)
    - Thanks
    Sujith
    Edited by: user11272928 on Oct 30, 2012 7:28 PM

    Hi,
    At this point, we really have not fully tested out JDK 1.7, and we rely on Android SDK to actually compile the app. Any way you can add JDK 1.6 to your machine, and configure the Android SDK to use JDK 1.6?
    Thanks,
    Joe Huang

  • ADF Mobile Deployment & Android SDKit

    Hi folks,
      Quite few days ago, i go through the ADF mobile document. After a Big gap Again i gave a try to continue my learning in the topic of "Basics of ADF Mobile".
    Where I found oracle doc to start ADF Mobile with simple Oracle JDeveloper 11g Tutorials
    [11:25:53 AM] ----  Deployment started.  ----
    [11:25:53 AM] Target platform is  (Android).
    [11:25:53 AM] Beginning deployment of ADF Mobile application "Application2MobileApp" to Android using profile "Android2".
    [11:25:53 AM] Checking state of Android Debug Bridge server...
    [11:25:57 AM] Started Android Debug Bridge server.
    [11:25:57 AM] Verifying a single Android emulator is online and connected to the ADB server...
    [11:25:57 AM] Running dependency analysis...
    [11:25:57 AM] Building...
    [11:25:59 AM] Deploying 3 profiles...
    [11:25:59 AM] WARNING: No Resource Catalog enabled ADF components found to package
    [11:25:59 AM] Wrote Archive Module to C:\JDeveloper\mywork\Application2MobileApp\ViewController\deploy\ViewController_MobileFeatureArchive1.jar
    [11:26:00 AM] Wrote Archive Module to C:\JDeveloper\mywork\Application2MobileApp\ApplicationController\deploy\ApplicationController_MobileFeatureArchive1.jar
    [11:26:00 AM] Starting to prepare the packaging...
    [11:26:00 AM] Verifying existence of the .adf source directory of the ADF Mobile application...
    [11:26:00 AM] Verifying Application Controller project exists...
    [11:26:00 AM] Verifying application dependencies...
    [11:26:00 AM] Verifying project dependencies...
    [11:26:00 AM] Validating application XML files...
    [11:26:00 AM] Validating XML files in project ApplicationController...
    [11:26:00 AM] Validating XML files in project ViewController...
    [11:26:00 AM] Copying FARs to the ADF Mobile Framework application...
    [11:26:00 AM] Extracting Feature Archive file, "ApplicationController_MobileFeatureArchive1.jar" to deployment folder, "ApplicationController".
    [11:26:00 AM] Extracting Feature Archive file, "ViewController_MobileFeatureArchive1.jar" to deployment folder, "ViewController_MobileFeatureArchive1".
    [11:26:00 AM] Copying Android template...
    [11:26:37 AM] Copying framework resource files...
    [11:26:37 AM] Copying framework java resource files...
    [11:26:41 AM] Copying common javascript files...
    [11:27:16 AM] Deploying skinning files...
    [11:27:20 AM] Copying application image files...
    [11:27:20 AM] Copying ADF Mobile configuration files...
    [11:27:20 AM] Copying .adf files...
    [11:27:20 AM] Copying security related files to the ADF Mobile Framework application...
    [11:27:20 AM] Creating Android preferences XML files...
    [11:27:21 AM] Creating AndroidManifest.xml file...
    [11:27:21 AM] Creating Google Cloud Messaging intent service file GCMIntentService.java...
    [11:27:21 AM] Creating unsigned Android application file...
    [11:27:50 AM] Compiling Android Resource Identifier file...
    [11:27:52 AM] Creating Android classes.dex file from class files...
    [11:28:03 AM] Updating unsigned Android application file with DEX file and .adf content...
    [11:28:12 AM] Creating debug key store...
    [11:28:14 AM] Signing application...
    [11:28:24 AM] Deploying ADF Mobile Framework application to Android emulator (this may take a few minutes)...
    [11:34:30 AM] ADF Mobile Framework application successfully deployed to Android emulator.
    [11:34:30 AM] Shutting down Android Debug Bridge server...
    [11:34:30 AM] ****************************************************************************************
    [11:34:30 AM] This ADF Mobile app was deployed in Debug mode and should not
    [11:34:30 AM] be used for performance evaluation purposes.
    [11:34:30 AM] Set the deployment profile Build Mode option to Release for performance testing.
    [11:34:30 AM] ****************************************************************************************
    [11:34:30 AM] Elapsed time for deployment:  8 minutes, 37 seconds
    [11:34:30 AM] ----  Deployment finished.  ----
    After deployment i noticed that this simple Application hardly taking 10 minutes for me for deploying and document also produce the same.
    Android SDkit is seems to slow to see my deployed App
    Is there any possibility to improve the performance also those things.?
    See the 46 to 48 line Log says :"Something harmful"
    I followed the document as suggested i did int change anything. document also having the same.
    From my understanding i have to change mode while deploying. i also cross check that there is no mode options while creating the deployment profile
    please anyone tell me. what going on.
    Jdev 11.1.2.4.0
    Anderoid SDK Manager. Revision 22.2.1
    Thanks.

    Subramanian ,
    As mentioned in above post use release mode , not only does it reduce the deployment time to a few mins (from 10 mins as you specified) , but also reduces the archive size to a third.
    See more details on how to setup release mode alongwith setting up the keystore -
    https://blogs.oracle.com/shay/entry/speed_up_adf_mobile_deployment

  • Adf mobile deployment option for blackberry/windows-mobile is disabled

    Hi,
    We are trying to deploy the sample FOD mobile app to blackberry simulator as per the tutorial given at:.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps3/adf_mobile_top/adf_mobile/jdtut_11r2_54_1.html
    We had followed all the steps given till Part 2 and were able to deploy the app to the BB simulator and test it also.
    After that, we followed the steps given in Part 3 and now when trying to deploy the mobile client app to the simulator, the deployment profile option for BB is disabled and hence we are not able to deploy the application.
    We have Jdev 11.1.1.4.0 with mobile client extension installed, and have also installed the BB JDE and simulator.
    Can someone please help us to get the deployment to BB profile option enabled again?
    PS: We also tried installing Jdev 11.1.1.4.0 with mobile adf extension on another machine with BB JDE and BB 9700 simulator, but on this new machine, the deployment profile option is disabled right from the start, we are not even able to deploy the changes we have done for part 2 of the tutorial.
    Regards,
    Hemant

    Hi, Hemant, just to make sure, did you try to kick off deployment from the MobileClient project, or at the Application menu? Mobile Client app needs to be deployed from the application menu.
    Also, if you have deployed already, the deployment profile has been created, so you simply would need to deploy again from the application menu.
    If you are seeing these items are somehow disabled, then I don't think I have seen it before. Perhaps we can set up a web conference to look at it.
    Please just ping me directly.
    Thanks,
    Joe Huang ([email protected])

  • ADF application deployment issue

    Dear All,
    We have installed Weblogic server 11g with version 10.3.2.0 in UNIX machine.
    We are trying to deploy an ADF Application using .ear file, but we are getting an error:
    *weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: wlp-tools-custom-app-lib, exact-match: false], [Extension-Name: wlp-tools-analytics-app-lib, exact-match: false].*
    Can we get any help regarding this.
    Thanks,
    Harsha

    The error points to a missing library in the WLS. In your ear file you reference a lib 'wlp-tools-analytics-app-lib' which is not deployed on the target WLS or not wired up correctly in the managed server you deploy to.
    Normally library references are defined in the META-INF\weblogic-application.xml inside your ear. Check this file for the reference. If you need the lib you must deploy it to the WLS instance and target it to the managed server you try to deploy to. If you don't need the lib you can remove the reference.
    Timo

  • Adf mobile - Deployment failed due to one or more errors returned by 'osascript'

    I had the mac jdeveoper deploying a mobile app in ios emulator file running fine.
    I had to update the xcode to xcode5 to get the certificate - now the deployment to emulator won't work.
    These are the error messages
    [02:34:41 PM] Command-line execution succeeded.
    [02:34:41 PM] Command-line executed: [osascript, -e, tell application "iPhone Simulator" to activate]
    [02:34:41 PM] Command-line execution failed (Return code: 1)
    [02:34:41 PM] Deployment cancelled.
    [02:34:41 PM] ----  Deployment incomplete  ----.
    [02:34:41 PM] Failed deploying to the iOS simulator.
    [02:34:41 PM] Deployment failed due to one or more errors returned by 'osascript'.  The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)

    I deleted xcode 5 and installed xcode 4.6.3. Simulator works ok for 6.1 simulator target version.
    In jdeveloper ios option only 6.1 shows up for simulator target version?
    How do I get the 7 to show up there please?
    If simulator will not show up - can I still deploy / test it in iphone with ios7?

  • ADF Mobile : Deploy My Project To APK File

    Hi...
    How Can I Deploy My Project To APK File.
    Thanks a lot

    Hi All,
    I am facing similar problem can you tell me how it resolved. I have used dex.bat with below command externally [*dx.bat --dex --verbose --output C:\JDeveloper\mywork\SampleMobileADF\deploy\ANDROID_MOBILE_NATIVE_archive2\classes.dex C:\JDeveloper\mywork\SampleMobileADF\deploy\ANDROID_MOBILE_NATIVE_archive2\classes*]
    using this command I am able to create .dex file but after deploying it to emulator it always shows "Application stopped unfortunately"

  • ADF Mobile - Debugging issue

    Hi All,
    I have deployed in Android emulator.
    I have followed dev guide for debugging.
    It gives me the following error:
    Debugger unable to connect to remote process
    cvm.properties:
    java.debug.enabled=true
    java.debug.port=4000
    adb -e forward tcp:4000 tcp:4000
    Please help.
    Regrds,
    Deepak

    Hi Franks,
    Thanks for your reply.
    What i am seeing is we need to try connecting 2-3 times and it gets connected then.
    Anyways i am getting some other error now. Raising another post. Please reply there.
    Refards,
    Deepak

  • ADF Mobile - selectManyCheckbox - Issue to get value

    Hi,
              I have a simple amx page with selectManyCheckbox as below, I want to get value (first / second) inside Test Bean. But not getting the value as expected
    <amx:selectManyCheckbox label="label1" id="smc1" valueChangeListener="#{TestBean.getCheckBoxValue}" value="#{pageFlowScope.pValue}">
    <amx:selectItem label="Check Box 1" value="first"/>
    <amx:selectItem label="Check Box 2" value="second"/>
    </amx:selectManyCheckbox>
              getCheckBoxValue inside TestBean is as below.
    public void getCheckBoxValue(ValueChangeEvent valueChangeEvent) {
    try {
    System.out.println(" vaule is " + valueChangeEvent.getNewValue().toString());
    System.out.println(" vaule is " + valueChangeEvent.getOldValue().toString());
    String selectedValuesAsString  = "";
    ValueExpression ve;
    ve = (ValueExpression)AdfmfJavaUtilities.getValueExpression("#{pageFlowScope.pValue}",String.class);              
    System.out.println(" 1 "+ve);
    System.out.println(" 1 "+(ve.getValue(AdfmfJavaUtilities.getAdfELContext()).getClass().getName()));
    String attrBinding = (String)ve.getValue(AdfmfJavaUtilities.getAdfELContext());
    System.out.println(" 2 "+attrBinding.toString());
    } catch (Exception e) {
    // TODO: Add catch code
    e.printStackTrace();
    All the places : i am getting the value as object , Here is the console output
    06-19 07:58:31.506: D/CVM(1419):  vaule is [Ljava.lang.Object;@fa17c0
    06-19 07:58:31.506: D/CVM(1419):  vaule is [Ljava.lang.Object;@992d6a59
    06-19 07:58:31.516: D/CVM(1419):  1 TreeValueExpression(#{pageFlowScope.pValue})
    06-19 07:58:31.516: D/CVM(1419):  1 java.lang.String
    06-19 07:58:31.526: D/CVM(1419):  2 [Ljava.lang.Object;@aea1046e
    Could you please let me know How to get value back inside bean using  ValueChangeEvent.
    Thanks in advance.
    Ajoy Sinha

    Here is the answer ..
                                    valueChangeEvent.getNewValue() will return array of Object , i.e Object[]. Now one should loop through the Object and retrieve each object to get value out of it.
    Object[] value = (Object[])valueChangeEvent.getNewValue();
    for (int count = 0; count < value.length; count++) {
    Object checkedBox = value[count];
    String checkBoxValue = checkedBox.toString();
    System.out.println(" Check Box Value " + checkBoxValue);

  • ADF Mobile: WebService data control method call with array

    JDev 11.1.2.3
    ADF Mobile deployed to Android emulator
    Hello All,
    I am trying to invoke a method in my Web Service data control and get the following exception
    Caused by: ERROR [oracle.adfmf.framework.exception.AdfInvocationRuntimeException] - Cannot serialize: [I@1dbae822
            at oracle.adfmf.dc.ws.soap.SoapTransportLayer.invokeSoapRequest(Lorg/ksoap2/SoapEnvelope;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.soap.SoapWebServiceOperation.invoke(Ljava/lang/String;Loracle/adfmf/dc/ws/soap/SoapGenericType;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.soap.SoapWebServiceOperation.invoke(Ljava/lang/String;Ljava/util/Map;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.JavaBeanOperation.execute(Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;(Unknown Source)
            at oracle.adfmf.dc.ws.WebServiceDataControlAdapter.invokeOperation(Ljava/util/Map;Loracle/adfmf/bindings/OperationBinding;)Z(Unknown Source)
            at oracle.adfmf.bindings.dbf.AmxMethodActionBinding.execute()Ljava/lang/Object;(Unknown Source) This method is an AppModule method exposed as a service interface and the parameter for this method is a List<oracle.jbo.domain.Number>. The schema definition for the input is as follows:
    <element name="acceptTask">
       <complexType>
         <sequence>
                <element maxOccurs="unbounded" minOccurs="0" name="taskID" type="decimal"/>
         </sequence>
       </complexType>
    </element>For the input to my binding, I have tried int[], Integer[] and List<Integer>. All of these result in similar errors.
    I have also tried invoking this through a regular ADF application and that works fine with an int[]. It looks like something specific to the ADF Mobile SOAP layer.
    Is this a bug or a restriction in the framework? Any workarounds that has worked for anyone?

    No luck. A WS DC method call with a simple parameter (java.lang.String or java.lang.Integer) works fine but I can't get it to work when there is an array input.
    I have tried WS methods with int arrays and simple string arrays without any luck. All of them result in a cannot serialize error.
    I can't figure out what I am doing wrong. Are there any working WS Datacontrol samples with array inputs?

  • ADF Mobile - Phone Performance Issues

    Hello,
    I've been using ADF Mobile for a while now. All's going well - I'm able to access web-based data services etc and everything seems to work. I do have a couple of couple of questions regarding performance on the phone though and I was wondering if anyone could offer some help/advice etc.
    I've followed all the steps here: https://blogs.oracle.com/mobile/entry/configuration_tips_for_better_performance
    ...but with no visibile improvements. My issues are:
    <1> Once the app is deployed, starting it for the first time takes around 2 minutes. All subsequent start-ups of the app after this take a couple of seconds, even after a shutdown of the phone. I'm not sure how to determine what exactly is happening during this phase, and why this takes so long just the first time? The duration for this also seems to have increased as I've added pages to my app, and as it only has 4 at the moment I'm concerned that adding much more to it will make the problem worse.
    <2> I use "listItems" on most pages in a "panelGroupLayout", and the scrolling performance is very poor. All other apps I have on my phone scroll very smoothly. With my ADF app, you drag your finger to scroll up or down and there's a noticeable delay before all the rows move in one go with no visible scrolling actually taking place. This happens even when all the rows to be displayed are loaded on to the page and there's no more calling of the web service necessary. I've deployed the sample "DeviceDemo" to my phone and the "Properties" page has the same problem. The scrolling is very poor.
    I've done a fair bit of Googling on this without much success, Any help or suggested reading on any of this would be very much appreciated.
    Cheers, Rich.
    Edited by: user10788009 on 15-Feb-2013 05:44 - Spelling

    Currently there is no 'solution' for this problem.
    A quote from Joe
    Joe Huang wrote:
    Hi
    First you would need to deploy the application in "Release Mode". This requires you to create a Java Keystore and a certificate using the Java keytool, and then you would use it to compile the app. If you have done that, then can you please help explain what these pages are doing, and observed performance?
    Unfortunately Galaxy Tab 2 is a bit old - if you have done everything to optimize the app, this could be due to older Android OS. Android OS (especially version 2.x) does not support HTML5/JS well, and performance is much worse than HTML5/JS running on Android 4.x devices. This is more than just HW differences - this is primarily due to the web engine used by the webview.
    This is also somewhat a general issue with Android - Chrome is a much faster browser on Android, but unfortunately the webview (which ADF Mobile leverages) is not yet based on Chrome. If and when they switch to Chrome, the JavaScript/HTML5 support would start to rival that of the iOS.
    Thanks,
    Joe Huang

  • Unable to load ADF Mobile for Android deployment profile.

    Hello,
    I'm trying to implement a simple application on an android platform using this:
    [http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html]
    I already downloaded the updates needed as extensions and started the emulator using the SDK Manager.exe. However, i'm not able to create a deployment profile of type: "ADF Mobile for android". I only find type "ADF Mobile Feature Archive" which doesn't work for me because when i try deploying it, i don't find the "deploy application to emulator" option. Any thoughts?
    Regards,
    Mohamed

    Hi.
    To deploy to the emulator or to a device, you must create a deployment profile on your application, not on the ViewController or ApplicationController projects.
    Best Regards,
    Frédéric.

Maybe you are looking for

  • Problem with parameters and non table based items

    Hi, I have a situation where I have some not table based items on a page (shuttles and select lists). It is parameters that the end user inputs. I have another page with the same items just here they are Display Only and also not table based. When th

  • Down payments in APP

    Hi Gurus, What happens when it takes down payments in Payment program Does it reduce the balance we have to pay? and what happens to the open down payments? pls suggest Regards, Ravi

  • Unable to run the application

    HI All, I developed an application in NWDS using WEB DYNPRO FOR JAVA.The coding is syntactically correct.... When I run the application I see Page can not be displayed ERROR message in the browser window. I have configured NWDS with the J2EE engine p

  • Outlook 2013 not sync if cloud 3

    Hello! Don't know what to do. iOS7, Outlook 2013 and Icloud 3 - everything updated, but reminders stop  sync - any help?

  • RSS URL forwarding/posting problem

    HI, Thanks so much. There seems to be no place on the web to address RSS concerns, and since I use Thunderbird and Firefox, I thought I would try here. Perhaps someone can shed some light on what is happening? I subscribed to an RSS feed http://www.t