ADF mobile - trivial Android demo application takes 53 MB  ?!?

Just developed and deployed application from
http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
In the Android SDK emulator, I see that the such one trivial application has about 53.09 MB ?
Is there a way to reduce the size of applications to a reasonable level?
Some setting in deployment option, or similar ?
Also, I have not yet tried it on a real Android device, but on the emulator application runs very slowly (never-ending Oracle splash screen on startup), on a computer with i7 processor with 8 GB RAM
Thanks,...

There is a minimum size that will be required (about 15mb) which is the ADF Mobile container which is where your application is executed on the client, and you won't be able to go below that one.
Note though that this doesn't mean that a 2 page hello world would be 2*15 but rather a small addition to the first 15mb.

Similar Messages

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

  • Problem with ADF Mobile on Android

    Hi,
    I'm trying to run a very simple test with adf mobile on android emulator.
    But when I try to open the app, the splash screen never changes.
    Only when I go to the menu and I return to the app from the device menu, this show the main screen.
    And...
    When I try to open a very simple amx page, the app launch a message that says
    Failed to initilize the AdfcContext{classname: oracle.adfmf.framework.api.Model; method: pushPageFlowScope; params: ; }
    Somebody can help me?
    I am using:
    ADF Mobile Framework oracle.adf.mobile 11.1.2.4
    Android sdk 22
    Message: http://db.tt/mIqcekCI
    Log: http://db.tt/0frlguNq
    Thanks!

    Hi, there, a couple of things to double check on your emulator settings:
    When configuring the Android emulator, please make sure the emulator emulates ARM Processor (armeabi - v7).  ADF Mobile only works with ARM processors - both device and emulator.
    Under Memory Options, please ensure RAM is at least 768 or greater.  This of course is also constraint by the amount of memory your development machine has, but generally you should have at least 768 MB allocated.  ADF Mobile app itself won't take up nearly that much RAM of course, but there are a lot of Android apps that are started in the background when Android emulator starts.
    Also, make sure there is 500 MB of internal storage configured - you can go as low as 200 MB but the space will quickly.
    Lastly, before you compile/deploy again, please go to JDeveloper menu item Build - Clean All to clean up any left over deployment artifacts.
    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 on Android? Offline synchronization with the database?

    Hello,
    We are thinking about developing a project on Oracle ADF Mobile, and want it to run on both Android and IOS devices.
    And we want to be able to synchronize our database for offline mode.
    I read some docs, and they say Oracle does not have an Android version of ADF Mobile Client. It provides ADF Mobile Browser,
    but then it will not be possible to be synchronized with a remote database and run in offline mode.
    Is it possible to develop an application with Oracle ADF Mobile technology, that runs on Android and IOS phones,
    syncs with a remote database and run both online and offline mode, and uses device's services like GPS, camera, etc?
    Thanks,
    Bora Yuret
    Edited by: 919404 on 07.Mar.2012 09:01
    Edited by: 919404 on 07.Mar.2012 09:02

    Trinidad faces and JSF faces not optimized for android web-browser.

  • ADF Mobile - [INSTALL_FAILED_INVALID_APK] Android Deployment Failed

    I created a small application and tried to deploy it to my Samsung Galaxy 3 device and I get this error stack:
    [11:54:13 AM] Command-line executed: ["C:\Android\platform-tools\adb", -d, install, -r, "C:\11.1.2.3-POC\TestMobile\deploy\ANDROID_MOBILE_NATIVE_archive1\testmobile.apk"]
    [11:54:13 AM] 5005 KB/s (22577598 bytes in 4.404s)
    [11:54:13 AM] pkg: /data/local/tmp/testmobile.apk
    [11:54:13 AM]
    [11:54:13 AM] Failure [INSTALL_FAILED_INVALID_APK]
    [11:54:13 AM]
    [11:54:13 AM] Command-line execution failed (Return code: 0)
    [11:54:13 AM] Command-line executed: "C:\Android\platform-tools\adb" -d install -r "C:\11.1.2.3-POC\TestMobile\deploy\ANDROID_MOBILE_NATIVE_archive1\testmobile.apk"
    [11:54:13 AM] Deployment cancelled.
    [11:54:13 AM] ---- Deployment incomplete ----.
    [11:54:13 AM] Deployment failed due to one or more errors returned by 'C:\Android\platform-tools\adb'. The following is a summary of the returned error(s):
    Failure [INSTALL_FAILED_INVALID_APK]

    The device is running 4.1.1 and I've tried building the package with these 3 SDKs:
    4.2.2 (API17)
    4.1.2 (API16)
    4.0.3 (API15)
    all return the same error.
    It says I should be able to use: API16 for:
    Platform Version     API Level     VERSION_CODE     Notes
    Android 4.1, 4.1.1      16      JELLY_BEAN      Platform Highlights
    Edited by: kthomas on Apr 1, 2013 12:25 PM

  • When keyboard show-up view didn't resize in Android, ADF Mobile

    Hi Guys,
    Now I was facing with amx page didn't resize when keyboard pop-up, so user cannot scroll for more fields below,
    Btw iOS is normal to resize when keyboard shown.
    How to fix this issue ?

    Hi Frank
    Thanks for reply, I have another issue about android startup performance with release mode, I will send it to you.
    Btw about Android resize view when keyboard show-up, I can fix it but it should include in next release of ADF Mobile.
    My fix is (Thanks for JoeHuang's way to browse Android template file : Google Play Store does not accept ADF Mobile apps for tablets)
    - Navigate to file <JDev Install>/JDeveloper/JDev/Extensions/oracle.adf.mobile/Android/Oracle_ADFmf_Framework.zip
    - Make a backup copy of the zip file
    - Unzip the file, which would extract all files into a "framework" directory
    - Navigate to framework/template/AndroidManifest.template.xml file
    - Change android:windowSoftInputMode value to "adjustResize" Ex. android:windowSoftInputMode="adjustResize"
    - Zip up the framework directory and name zip file as Oracle_ADFmf_Framework.zip, replacing the old one.  Please make sure the zip file has the exact same directory structure as before.
    - In JDeveloper, before deploying the application again, please do a "Clean All" to clean out all old deployment artifacts.
    - Deploy the app again
    After fix, views is automatically resize when keyboard pop-up, but seems weird with navigation bar that will show as it include in view too.
    I don't know why ADF Mobile put android:windowSoftInputMode value as "adjustPan" in manifest file, as Android document said as view will not resize when keyboard showing (Ref: http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft)

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

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

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

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

  • ADF Mobile: Data synchronization

    Hi,
    I'm currently investigating some ADF Mobile related things for a client.
    One of these this is the synchronization of data. Since ADF Mobile (currently) doesn't support something ootb I'm checking my options here.
    What would you guys suggest (maybe an other suggestion)?
    Performance and reliability are important of course.
    Thanks in advance!

    Shay Shmeltzer wrote:
    For offline access you'll want to use the local SQLite DB.
    For synchronization you need decide if you just need a DB to DB synch and then you might be able to use Oracle Database Mobile Server 11g:
    http://www.oracle.com/technetwork/products/database-mobile-server/overview/index.html
    Thanks for your reply, I will take a look at the Oracle Database Mobile Server.
    Edit:
    After reading trough the documentation of Oracle Database Mobile Server (and googling) I found out that there is no support for iOS devices.
    Since we are using ADF Mobile for Android and iOS, we are looking for something that works on both devices.
    Any suggestion?

  • ADF Mobile Tutorial

    Dear All,
    I'm trying to follow the ADF Mobile Tutorial to build an Android application as described in: http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
    (I have just downloaded JDev 11.1.2.3 and ADF Mobile Extension)
    Everything goes well until I get to the point Step 4.3 (the instruction In the Profile Type drop-down list, ensure ADF Mobile for Android is selected and then click OK.)
    My problem is that no such Profile Type can be found in the drop-down. The closest profile available is ADF Mobile Feature Archive.
    Does anybody have a clue what should be changed?
    Thanks, Jiri
    P.S. in another tutorial http://docs.oracle.com/cd/E18941_01/tutorials/BuildingMobileApps/ADFMobileTutorial_1.html I found that "a local keystore before you can use Release mode." My tutorial does not contain anything similar, but I'm OK with the debug mode.

    Open JDev > Tools > Preferences > ADF Mobile (Expand it) > Platforms > Select 'Android'
    Is the Android SDK Location and Android Platform Location filled in? If not, fill those in and retry.

  • Adf faces rich client demo

    I have created the adf faces rich client demo application in
    jdeveloper 11g (11111.0) as explained in the docs .But, I am getting error at the following line in index.jspx
    <af:pageTemplate id="tmplt" viewId="/templates/pageTemplateDefs/demoIndexTemplate.jspx">
    "JSF page template path /templates/pageTemplateDefs/demoIndexTemplate.jspx not found"

    Hi Frank,
    Thanks for your reponse. I'm actually pointing my browser to http://localhost/adffacesdemo/faces/index.jsp. But the Request URI is showing in error message as /adffacesdemo/index.jsp.
    I'm pretty new to ADF, Am I missing something to set in the project properties.
    Thank you
    Praveen

  • Oracle ADF Mobile application is very slow in Android

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

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

  • Error while deploying the ADF Mobile application to the Android Emulator.

    Hi,
    I'm getting an error when trying to deploying a basic helloworld ADF mobile application to my Android sdk emulator which is already running as below.
    I'm not able to make anything from this limited log. Can anyone have a look and help me with what could be wrong.
    Any kind of suggestions are most welcome.
    [06:09:30 PM] Print the version of this tool (1.7).
    [06:09:30 PM] dx --help
    [06:09:30 PM] Print this message.
    [06:09:30 PM] Command-line execution failed (Return code: 1)
    [06:09:30 PM] Command-line executed: "D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat" dex debug keep-classes output="D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes.dex" D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\classes D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\AND_ksoap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\Container.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\IDMMobileSDK.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\logging_dalvik_release.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\phonegap.jar D:\jdevuserhome\111230\ADFMobile\MyMobileApps\ MyMobileApp01\ MyMobileApp01\deploy\ANDROID_MOBILE_NATIVE_archive1\framework\build\jar\vmchannel_dalvik_release.jar
    [06:09:30 PM] Shutting down Android Debug Bridge server...
    [06:09:30 PM] Deployment cancelled.
    [06:09:30 PM] ---- Deployment incomplete ----.
    [06:09:30 PM] Deployment failed due to one or more errors returned by 'D:\1_DevCore\android_sdk\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\dx.bat'. The following is a summary of the returned error(s):
    Command-line execution failed (Return code: 1)
    Thanks,
    Bhasker

    I'm not able to make anything from this limited log.
    For Android emulator logs run the following command.
    adb logcat
    logcat | Android Developers

  • How to test my ADF mobile browser application on Android emulator?

    Hi
    I have created a Mobile Browser Application. Could anyone please tell me how to test it on Android emulator?
    I read the information about downloading and configuring simulators(Blackberry) and emulators(Microsoft Windows) for ADF Mobile browser in "Running Mobile Device Simulators with ADF Mobile and JDeveloper". However they didn't mention details about downloading and configuring "*Android Emulators*". Could anyone please help me in this.
    Regards
    Raja

    Hi,
    thought you want to test a mobile BROWSER application on android emulator you have to use android JDK like mentioned by codigoadf.
    I guess also that the configuration (create virtual android device, ...) will be the same.
    You have to use the same URL for your application than on your PC but replace 127.0.0.1 by 10.0.2.2 (In case your WLS runs on the same machine as the android emulator)
    regards
    Peter

Maybe you are looking for

  • - Recovery Mode Loop... - iTunes Error (9) -

    - Hi - - my iPhone 3GS is Stuck on this Recovery Mode Loop... - i Have Never JailBroken nor Unlocked my Device - It was Purchased Unlocked - but 2 Days ago Whilst Trying to Send an SMS the iPhone Crashed & Now Continually Enters Recovery Mode - - Whe

  • Quick Selection Tool problem

    My Quick Selection Tool seems to be extremely quick to select the entire image.  Even with a very small size and very slow movement, I am having a hard time selecting what I intend to.  I don't remember having this problem a week ago. Is there a sens

  • Well im not able to updated all the events I had in the imovie, HELP

    Well im not able to updated all the events I had in the imovie, HELP

  • AC3 is silent

    I have video that is from a home video. I have made mv2 and ac3 files which import into DVD SP 4 without problems. But there is no sound from the AC3's. Now the ac3 file plays fine with A-Pack and if I decode the file with A-Pack, the resulting R and

  • Dedup my table

    I have a row that shows playtimes for videos. Our app has a bug that allowed duplicate rows. Technically on the db they aren't duplicate because the id's are unique but they have the same asset_num and start_times. I need to weed out all the rows wit