ADF Mobile 11.1.2.4 tid-bits and updates

If you have recently migrated to ADF Mobile 11.1.2.4, or have just started ADF Mobile development, you may have seen some issues or puzzling tid-bits for the new version of ADF Mobile.  Here are a few key items worth noting:

  • You may have seen a little red icon on the upper left corner of application, and wondering if the framework somehow detected a bug in the mobile application.  As matter of fact, it simply indicates the application has been deployed in debug mode.  Deployment console window in JDeveloper also provides extra reminder that the application has been deployed in debug mode.

  • Google recently released Revision 22 of the Android SDK Tools.  Along with the update, Google has also made available a new SDK Zip download file containing a new "build-tools" folder.  A few of the utilities necessary for deploying an ADF Mobile application has been moved into this folder, which would cause deployment errors if you are using this new version of the zip file.  This only impact NEW download of the SDK zip file - if you have downloaded the zip file previously and simply updated the tool to Revision 22, deployment is expected to work as before.  This only applies to brand new downloads of the zip.  
    • If you have downloaded the latest SDK Zip and unable to deploy, please see this blog entry for workarounds.
    • This issue is planned to be addressed in one of the upcoming 11.1.2.4 patches.
  • 11.1.2.4 introduced push notification support, and many of you are wondering how to actually leverage this feature.  We are working on publishing further details on this topic - please keep watching this blog site.  In preparation for implementing push notifications, it would also be helpful to understand how Apple Push Notification (APN) and Google Cloud Messaging (GCM) Service work, and their pre-requisites.  APN and GCM both require some setup through the respective developer portals, regardless whether you are developing an app using ADF Mobile or just native tools.
  • One infrastructure change that should not impact most developers is update from PhoneGap 1.0 to Cordova 2.2.  However, if you are using localHTML or remoteURL features, you will have to conform to the Cordova 2.2 JavaScript APIs.  No changes are needed for AMX features using device data controls.
  • In case you have missed it in release notes, the way localHTML pages include framework and Cordova JavaScripts have also been greatly simplified.  You can replace all these references to adf.el.js/phongap/etc JS files with simply this - please note that adf.wwwPath may need to be adjusted according to where you place your HTML files.  The below example has local HTML file in a subfolder within the Web Content folder, i.e. .../public_html/helloWorld/localHTML.html
        <script type="text/javascript">if (!window.adf) window.adf = {}; adf.wwwPath = "../../../../www/";</script>

        <script type="text/javascript" src="../../../../www/js/base.js"></script>

  • Xcode 4.6 has been released.  While it was not fully certified, it is supported.  This is also necessary for Xcode to properly recognize iOS devices running the latest iOS version.
  • Android SDK Tools Revision 22 as referenced above has also been released.  It is known to work although with the workaround required above if you are downloading the SDK Zip rather than just updating the SDK Tools from an existing installation.
  • The ADF Mobile team is planning to release patches for 11.1.2.4 to address some late breaking issues.  They will be released over the next few weeks through the JDeveloper update center.  JDeveloper should notify you of these updates.

Hope this article helps to address some questions.

Thanks,

Joe Huang 

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

This blog is is dedicated to announcements,tips and tricks and other items related to developing, integrating, securing, and managing mobile applications using Oracle's Mobile Platform. It is created and maintained by the Oracle Mobile product development team.

Archive of past entries

Even More Mobile Development Blogs

Oracle A-Team Site - Mobile Related Entries

Code samples from the Community

Fusion Middleware Blogs

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
2
3
4
5
6
7
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today