Frequently crash ios application in ADf mobile

Hi,
I have create one application which is working fine in simulator of Iphone. But when i deployed this application in Ipod device. It is frequently crash which is not applicable for any client.
What is reason behind that.
Thanks.
Edited by: 1005041 on May 17, 2013 3:39 AM

Hi, can you please specify what type of iPod devices are you testing with?
Older iPod and iPads have very limited RAM, and application can run out of memory. We would have to look at what model of iPod touch it is, and see if it has enough RAM to run the app.
Thanks,
Joe Huang

Similar Messages

  • Saving Captured picture from ADF Mobile Application into Remote Database

    Hi,
    I am developing adf mobile application by using Device Demo Application from ADF Mobile Samples.I had deployed this application into Android mobile and capturing picture.
    My Question is how can i save this captured pictured into Remote Database.
    Could any one help on this!!!
    Thanks in advance!!
    Regards
    Amar
    Edited by: 973755 on Nov 28, 2012 7:46 AM
    Edited by: 973755 on Nov 28, 2012 7:47 AM

    Hi Joe,
    Thanks for the reply!!
    As per your instructions i created two classes 1.GetConnection.java and 2.PictureBean.java
    in GetConnection.java i written following code
    package Picture;
    import java.sql.Connection;
    import java.sql.SQLException;
    import oracle.adfmf.framework.api.AdfmfJavaUtilities;
    public class GetConncetion {
    public GetConncetion() {
    super();
    protected static Connection conn = null;
    public static Connection getConnection() throws Exception {
    if (conn == null) {
    try {
    // create a database connection
    String Dir = AdfmfJavaUtilities.getDirectoryPathRoot(AdfmfJavaUtilities.ApplicationDirectory);
    String connStr = "jdbc:oracle:thin:@fusion.networks.com:1521:fusion"+Dir+"/DeviceDemo.db" ;
    conn = new SQLite.JDBCDataSource(connStr).getConnection();
    System.out.println("connection*******"+conn);
    } catch (SQLException e) {
    // if the error message is "out of memory",
    // it probably means no database file is found
    System.err.println(e.getMessage());
    return conn;
    and in PictureBean.java the following code i modified..
    package Picture;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import oracle.adf.model.datacontrols.device.DeviceManager;
    import oracle.jdbc.pool.OracleDataSource;
    public class PictureBean {
    public PictureBean() {
    super();
    String src;
    private int quality = 25;
    private int destination = DeviceManager.CAMERA_DESTINATIONTYPE_FILE_URI;
    private int source = DeviceManager.CAMERA_SOURCETYPE_PHOTOLIBRARY;
    private boolean allowEdit = false;
    private int encoding = DeviceManager.CAMERA_ENCODINGTYPE_JPEG;
    private int targetWidth = 0;
    private int targetHeight= 0;
    public void setQuality(int quality) {
    this.quality = quality;
    public int getQuality() {
    return quality;
    public void setDestination(int destination) {
    this.destination = destination;
    public int getDestination() {
    return destination;
    public void setSource(int source) {
    this.source = source;
    public int getSource() {
    return source;
    public void setAllowEdit(boolean allowEdit) {
    this.allowEdit = allowEdit;
    public boolean getAllowEdit() {
    return allowEdit;
    public boolean isAllowEdit() {
    return allowEdit;
    public void setEncoding(int encoding) {
    this.encoding = encoding;
    public int getEncoding() {
    return encoding;
    public void setTargetWidth(int targetWidth) {
    this.targetWidth = targetWidth;
    public int getTargetWidth() {
    return targetWidth;
    public void setTargetHeight(int targetHeight) {
    this.targetHeight = targetHeight;
    public int getTargetHeight() {
    return targetHeight;
    public String GetSource(String result) {
    String src = "";
    if( getDestination() == DeviceManager.CAMERA_DESTINATIONTYPE_DATA_URL ) {
    src = "data:image/gif;base64,";
    src = src + result;
    System.out.println("src value in GetSource is "+src);
    return src;
    public void setSource(String result) {
    PictureBean pb1=new PictureBean();
    String src = "data:image/gif;base64,";
    if( getDestination() == DeviceManager.CAMERA_DESTINATIONTYPE_DATA_URL ) {
    src = "data:image/gif;base64,";
    src = src + result;
    public String GetSource(){
    return src;
    public boolean savePicture() throws Exception {       
    boolean ret=false;
    PictureBean pb=new PictureBean();
    String pic= pb.GetSource();
    try{
    Connection conn=GetConncetion.getConnection();
    conn.setAutoCommit(false);
    String insertSQL ="INSERT INTO IMAGE(ID,PIC) VALUES(?,?)";
    PreparedStatement pStmt = conn.prepareStatement(insertSQL);
    pStmt.setInt(1, 1);
    pStmt.setString(2,pic);
    pStmt.execute();
    conn.commit();
    ret = true;
    }catch (SQLException e) {
    System.err.println(e.getMessage());
    } catch (Exception e) {
    System.err.println(e.getMessage());
    return ret;
    and i created one button in Result.amx page and in Action Listener i had given #{bindings.savePicture.execute} and deployed into Android mobile.But i am neither getting error nor getting save picture into database.
    while i run PictureBean.java class alone the following exception occurred.
    "E:\ADF R2\jdk160_24\bin\javaw.exe" -client -classpath "C:\JDeveloper\mywork\DeviceDemo\.adf;C:\JDeveloper\mywork\DeviceDemo\ViewController\classes;E:\OracleJdbc\ojdbc14_g.jar;E:\OracleJdbc\ojdbc14.jar;E:\OracleJdbc\ojdbc.jar;C:\Users\Amar\Downloads\ojdbc6_g.jar;C:\Users\Amar\Downloads\ojdbc6.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-databinding-rt.jar;E:\ADF R2\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar;E:\ADF R2\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar;E:\ADF R2\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar;E:\ADF R2\oracle_common\modules\oracle.adf.share_11.1.1\adflogginghandler.jar;E:\ADF R2\oracle_common\modules\oracle.idm_11.1.1\identitystore.jar;E:\ADF R2\oracle_common\modules\oracle.xdk_11.1.0\xmlparserv2.jar;E:\ADF R2\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar;E:\ADF R2\oracle_common\modules\groovy-all-1.6.3.jar;E:\ADF R2\oracle_common\modules\oracle.ldap_11.1.1\ojmisc.jar;E:\ADF R2\oracle_common\modules\oracle.adf.share_11.1.1\commons-el.jar;E:\ADF R2\oracle_common\modules\oracle.adf.share_11.1.1\jsp-el-api.jar;E:\ADF R2\oracle_common\modules\oracle.adf.share_11.1.1\oracle-el.jar;E:\ADF R2\oracle_common\modules\oracle.xmlef_11.1.1\xmlef.jar;E:\ADF R2\oracle_common\modules\oracle.bali.share_11.1.1\share.jar;E:\ADF R2\modules\com.bea.core.apache.xercesImpl_2.8.1.jar;E:\ADF R2\modules\javax.activation_1.1.0.0_1-1.jar;E:\ADF R2\modules\javax.mail_1.1.0.0_1-4-1.jar;E:\ADF R2\modules\glassfish.jaxb_1.0.0.0_2-1-12.jar;E:\ADF R2\modules\javax.xml.bind_2.1.1.jar;E:\ADF R2\oracle_common\modules\oracle.adf.model_11.1.1\adftransactionsdt.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\adf-dt-at-rt.jar;E:\ADF R2\oracle_common\modules\oracle.adf.model_11.1.1\adfdt_common.jar;E:\ADF R2\oracle_common\modules\oracle.adf.model_11.1.1\adflibrary.jar;E:\ADF R2\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar;E:\ADF R2\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar;E:\ADF R2\oracle_common\modules\oracle.adf.security_11.1.1\adf-share-security.jar;E:\ADF R2\oracle_common\modules\oracle.adf.security_11.1.1\adf-controller-security.jar;E:\ADF R2\oracle_common\modules\oracle.adf.share_11.1.1\adfsharembean.jar;E:\ADF R2\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;E:\ADF R2\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;E:\ADF R2\oracle_common\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar;E:\ADF R2\oracle_common\modules\oracle.javatools_11.1.1\resourcebundle.jar;E:\ADF R2\oracle_common\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;E:\ADF R2\oracle_common\modules\oracle.jps_11.1.1\jps-api.jar;E:\ADF R2\oracle_common\modules\oracle.jps_11.1.1\jps-common.jar;E:\ADF R2\oracle_common\modules\oracle.jps_11.1.1\jps-ee.jar;E:\ADF R2\oracle_common\modules\oracle.jps_11.1.1\jps-internal.jar;E:\ADF R2\oracle_common\modules\oracle.jps_11.1.1\jps-unsupported-api.jar;E:\ADF R2\oracle_common\modules\oracle.jps_11.1.1\jps-manifest.jar;E:\ADF R2\oracle_common\modules\oracle.jps_11.1.1\jacc-spi.jar;E:\ADF R2\oracle_common\modules\oracle.pki_11.1.1\oraclepki.jar;E:\ADF R2\oracle_common\modules\oracle.osdt_11.1.1\osdt_core.jar;E:\ADF R2\oracle_common\modules\oracle.osdt_11.1.1\osdt_cert.jar;E:\ADF R2\oracle_common\modules\oracle.osdt_11.1.1\osdt_xmlsec.jar;E:\ADF R2\oracle_common\modules\oracle.osdt_11.1.1\osdt_ws_sx.jar;E:\ADF R2\oracle_common\modules\oracle.iau_11.1.1\fmw_audit.jar;E:\ADF R2\modules\javax.security.jacc_1.0.0.0_1-1.jar;E:\ADF R2\oracle_common\modules\oracle.mds_11.1.1\mdsrt.jar;E:\ADF R2\oracle_common\modules\oracle.mds_11.1.1\oramds.jar;E:\ADF R2\modules\javax.servlet_1.0.0.0_2-5.jar;E:\ADF R2\modules\javax.jsp_1.2.0.0_2-1.jar;E:\ADF R2\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;E:\ADF R2\oracle_common\jlib\commons-cli-1.0.jar;E:\ADF R2\oracle_common\modules\oracle.dms_11.1.1\dms.jar;E:\ADF R2\oracle_common\modules\oracle.xdk_11.1.0\xml.jar;E:\ADF R2\oracle_common\modules\oracle.javacache_11.1.1\cache.jar;E:\ADF R2\oracle_common\modules\oracle.ucp_11.1.0.jar;E:\ADF R2\oracle_common\modules\oracle.odl_11.1.1\ojdl.jar;E:\ADF R2\oracle_common\modules\oracle.javatools_11.1.1\javatools-nodeps.jar;E:\ADF R2\modules\javax.management_1.2.1.jar;E:\ADF R2\modules\javax.management.j2ee_1.0.jar;E:\ADF R2\jdeveloper\ide\macros\..\..\..\oracle_common\modules\oracle.nlsrtl_11.1.0\orai18n.jar;C:\Users\Amar\Downloads\commons-codec-1.7-bin.zip;C:\Users\Amar\Downloads\commons-codec-1.7-src.zip;E:\ADF R2\oracle_common\modules\oracle.adf.model_11.1.1\dvt-databindings-mds.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\dvt-databindings.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\dvt-facesbindings.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-api.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-impl.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-api-11.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\adf-dynamic-faces.jar;E:\ADF R2\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-changemanager-rt.jar;E:\ADF R2\oracle_common\modules\oracle.facesconfigdt_11.1.1\facesconfigmodel.jar;E:\ADF R2\oracle_common\modules\oracle.facesconfigdt_11.1.1\taglib.jar;E:\ADF R2\modules\glassfish.el_1.0.0.0_2-1.jar;E:\ADF R2\oracle_common\modules\oracle.jsf_2.0\jsf-api.jar;E:\ADF R2\oracle_common\modules\oracle.jsf_2.0\jsf-impl.jar;E:\ADF R2\modules\glassfish.jstl_1.2.0.1.jar;C:\Users\Amar\Downloads\jndi-properties.jar.zip;C:\Users\Amar\Downloads\jndi-1.2.1.jar.zip;C:\Users\Amar\Downloads\h2-1.3.149.jar.zip;C:\Users\Amar\Downloads\Android\h2-1.3.149.zip;C:\Users\Amar\Downloads\Android\android\app;C:\Users\Amar\Downloads\Android\android;C:\Users\Amar\Downloads\Android" -Djavax.net.ssl.trustStore=C:\Users\Amar\AppData\Local\Temp\trustStore7108102737679976193.jks Picture.PictureBean
    Source value is null
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/adfmf/framework/api/AdfmfJavaUtilities
         at Picture.GetConncetion.getConnection(GetConncetion.java:24)
         at Picture.PictureBean.savePicture(PictureBean.java:140)
         at Picture.PictureBean.main(PictureBean.java:189)
    Caused by: java.lang.ClassNotFoundException: oracle.adfmf.framework.api.AdfmfJavaUtilities
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
         ... 3 more
    Process exited with exit code 1.
    i already imported AdfmfJavaUtilities package dont know why it showing exception.
    and while i am debugging the GetConnection.java value of 'Dir' is null.i am not getting what is the AdfmfJavaUtilities.ApplicationDirectory?
    Could you help on this!!
    Thanks & Regards
    Amar

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

  • ADF Mobile: Handling wildcard certificates by GeoTrust

    Hello.
    We have developed an application with ADF Mobile and seem to be stuck at the SSL certificate for our webservice.
    We have lists of items that are filled by a java method connecting to a REST webservice. This service is secured by a wildcard certificate rather than a normal one.
    Can it be that ADF Mobile's JVM can't handle the wildcard certificates? I get the error
    javax.microedition.pki.certificateException: Certificate was issued by an unrecognized entity.
    Our certificate was issued by GeoTrust and is valid until 2015. It shouldn't be an "unrecognized entity" then right?
    Thanks for any help!
    Pascal

    Okay so these two things give me big trouble:
    First, the JVM (J2ME Spec) doesn't include any API's to disable SSL verification as can be found here:
    Re: How to Trust All SSL Certificates? (Disable Validation)
    Also The RestServiceAdapter probably uses HttpConnection class which doesn't support wildcard SSL certs. The problem is known as can be read here:
    http://www.sslshopper.com/article-wildcard-ssl-certificate-pros-and-cons.html
    So...if the backend uses a wildcard cert and this can't be changed and the webservice has to be secured, adf mobile is no good :(

  • Webcenter Portal Support for ADF Mobile Browser

    Hi All,
    I am currently working on an ADF Mobile Browser Application for WebCenter Portal.
    The main issue I face is that WebCenter has some really powerful taskflows and connectors. Is it possible for us to make use of these taskflows in ADF mobile browser? It seems that when used within the trinidad framework, the taskflows are broken.
    I understand from documentation that "Except for page fragments, pop-up in dialogs, and region support, you can use the ADF task flow to develop ADF Mobile browser applications. ADF Mobile browser application that use the ADF task flow only support the trinidad-simple skin family"
    Does this mean that taskflows that use the page fragments, pop up dialogs dont work or that you cant use them within jsff and pop ups?
    Sincerely appreciate any help! thanks

    Hi,
    You can reuse taskflows but you need to modify jsff pages with trinidad components.
    Thanks,
    Minal

  • Publishing ADF Mobile App to Google Play

    Hi,
    I wrote an application in ADF Mobile, and I published it to Google Play.
    When I try to install it on some devices from Google Play (Nexus 7 for example) I get the following error: "Your device isn't compatible with this version error message".
    I also tried to install "El Perico" app (https://play.google.com/store/apps/details?id=com.synergetic.EPMobile&feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5zeW5lcmdldGljLkVQTW9iaWxlIl0.) and I got the same error.
    When I download the app to the device and install it manually, it works perfectly.
    How can I disable any limitation on this app?
    Thanks,
    Yossi

    Hi,
    I found the issue.
    Nexus 7 lacks backward camera, so it was not compatible to this device.
    I removed from Android manifest all the unnecessary required permissions, and it works like a charm.
    Thanks,
    Yossi

  • ADF Mobile: Network Error

    Hi,
    I am getting following error while running an app on Android Emulator.
    NETWORK_ERR:
    XMLHttpRequest Exception 101When this type of error come ?
    Regards,
    Ajay Sharma

    Hi,
    No. I am trying to test sample application of ADf Mobile "CompGallery" . When I am deploying it on emulator at that time I am getting this error.
    Regards,
    Ajay

  • How to find MAC-Address of a device using ADF mobile?

    Hi,
    I am developing an mobile application using ADF Mobile. The application necessitates the use of MAC Address for further development.
    Android SDK provides an easy way to find the MAC Address as:
    WifiManager wifiManager = (WifiManager) getSystemService(Context.WIFI_SERVICE);
    WifiInfo wInfo = wifiManager.getConnectionInfo();
    String macAddress = wInfo.getMacAddress();
    Is there a similar way in ADF mobile to retrieve the MAC Address of the device?
    Regards,
    Joseph

    This cant be done.

  • ADF-Mobile app will not rotate in iOS simulator or device

    We have been coding an ADF-Mobile app in JDeveloper and testing on both a Motorola tablet and an iPad.
    Both our application, as well as the demo "Deployment Successful" (found here: http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_1.html) application rotate fine from portrait to landscape and back on the Motorola device, however, the same code will not rotate on an iPad.
    I understand that the device orientation functionality is controlled in the deployment profile. I have been successful with forcing my app to launch in landscape mode OR portrait mode (By deselecting both portrait settings or both landscape settings, respectively in my deployment profile) however, when I leave all 4 enabled, my app seems to be locked in right-side-up portrait mode (It will not even rotate between portrait modes)
    Has anyone experienced this issue with iOS devices and the rotation functionality, and if so, is there a workaround?
    Any help is appreciated
    Gord Taylor

    Hi,
    There is a known issue when you use Xcode 4.5 and iOS SDK 6 to compile your app - the app would not rotate correctly. If you use Xcode 4.4.1 and the associated SDK, then rotation will work fine on both iOS 5 and 6 devices.
    Xcode 4.5 certification should be coming soon - for now please try to use 4.4.
    If you are already using 4.4, please let me know and perhaps there are configuration issues.
    Thanks,
    Joe Huang

  • ADF Mobile selectManyCheckbox ios behavior

    Hello,
    I'm using Jdev 11.1.2.4.39.64.36 and developing a mobile app using ADF Mobile. I'm deploying to Iphone (4 and 5) and Samsung Galaxy S3 (Android 4.1.2).
    Use case: i have a list with many items and i have to scroll and select one or many items within selectManyCheckbox component
    It seems that the selectManyCheckbox is not working properly on IOS devices.
    When i scroll on the Iphone the item gets checked just by scrolling the page. The normal behavior would be scrolling the page first (the item remains unchecked) and then click the item wich i'm looking for (the item gets marked/checked).
    I have tested with the CompGallery Sample provided with JDeveloper.
    In this demo there´s a Text & Select page and selectManyCheckbox component.
    I've included something like 20 items just to be possible to scroll the page. On my android device worked nicely! On my Iphone i got that behavior described above.
    Any help?
    Thanks

    Hi Vik,
    If you have the webservice WSDL, you can use SOAP UI, create a Mock Service and use that one for testing.
    Soap UI has a feature to create a mock service. Basically a stub web service, based upon a WSDL.
    In this mock service, you can define the response that is sent back upon a request, so you can test your application with 'live' data.
    With this mock service, you can create a data control based on the web service in JDeveloper and use this one for testing.
    Regards Luc

  • Oracle ADF Mobile Applications

    Dear Experts,
    Please tell me details of which mobile set is compatiable/suitable for Oracle ADF Mobile Applications. as I am working on Oracle ADF.
    I have to test some Oracle ADF Mobile Applications on mobile.
    Thanks in Advance.
    Shiv Naresh Gupta
    08795317510

    Excerpts from http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfmobilefaq-1866697.pdf
    Both iOS (5.x and above) and Android (2.3.x and above) devices are
    supported. Furthermore, both the tablet and smart phones running
    these mobile operating systems are supported.So basically any handset which supports this version of OS should do. Please check how to deploy etc. in the docs to get more idea.

  • ADF Mobile - getPicture function in iOS

    Hello Everyone,
    We are using getPicture method in ADF Mobile to take photos in our application. Problem is that the function is returning a tmp path in iOS and the photos are deleted once the application is closed. How can we store the photos permanently? Do we need to copy and save them somewhere else once they are stored or is there a better way to do it?
    Any suggestion would be helpful.
    Thanks

    Hi,
    this thread on StackOverflow explains this to be a limitation with Phonegap / Cordova get Picture() , which is used internally by ADF Mobile.
    http://stackoverflow.com/questions/8514560/ios-phonegap-camera-cant-save-image-to-photo-library
    The work around according to this thread is to use caprureImage from JavaScript
    navigator.device.capture.captureImage(onSuccess,
      onFail,
      limit: 1
    Unfortunately this seems to require plugin support,which in ADF Mobile will be added to the next release
    Maybe, as an alternative,  try and read the image in from the temp directory and try to explicitly write it somewhere else. The code is in this chapter for a remote file access and view
    http://docs.oracle.com/cd/E37975_01/doc.111240/e24475/amxbinding.htm#CHDFDBJG
    Frank
    Message was edited by: FrankNimphius

  • ADF Mobile application and DMS synchronization

    Hi all,
    I'm working on a demo based on a multi-platform mobile application working mostly offline (using a local database which must be manually synced when the device is online).
    I've started watching at ADF Mobile Framework and Oracle Database Mobile Server.
    Now I'm a little confused about how these two components interact each others.
    Looking at some video/documentation I see that using ADF MF I can create a mobile APP for iOS/Android writing pure java code. Then I can deploy the application using a deployment profile to obtain my application, ready to be installed on my device.
    The question is, how my mobile app can be kept synced to a MW running DMS?
    I've read Invoking Synchronization in Applications With the Mobile Sync APIs,  Using an Android Application on the SQLite Mobile Client , Integrate ADFm applications into Database Mobile Server
    but I didn't get how that is supposed to work.
    It seems like I have to add osync_me.jar library to my project, set parameters for my ose.ini file (using SetParam.run) then create a OSESession and use sync() method. This is supposed to get from DMS delta modification and put into it my modifications performed locally.
    That's it? Do I need something more?
    Here How to Integrate Oracle Adf Mobile App and DMS? there's a very similar question without public response, is there any detailed documentation about this topic?
    thank you all

    Thank you for the answer.
    The link you suggested is the one where I've found http://www.oracle.com/technetwork/database/database-mobile-server/documentation/dmstoadfm-2228124.pdf
    Looking at that document it seems I should import libraries, edit programmatically ose.ini and than invoke OSESession.sync() using my user e pass as stated in my previous post, and everything is supposed to work fine.
    But I'm a bit confused because looking at more tutorials and documentation I saw more steps like application publication through mobile server (packaging wizard), installation of oracle update app on mobile device and so on... and I didn't get what these steps are useful for and if they are mandatory for ADFm developed app too? (I'm referring to Database Mobile Server Demonstration - YouTube for example)
    Thank you

  • Using database views in ADF mobile client application

    Hi,
    I am using Jdeveloper 11.1.1.4 and WLS 10.3.4.
    I have developed a POC in ADF mobile client application both with and without synchronization. However, both work with entity objects based on tables.
    I need to use database views instead of tables. When I try to include entity object (based on views) in the view object, it shows an error saying "Only the entity objects based on tables can be selected"
    Please guide me if there is a work around for this.
    Also, please let me know if there is way to develop an ADF mobile client application skipping the use of entity objects at all and using view objects directly to specify the database query and fetch data from the database.
    Thanks in advance.
    Ansh
    Edited by: ansh on Mar 28, 2011 5:40 AM

    Hi, Ansh:
    Currently, out of box, ADF Mobile Client does not support synchronization against Database Views. This is because Mobile Server imposes some schema restrictions to ensure synchronization with multi-table views would work correctly. This schema restriction requires, for example, the view must have a primary parent table with key defined, and also all base table must be included in the data publication. These dependencies requires manual resolution and advanced planning, and is managed outside of the ADF Mobile Client/JDeveloper project.
    To continue development, you would need to create server Entity Objects directly against the base tables. You can then create the mobile ADF Business Component (EOs, VOs, etc). You can then create View Objects in your ADF Mobile Client application based on the database views, in order to retrieve the data you need exactly. In other words, instead of basing EO on the database view, create View Objects in the mobile applicaiton to mimic what you had in the View Object.
    Is there any other reason why you would need to access data via database views, instead of directly against base tables?
    Thanks,
    Joe Huang

  • 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

Maybe you are looking for

  • Hide Explorer window called using WEB.SHOW_DOCUMENT()

    I've created a JSP which creates and saves a PDF into the database. I call this JSP using web.show_document as a result of which an explorer window is opened,which is not what I want. I want to use the JSP functionality in the background not making t

  • Where does itunes download iphone IOS update in windows 8

    where does itunes download iphone IOS update in windows 8. folder location? I want to avoid the update and wnat to delete the download update that i made to my computer. I want to retsore from backup but keeps asking me to update and i dont want to u

  • Hi, I would like to buy CS 2 for my older G4 or G5 imacs, Is CS 2 still supported, and do I still need an activation code?

    Hi, I would like to learn to use CS 2 or parts of it and I'm wondering what all I would need to do this? I have the older ppc macs, and osx 10.3.8.. I figure it would be a great way to learn how to use the software without investing too much cash unt

  • DROP_QUEUE_TABLE problem

    Hi, I created a queue and, after some "enqueues" and "dequeues", for any operation I try to do on the queue, oracle send this error message: ORA-25232: duplicate recipients specified for message ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2699 ORA-06512

  • Custom Trigger help needed

    How do I include values from existing recordsets in a SQL statement within a Custom Trigger? For example, my page has a few recordsets. Assume one of the recordsets tells me what state the current user lives in. $row_rsCurUsr['state'] There is an Ins