ADF Mobile: Disconnect without message

Is there functionality to disconnect without the message that the application ends?  This message is not friendly for our user base.  MSG = "disconnection has been launched.  Application will take end."with a stop button.

I had the time cela by creating a disconnect bean calling System.exit().

It probably isn't ideal, but seems to work pretty well, I agree the disconnect message is an annoyance and should not be there.

Rich.

Tags: Java

Similar Questions

  • 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: 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: Create contact

    I am trying to add the functionality of contact to create my mobile app and followed the instructions here - http://www.youtube.com/watch?v=kpkJDeRH2ys

    I created a bean managed and added the following code:

    {} public void newPhoneContact (ActionEvent actionEvent)

    DeviceManager device = DeviceManagerFactory.getDeviceManager ();

    Contact = new Contact();

    ContactName, contactName = new ContactName();

    contactName.setFamilyName ("Doe");

    contactName.setGivenName("John");

    contact.setName (contactName);

    ContactField phoneNo = new ContactField();

    phoneNo.setType ("mobile");

    phoneNo.setValue("815-000-0000");

    ContactField [] phoneNos = new ContactField [] {phoneNo};

    contact.setPhoneNumbers (phoneNos);

    Contact newContact = device.createContact (contact);

    }

    When I run the application, nothing happens, and there is no error message in the logs. Page AMX code is:

    "< amx:commandButton id ="cb6' icon="/images/add_contact.png '.

    actionListener="#{viewScope.newContact.newPhoneContact}"/ >

    I don't know if I'm missing something here.

    Any help is appreciated.

    Thank you

    I checked this with success in JDev ADF Mobile 11.1.2.4.39.64.64 against XCode 5.0.2 & iOS Simulator 7.0 11.1.2.4.0 and separately 4.2.2 Android API level 17.  It works on both platforms.

    Please indicate which versions of platforms and software that you use, you deploy too.  More information the better.  It is also important on iOS when first invited to allow the application to access the contacts on the unit you click Yes.

    CM.

  • ADF Mobile: Mobile Agent SSO Integration?

    Hello

    If I understand correctly, security for native mobile applications supports only basic authentication against the application connection server.

    (I use ADF Mobile 11.1.2.4.39.64.62)

    Are there plans for the integration of the Agent of SSO Mobile?

    Thanks a lot for the info and best greetings

    Daniel

    Hello.

    You are right; Basic authentication is everything you have right now. We aim to provide a wide range of modes of authentication, but also a tighter integration with Oracle Access Manager, disclosed in the future.

    It is possible to make applications on the device SSO by deploying Oracle Mobile Security (formerly Bitzer Mobile). This work between several ADF Mobile applications and even other types of custom applications. It works without having to change the applications themselves.

    Frédéric Desbiens

    Mobility and Chief of product development tools

    Twitter: @BlueberryCoder

    blog: http://blogs.oracle.com/blueberry

  • ADF Mobile: Can't update thread timer outputText...

    Hello

    I'm rather new on ADF Mobile and I write an application where I need a timer to update the screen at different intervals. But for some reason any the outputText is not being updated on the wire from the timer. The following code reflects the code in my application that does not work:

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < amx:view xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "xmlns:amx =" " http://xmlns.Oracle.com/ADF/MF/AMX "" "

    ' xmlns:dvtm = ' http://xmlns.Oracle.com/ADF/MF/AMX/DVT "> "

    < amx:panelPage id = "pp1" >

    < amx:facet name = "header" >

    < amx:outputText value = "Header" id = "ot1" / >

    < / amx:facet >

    < amx:facet = "primary" name >

    < amx:commandButton id = "cb1" / >

    < / amx:facet >

    < amx:facet = "secondary" name >

    < amx:commandButton id = "cb2" / >

    < / amx:facet >

    < amx:outputText value = "#{bindings.name.inputValue}" id = "ot3" / > "

    < amx:commandButton text = "commandButton1" id = "cb3" actionListener = "#{MrBean.buttonPushed}" / >

    < / amx:panelPage >

    < / amx:view >

    mobile plan;

    import java.util.Timer.

    java.util.TimerTask to import;

    Import javax.el.ValueExpression;

    Import oracle.adfmf.amx.event.ActionEvent;

    Import oracle.adfmf.framework.api.AdfmfJavaUtilities;

    public class {Antoine

    Timer;

    public MrBean() {}

    {} public void buttonPushed (ActionEvent actionEvent)

    ValueExpression svarErRigtigt = AdfmfJavaUtilities.getValueExpression ("#{bindings.name.inputValue}", String.class);

    svarErRigtigt.setValue (AdfmfJavaUtilities.getAdfELContext (), "push button");

    Timer = new Timer();

    Timer.Schedule (new RemindTask(), 3 * 1000);

    }

    class RemindTask extends TimerTask {}

    public void run() {}

    ValueExpression svarErRigtigt = AdfmfJavaUtilities.getValueExpression ("#{bindings.name.inputValue}", String.class);

    svarErRigtigt.setValue (AdfmfJavaUtilities.getAdfELContext (), "New thing happening");

    Timer.Cancel ();

    }

    }

    }

    So when I push the button and then "pushed" shows on the screen, but the "new thing happening" message does not display after 3 seconds as expected. Can someone explain why this is and how to fix the code so that it works (I tested the run method is called after 3 seconds when trying to include a statement System.exit (0)). Thank you

    AdfmfJavaUtilities.flushDataChangeEvent () is mentioned here:

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

    Provider and property change listeners are discussed in Chapter 8 of the guide:

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

    He thinks the reason why overview AMX works currently in Linux is that it uses JavaFX under the hood and there are problems with the implementation on this platform. I checked an internal construction of the next version of the extension, which runs on top of JDeveloper 12 c. The AMX preview worked properly on my Oracle Linux 6.4 VM. Of course, it is not an official statement by Oracle and our plans can change at any time.

    Best regards

    Frédéric.

  • County of 'badge' or bubble in Oracle ADF Mobile


    Hello

    Can someone give me a sample of strategy of the County 'badge' or bubble in Oracle ADF Mobile?

    Thank you.

    Hello

    For what I can see there is no such thing for mobile of the box (I hope someone will correct me). For now, you will need to implement your own component using css and so on. The link that I sent is the app icon badge (and it's just for iOS). As for example when you receive new messages and shows you the number of new messages in the application icon. If you find something, please let us know.

    Concerning

  • ADF Mobile Application to filter sms

    Hello ADF Experts.

    In the ADF, Mobile Application, we could use some features of the device / Device Manager to send text messages, emails, etc..

    Can we build a capacity in mobile application to filter the sms messages received in mobile by keywords and to send the text message to certain URL via a HTTP POST request callback.

    Help with this would be appreciated. Thanks in advance.

    Kind regards

    Dexell

    Hello

    ADF Mobile has no access to the SAM. When you send an SMS then you actually call the customer request (no matter what your mobile uses for texting) and pass strings to the URL schema. This does not, however, a two-way API, you can use to read the SMS of ADF Mobile or invoke any kind of recall

    Frank

  • Play Google store does not accept the ADF Mobile apps for tablets

    My ADF Mobile app is published on the Google game, but he says that the app is not compatible with the tablets, for the following reasons:

    1. properly target the Android Versions

    I fixed this by going into the properties of the Application > deployment > Android profile > edit > Options Android > change target SDK API level from 9 to 14.

    Note to the ADF Mobile Team: I recommend that you change the default target SDK API level from 9 to a higher level (Google recommends 14 today).

    2. correctly report physical dependencies

    I understand the problem, but I need help to find a good solution.

    The problem is, when ADF Mobile deploys on the package, it creates an AndroidManifest.xml file and since my application uses SMS, it necessarily adds a < permission > element for telephony.  In general, approval will be "implies" that phone is a "requirement of functionality of the material" unless we also add an element of <>uses feature corresponding with android: required = "false".  However, ADF Mobile not set the < uses > function in the AndroidManifest.xml.

    Does anyone know a good solution for this?  (I searched for a way to configure this in ADF Mobile and in the docs, but it found nothing. "And I can't manually change the AndroidManifest.xml because ADF Mobile it creates in the middle of the deployment process).

    3. take advantage of the extra screen available on shelf area

    I have no start troubleshooting this in detail yet, but I'm curious to know how the Google game store, determines exactly?

    Anyway, if anyone can help me with #2, I would be grateful.  Thank you!

    Patrick

    Edit: Title changed this message, because I believe it is a more serious current problem.  Will respond with more information soon.

    Hi, Patrick, recently Google game made a number of changes, so it is much stricter in terms of supported Android.  Successfully, we applied workarounds and found the combination that seems to work for Google play.  Here are the details based on your questions:

    (1) the level of the API should not matter as long as it's 9 or above - 9 is the current default value.  Nothing specific in ADF Mobile that requires the level more high API.  However, if you are interested you should limit your application to 4.x devices, you can set the minimum and target API level accordingly to assert that.

    (2) by default, ADF Mobile says all the permissions of the device which may potentially be required by the framework.  This is why, for example, even if the application accesses a camera, the AndroidManifest.xml file will still contain references to the permissions of the camera.  Possibility to choose the correct hardware permissions selectively is planned for the next version of Mobile of the ADF.  In the meantime, you can change the AndroidManifest.xml file template in an extension of the ADF Mobile as the workaround.

    (3) Google game uses the element of "Supports the screen" in the file AndroidManifest.xml to determine what factors shape/devices are supported.  Summary of form factors supported and densities are described here: supporting multiple screens | Android developers.  ADF Mobile supports the display of different density already.  In what concerns the size of the screen, you must add the element "supports the screen" in the model of manifest file xml for the size of the screen that you want to support.  For example, if you want to add in support of all devices:

    Android: normalScreens = 'true '.

    Android: largeScreens = "true".

    Android: xlargeScreens = "true" / >

    The Android site would give you definitions of what mean these sizes.

    Finally, here are the instructions on changing the template AndroidManifest.xml:

    -Access file /JDeveloper/JDev/Extensions/oracle.adf.mobile/Android/Oracle_ADFmf_Framework.zip

    -Make a backup copy of the zip file

    -Unzip the file, which would be to extract all files in a directory of 'framework '.

    -Navigate to the framework/template/AndroidManifest.template.xml file

    -Use a text editor to change the permissions of the device, as well as the addition of the screen element supports as indicated above.

    -Zip up the framework directory and name the file zip as Oracle_ADFmf_Framework.zip, replacing the old.  Please make sure that the zip file has the same directory structure exactly as before.

    -In JDeveloper, before you deploy the application, please do a "Clean All" to clean up all the old objects deployment.

    -Deploy the application - the application should now be visible for tablets, as well as with adequate permissions.

    -Download the application on Google game - no further action is necessary in the game of Google around form factors supported and the permissions of the device.

    Now the Android deployment process does not additional validation for the device permissions are actually necessary, therefore, to ensure that these are properly defined.

    I'll also cross post this on the blog of the ADF Mobile team.

    Thank you

    Joe Huang

  • ADF Mobile: Could not find property inputvalue in class Java.Math.BigDecimal

    I tried to add an element of input text to display in the list like below and received an error message when you navigate away from the text entry field.

    "Can't find property inputvalue in class Java.Math.BigDecimal.

    Can someone show me some pointers on what's wrong with the code below.

    JDEV Version: 11.1.2.4

     <amx:listView var="row" value="#{bindings.Empdtls.collectionModel}"
                            fetchSize="#{bindings.Empdtls.rangeSize}" styleClass="adfmf-listView-insetList"
                            id="lv1" editMode="true">
                <amx:listItem id="li1">
                  <amx:tableLayout width="100%" id="tl1">
                    <amx:rowLayout id="rl1">
                      <amx:cellFormat width="10px" id="cf3"/>
                      <amx:cellFormat width="60%" height="43px" id="cf2">
                        <amx:outputText value="#{row.ClassCode}" id="ot3"/>
                      </amx:cellFormat>
                      <amx:cellFormat width="10px" id="cf4"/>
                      <amx:cellFormat width="40%" halign="end" id="cf1">
                        <amx:inputText value="#{row.bindings.Salary.inputValue}" simple="true" id="it41"/>
                      </amx:cellFormat>
                    </amx:rowLayout>
                  </amx:tableLayout>
                </amx:listItem>
              </amx:listView>
    

    Hello

    #{row.bindings.Salary.inputValue) is not an affair in ADF Mobile Access.} Use #{rank. Salary} instead.

    Frank

  • ADF Mobile: connect with the web application

    Hello

    I'm starting the age of mobile application. (my version of jdeveloper is version 11g 2)...

    I need to know is easy to create applications mobile adf in the ADF web application?

    With regard to this demo:- http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/ADFMobile/adfmobile.htm how can I adopt for my needs?

    My web application is Version 11.1.2.2.0. So without re-creating this application in higher version (Version 11.1.2.3.0), can't do Mobile App?

    hopping all coordinated to solve my problem...

    Thank you.

    Sorry for the late reply. The ADF webapplication can be made in any version of JDev, since it is just a web service 'plain '. ADF Mobile is supported only 11.1.2.3 (or), but they (the web service and mobile application) do not have to be developed using the same version of JDev.

  • Problem with ADF Mobile on Android

    Hello

    I am trying to perform a very simple test with adf mobile on android emulator.

    But when I try to open the application, the startup screen never changes.

    Only when I go to the menu and go back to the application in the menu device, it shows the main screen.

    And...

    When I try to open a page very simple amx, the app launch a message that says:

    Failed to initialize the AdfcContext {classname: oracle.adfmf.framework.api.Model; method: pushPageFlowScope; params: ;}}

    Can someone help me?

    I use:

    Framework Mobile ADF oracle.adf.mobile 11.1.2.4

    SDK Android 22

    Message: http://db.tt/mIqcekCI

    Journal: http://db.tt/0frlguNq

    Thank you!

    Hi, there, a number of things to double check your settings of the emulator:

    • When the Android emulator configuration, make sure that the emulator emulates the ARM processor (armeabi - v7).  ADF Mobile works only with the ARM processors - device so the emulator.
    • Under Options, memory, please ensure that RAM is at least 768 or higher.  It is of course also constrained by the amount of memory that your development computer has, but in general, you should have at least 768 MB allocated.  ADF Mobile app itself will almost RAM of course, but there are lots of Android apps that are started in the background when the Android emulator starts.
    • Also make sure, there are 500 MB of internal storage configured - you can go as low as 200 MB, but the space will be quickly.

    Finally, compile/deploy again, please open JDeveloper menu Build - Clean all to clean up any left over deployment artifacts.

    Thank you

    Joe Huang

  • Need to download ADF mobile Extensionfor jdeveloper version11.1.2.4.39.64.3

    I want to download the link to ADF mobile extension for jdeveloper version 11.1.2.4.39.64.36.1 as when I downloaded the extension from the following link
    http://download.Oracle.com/OTN-pub/JDeveloper/11.1.2.4.0/extensions/ADF-mobile_bundle.zip
    and I tried to install this add-on that has appeared this error message
    oracle.jdeveloper     min=11.1.2.4.39.64.36, max=11.1.2.4.39.64.36     11.1.2.4.39.64.36.1
    can someone help me because I can't download it from jdeveloper update due to proxy issue I want to download link of this extension of the version.
    Thanks in advance.

    You can get it here:
    http://www.Oracle.com/ocom/groups/public/@OTN/documents/WEBCONTENT/131167.XML#Oracle.ADF.mobile

  • ADF Mobile tutorial

    Dear all,

    I'm trying to follow the Mobile ADF tutorial to build an Android application as described in: http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
    (I just downloaded JDev 11.1.2.3 and ADF Mobile Extension)

    Everything is fine until I get to the step of the point 4.3 (the statement in the profile Type drop-down list, ensure the ADF Mobile for Android is selected, and then click OK.)

    My problem is that without this Type of profile is located in the menu dropdown. The closest available profile is ADF Mobile feature Archive.

    Does anyone have an idea what needs to 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 keystore local until you can use the release mode. My tutorial does contain anything similar, but I'm OK with the debug mode.

    You perform the deployment from the wrong place. Go to the Application-> deployment in the menu. Not at the project level.

  • ADF Mobile: EL nested

    Hello

    I use ADF Mobile to develop a mobile application (so JDev, 11.1.2.3.0).
    Now, I am facing a problem of EL nested.

    I press a button and a display of witch popup opens an error/success message.
    My popup code:
    <amx:popup id="mess" inlineStyle="width:90%">
        <amx:panelGroupLayout id="pgl1" layout="vertical" halign="center">
            <amx:outputText value="#{viewcontrollerBundle.ACTIONDATE_ERROR}" id="ot2" rendered="#{bindings.message.inputValue eq 'ACTIONDATE_ERROR'}"/>
            <amx:outputText value="#{viewcontrollerBundle.TIME_ERROR}" id="ot3" rendered="#{bindings.message.inputValue eq 'TIME_ERROR'}"/>
            <amx:outputText value="#{viewcontrollerBundle.SUCCESS_REGISD}" id="ot4" rendered="#{bindings.message.inputValue eq 'SUCCESS_REGISD'}"/>
            <amx:outputText value="#{viewcontrollerBundle.ERROR_SAVING}" id="ot5" rendered="#{bindings.message.inputValue eq 'ERROR_SAVING'}"/> 
            <amx:panelGroupLayout halign="center" layout="horizontal" id="pgl2" rendered="#{bindings.message.inputValue eq 'SUCCESS_REGISD'}"> 
                <amx:commandButton text="#{viewcontrollerBundle.OK}" id="cb3">
                                <amx:closePopupBehavior popupId="mess"/>
                                <amx:actionListener binding="#{bindings.resetFeature.execute}"/>
                </amx:commandButton>
          </amx:panelGroupLayout>
          <amx:panelGroupLayout halign="center" layout="horizontal" id="pgl3" rendered="#{bindings.message.inputValue ne 'SUCCESS_REGISD'}">
                <amx:commandButton text="#{viewcontrollerBundle.OK}" id="cb4">
                                <amx:closePopupBehavior popupId="mess"/>
                </amx:commandButton>
          </amx:panelGroupLayout> 
      </amx:panelGroupLayout>
      </amx:popup>
    As you can see, I use mutiple output texts. I want to move it to only 1.
    I tried:
    <amx:outputText value="#{viewcontrollerBundle[bindings.message.inputValue]}" id="ot2" />
    And some variations as with one. or "but nothing seems to work.
    (I use a group of resources, because the application will be used in different languages)

    Any suggestions on how to fix this? Or another way to call the popup that can support the beams of resources?

    Thanks in advance.

    Hello.

    You can access all through Java code in a managed bean and bind your amx:outputText to one.

    Here is a code example:

    import oracle.adfmf.framework.api.Model;
    import oracle.adfmf.framework.contract.adf.NameValuePair;
    ...
    
        public String getMessage(String err) {
            Model mod = new Model();
            NameValuePair[] result = null;
    
           if (err.equals(ACTIONDATE_ERROR)) {
                result = mod.getValue(new String[] { "#{viewcontrollerBundle.ACTIONDATE_ERROR}" });
            }
           else if ...
    
           return (String)(result[0].getValue());
        }
    

    Simply create a binding method and assign bindings.message.inputValueas the parameter value.

    Best regards

    Frédéric.

Maybe you are looking for