Monday Feb 09, 2015

Getting started with iOS development using Eclipse and Java

Crosspost from Shay Shmeltzer's blog.

Want to use Eclipse to build an on-device mobile application that runs on iOS devices (iPhones and iPads)?

No problem - here is a step by step demo on how to do this:

Oh, and by the way the same app will function also on Android without any changes to the code :-)  

This is an extract from an online seminar that I recorded for one of Oracle's Virtual Technology Summits - and I figured people who didn't sign up for that event might still benefit from having access to the demo part of the video.

In the demo I show how to build an on-device app that access local data as well as remote data through web services, and how easy it is to integrate device features too.

If you want to try this on your own, get a copy of the Oracle Enterprise Pack for Eclipse, and follow the setup steps in the tutorial here.

And then just follow the video steps.

The location of the web service I accessed is at: http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL

And the Java classes I use to simulate local data are  here.


Monday Feb 02, 2015

Oracle Mobile Application Framework 2.1 - Now Available

Crosspost from last week's announcement by Shay Shmeltzer at blogs.oracle.com/mobile

The Oracle Mobile Team is happy to announce the release of Oracle Mobile Application Framework 2.1 - a major update to Oracle's mobile development framework.

This new version focuses on upgrading the framework's infrastructure and includes the following new features:

  • Support for Java 8 - Java is the language used for business logic development on Oracle MAF, in fact Oracle MAF is the only solution out there that will run the same Java code on both iOS and Android.  Now developers can leverage the latest features of the Java language - such as Lambda expressions, Collections with Generics and more - while running on a 64bit JVM that supports the Java 8 Compact2 profile.
  • Cordova 3 support - Cordova is used in Oracle MAF to provide access to device features. Oracle MAF 2.1 updates the Cordova version to 3.6.3 on Android and 3.7 for iOS, dramatically increasing the number of available plugins that developers can leverage.
  • Simpler Cordova Plugin integration - Oracle MAF leverages the plugman command line to build and incorporate plugins into Oracle MAF apps.
  • Xcode 6 and Android 5 support - use the latest SDKs to compile and deploy your MAF applications across multiple devices.

You can get Oracle MAF 2.1 by downloading the new Oracle MAF extension through the JDeveloper Help->Check for Updates functionality.

We highly recommend that you read the installation guide and migration guide before you start your upgrade process. The setup might be a bit tricky because you'll need JDK7 to run JDeveloper but JDK8 to use the extension - so follow the instructions carefully. 

Have questions? - join us on the Oracle MAF discussion forum on OTN

Unrelated side note but that was quite a Super Bowl finish, eh? A miraculous catch followed by what some have said was the worst call.  I mean, a time out left, half a yard to go, and 3 downs to use, with one of the best running backs in the league, and you throw on 2nd down? Wow. 

Monday Oct 13, 2014

iOS 8 and Mac 10.9.5

Cross posting for Joe Huang, Oracle Mobile Application Framework Product Team 

Hi, everyone:

As everyone probably already known,  Apple iOS 8 and iPhone 6/6+ were released with great fanfare, delivering a number of new features.  In the past, in general the upgraded phones will continue to run existing applications without any issues.  Furthermore, testing against beta versions of the iOS are typically provides accurate feedback on the compatibility between MAF and new iOS.  However, unfortunately, this was not the case with iOS 8, as there were some late breaking changing that were introduced only with the GA version of iOS 8 that were sent to all devices as updates.  On the Mac itself, application upload check to the Apple AppStore has also changed.  Furthermore, Mac 10.9.5 introduced changes in the certificate format, which necessitates further changes and workarounds.  Let's look at each one of them more closely:

iOS 8 Support and Impact of Apple AppStore Upload Verification Change

If you are running MAF 2.0.1, you are covered.  MAF 2.0.1 has been fully certified against iOS 8.  What you will notice, however, is that you may be prompted for allowing "Notifications" when you run the MAF application.  This typically shows up during feature navigation.  This "Notification" refers to the framework ability to be able to, for example, set badging numbering on the application icon.  In older versions of iOS, this permission was automatically granted to the application.  In iOS 8, users would be explicitly prompted to allow this.  The user may pick "Yes" or "No", and in any case the application should behave as expected.  This only showed up in the released version of iOS 8 so it's a late breaking change, but nevertheless it is an expected behavior.  In future versions, investigations are underway to see if it's possible to allow developers to more finely control the display of these dialog boxes.  

MAF 2.0.1 also addressed a couple of changes Apple introduced when verifying IPA files during the upload process to the iTunes Connect Portal.  The Application Loader program in Xcode now perform some extra checks, and MAF 2.0.1 contains the changes that fully comply with these changes. 

If you have developed MAF 2.0.0 - MAF 2.0.0 was tested against iOS 8 and we found its behavior to be consistent with MAF 2.0.1 when running iOS 8 devices.  Nevertheless, we strongly recommend moving to 2.0.1 as soon as possible, since it contains the latest bug fixes.  Furthermore MAF 2.0.0 does not contain the changes necessitated by the changes in the AppStore upload process referenced above.  This is detailed in this Blog Article.

For applications built using ADF Mobile, we discovered a critical issue when running on iOS 8 - for which we have already delivered a patch.  This issue impacts programmatic feature navigations and login screen navigation - so if you invoke feature navigation programmatically or simply enabled security/login, then you will see application "hang" during navigation to the next feature.  It also appears to impact display of custom SpringBoard.  To download and apply the patch addressing this hanging issue, please follow the instructions in Oracle Support Document 1929990.1 (ADF Mobile Application Feature Navigation and Login Hanging While Running on iOS8 Devices)

In general, however, please consider moving from ADF Mobile to Mobile Application Framework.  Mobile Application Framework contains a number of major enhancements such as new IDE support, and will be the focus of new features going forward.

Mac OSX 10.9.5 Certificate Changes and Workarounds

Mac OSX 10.9.5 (as well as the upcoming Yosemite release) introduced a new certificate format (Version 2).  The technical details for Version 2 certificates are outside the scope of this article, but this Apple Technical Note does provide a little background.  However, this change does impact MAF developers who have upgraded their Mac to 10.9.5 - the updates can be fairly silent so many of you may have upgraded without knowing it.  After upgrading the Mac to 10.9.5, when you try to deploy a MAF application to an IPA file, the deployment will appear to fail, and the last line of the deployment log will state "...resource envelop is obsolete".  This issue will be addressed in a patch for MAF 2.0.1 coming shortly.  In the meantime, there are two possible workarounds:

 

  • Check to see if there is an IPA file in the "<Application Workspace Directory>/deploy/profile/Destination_Root/Oracle_ADFmc_Container_Application/device" directory.  If there is, try to install this IPA file instead and see if that works.  

If this file is not available or does not install, then try the following workarounds using Xcode 5.1.x:

1. Deploy from JDeveloper to "Distribution Package"

2. Open Oracle_ADFmc_Container_Template.xcodeproj located in MyApp/deploy/iOS1/temporary_xcode_project

 

-> This will launch Xcode

3. In Xcode select Product > Destination and select "iOS Device"

4. In Xcode select Product > Archive

->This will create an archive file and will automatically launch Organizer 

open to the Archives tab with the archive selected

5. In Organizer select Distribute...

6. Select Save for Enterprise or Ad Hoc Deployment and hit Next

7. Select your provisioning profile, which will most likely be defaulted and hit Export

8. Specify the name and location for the IPA file -> This will create a signed IPA file for deployment or distribution

Mobile technologies are ever-changing, but Oracle is committed to work as fast as possible to support our customers by delivering these changes either as a new release or as patches.  Stay tuned on this blog site for any news of future versions and major patches.

Thanks,

Oracle Mobile Application Framework Product Team

To get real time mobile news, follow us @OracleMobile 

Monday Sep 15, 2014

Mobile Labs @ Oracle OpenWorld 2014

"Mobile Labs" Get it? Labs. Oh yeah, cheesy I know... I went there.  :-)  

If you're coming to OpenWorld, and want to get some hands on experience (ok, no more visual metaphors) with Oracle Mobile Platform, here are some of my favorite suggestions:

Want more mobile? Go to this mobile labs link to see more.  

Are you on Twitter? Follow Oracle's latest mobile news @OracleMobile

Monday Aug 25, 2014

Mobile Apps for Oracle E-Business Suite

Crosspost from the mobile apps blog.  TL;DR Oracle E-Business Suite is now building mobile apps with Oracle Mobile Application Framework (MAF). Believe it! Build iOS and Android apps with once code base and get it done!

Many things have changed in the mobile space over the last few years. Here's an update on our strategy for mobile apps for the E-Business Suite.

Mobile app strategy

We're building our family of mobile apps for the E-Business Suite using Oracle Mobile Application Framework.  This framework allows us to write a single application that can be run on Apple iOS and Google Android platforms. Mobile apps for the E-Business Suite will share a common look-and-feel.

The E-Business Suite is a suite of over 200 product modules spanning Financials, Supply Chain, Human Resources, and many other areas. Our mobile app strategy is to release standalone apps for specific product modules. 

Our Oracle Timecards app, which allows users to create and submit timecards, is an example of a standalone app.

Oracle Timecards app for E-Business Suite screenshot

Some common functions that span multiple product areas will have dedicated apps, too. An example of this is ourOracle Approvals app, which allows users to review and approve requests for expenses, requisitions, purchase orders, recruitment vacancies and offers, and more.

Approval app for E-Business Suite screenshot

You can read more about our Oracle Mobile Approvals app here:

Our goal is to support smaller screen (e.g. smartphones) as well as larger screens (e.g. tablets), with the smaller screen versions generally delivered first.  Where possible, we will deliver these as universal apps.  An example is our Oracle Mobile Field Service app, which allows field service technicians to remotely access customer, product, service request, and task-related information.  This app can run on a smartphone, while providing a richer experience for tablets.

Mobile Field Service for iPhones screenshot

Deploying EBS mobile apps

The mobile apps, themselves (i.e. client-side components) can be downloaded by end-users from the Apple iTunes today.  Android versions will be available from Google play. You can monitor this blog for Android-related updates.

Where possible, our mobile apps should be deployable with a minimum of server-side changes.  These changes will generally involve a consolidated server-side patch for technology-stack components, and possibly a server-side patch for the functional product module. Updates to existing mobile apps may require new server-side components to enable all of the latest mobile functionality.

All EBS product modules are certified for internal intranet deployments (i.e. used by employees within an organization's firewall).  Only a subset of EBS products such as iRecruitment are certified to be deployed externally (i.e. used by non-employees outside of an organization's firewall).  Today, many organizations running the E-Business Suite do not expose their EBS environment externally and all of the mobile apps that we're building are intended for internal employee use.  Recognizing this, our mobile apps are currently designed for users who are connected to the organization's intranet via VPN.  We expect that this may change in future updates to our mobile apps.

Mobile apps and internationalization

The initial releases of our mobile apps will be in English.  Later updates will include translations for all left-to-right languages supported by the E-Business Suite.  Right-to-left languages will not be translated.

Customizing apps for enterprise deployments

The current generation of mobile apps for Oracle E-Business Suite cannot be customized. We are evaluating options for limited customizations, including corporate branding with logos, corporate color schemes, and others. This is a potentially-complex area with many tricky implications for deployment and maintenance.  We would be interested in hearing your requirements for customizations in enterprise deployments.

Prerequisites

References

    Follow @OracleMobile on Twitter

    Oracle Mobile Blog is here

      Monday Jul 07, 2014

      Eclipse + Android + iOS = Oracle Enterprise Pack for Eclipse

      Reposting for Greg Stachnick, Sr. Product Manager

      Oracle Enterprise Pack for Eclipse 12.1.3.1 adds new support for mobile application development using the new Oracle MAF framework. From within Eclipse, you can now develop hybrid mobile applications deploying to both iOS and Android devices. Some of the new features include:

      Oracle Mobile Application Framework Design Time Support

      • New MAF Project Wizards help you get started with the correct project structure to start writing mobile applications
      • New MAF perspective configures your workspace with the most relevant Eclipse Views for mobile development
      • Android SDK and Apple XCode Configuration Wizards setup your Eclipse workspace to build and deploy your work to Android and iOS devices and simulators
      • AMX Tag Palette, Drag and Drop Patterns, and Smart Editors help you use and configure over 80 MAF components to develop your mobile applications
      • New Web Service Data Control simplifies binding mobile components to local and remote SOAP-based web services
      • Mobile Application descriptor editor provides a form based editor to assemble MAF applications, manage mobile security, configure Cordova plugins, and more
      • Mobile Feature descriptor editor provides a form based editor to create, manage, and reuse MAF features and more
      • Support for visual Task Flow creation, Bindings, and Data Controls in Mobile application development
      • MAF Feature and Application packaging for sharing and reuse of features across multiple mobile applications
      • AppXray dependency tracking and refactoring for MAF projects including AMX components, feature configurations, application configurations, bindings, task flows, and more
      • Deploy and Debug to Android & iOS Simulators or Devices directly from within your Eclipse workspace
      • Access Device and Simulator error logs of your running applications help debug runtime issues from within Eclipse

      Oracle Mobile Application Framework Runtime

      Oracle Mobile Application Framework 2.0 is shipped with OEPE zip distributions and available for download through Eclipse Update. No need to download an external runtime as the framework is included with the development tools out of the box.

      Oracle Mobile Application Framework Samples

      Over a dozen complete Mobile examples applications are included with the MAF tools. These sample demonstrate examples and best practices for data visualization, binding to web services, using Cordova plugins to access device features, and more. See the MAF Example Applications under the standard Eclipse Examples wizard for list of samples and detailed descriptions.

      Checkout OEPE OTN page for OEPE downloads, tutorials, and documentation or see the Mobile Application Framework portal for even more information including new training videos and samples.

      To read the original post, click here.

      For more information on Oracle's mobile products, go to: www.oracle.com/mobile.  You can follow Oracle's mobile blog at: blogs.oracle.com/mobile as well as twitter @oraclemobile

      Monday Feb 10, 2014

      Mobile, Mobile and Mobile...it Just Gets Better!

      Many of you already know about Oracle ADF Mobile and it’s ability to give Java developers the ability to develop mobile applications for the iOS and Android from one code base. (write once, deploy to many)

      Guess what? It continues to get better with the latest support for the iOS 7 and Android native look and feel. (before/after screenshots below) That’s a nice bonus for those of you yearning for the latest and greatest look and feel. Your apps can now be freshened up and blend in with the your existing native applications on your device. You’re welcome! ;-)

      To learn more, read Joe Huang’s full post on this topic, click here. To stay on top of Oracle’s latest news and mobile offering, I recommend you bookmark blogs.oracle.com/mobile.

      About

      Get the latest on all things Middleware. Join Oracle's Middleware Community today.

      Find Us on facebook Follow us on twitter Catch Us on YouTube 

      Search

      Categories
      Archives
      « February 2015
      SunMonTueWedThuFriSat
      1
      4
      5
      7
      8
      10
      13
      14
      16
      19
      21
      22
      25
      26
      27
      28
             
             
      Today