First, for those of you who are not familiar with CM First, here is an overview.
Rationale for using the mac
Dev architecture for Plex on the mac
These statistics are truly eye popping. iPhones are selling like hotcakes. There are 200,000 android devices sold each day, particularly over in Asia – there are actually more phones in China than there are people in the USA. iPad tablets are less that an year old, yet there have been millions sold. I think the most important stat to the audience today is the last one – iPhones and iPads and Android devices are no longer just a consumer phenom – they are making serious inroads into enterprise. You have probably seen the ads on medical use of iPads is taking off. But you are also seeing mobile in a wide variety of business applications, from auto dealerships to education to insurance to government.
Full access to the geolocation API’s
Cameras are for a lot more than snapshots
CA Plex on Apple Mac, iOS, Android
for CA PlexCA PlexWith Apple Mac / iOSJanuary 2012
Who is CM First?Enterprise Software Development Integrator• Offices in Switzerland, USA, Italy, India• Network of worldwide resale partners (Americas, EMEA, APJ, ANZ)CA Primary Sales and Technology Partner• CA 2E, CA Plex, CA Repository• Footprint covers 20% of Installed BaseApp Dev Products• CM Matchpoint ALM Suite• CM WebClient i+• CM Power (PHP) Suite• CM M3 (CA 2E Migration / Modernization)• SD Source Scanners for CA RepositoryThird-party Solutions• Databorough, Desynit, Soreco, Worksoft, Websydian
Overview• Why use the Mac? Ajax in Greek mythology• Plex on the Mac• Mobile Apps with Plex/WebClient• Devices – Xcode, Android SDK, Adobe/Apache Phonegap• Device Hardware - Camera
Why Use the Mac with CA Plex?• Why use the Mac? • All the really cool and hip developers have gone there • Opportunity to re-accessorize • Learn all new keyboard shortcuts such as the cloverleaf • Just love a challenge• Or - Apple Forces This • iOS license agreement• Why not?
Step 1• Install VMWare Fusion for Mac • Or Parallels • Migrate your PC, or set up anew (recommended) • Install VMWare Tools• Set up your CA Plex environment on the VM • Generate to a shared folder on the host mac • Start generating Java• Create a shortcut to Plex using Fusion view (optional)
Step 2• Install Eclipse on both PC and Mac • Eclipse Indigo works well • Need separate versions / installs• Establish Separate Workspaces • Set up linked folders to single Plex Gen • Or use Subversion/Matchpoint to share projects between WorkSpaces • Refer to WebClient documentation (purchase not required)• You are done!
Optional• Move to a Mac database • MySQL, Derby• Wrap your Java app as Mac App • Warning – technical• Start working on Angry Nerds • Stay tuned for Part II
Statistics – May 2011 The world is going mobile• 50 million iPhones sold to date• 200,000 Android devices sold each day• 8.5 million iPads sold to date• 70 million tablets predicted by the end of 2012• 2/3 of the Fortune 100 have started deploying iPads for Enterprise use – now 95%
CA Plex+WebClient with Sencha Touch / PhoneGap • Covers 93%+ of mobile traffic • HTML 5, CSS3, ExtJS • SaSS • Local Storage • Media/Geo • Camera • More…
1.8 Mobile iPhone/iPad/Android/BB6 Web App with Native Optimizationmobileportal.cmfirsttech.com/Plex2EWeb/wcs HTML5, CSS3 Native App - Android Market Sencha Touch http://market.android.com “Gartner COOL Vendor 2011”
Step 1• Generate your App as WebClient Mobile • See Google Code Project – open source to WebClient customers• Test with WebKit browser emulator • Chrome or Safari • Ripple (warning, not exact)
Step 2• Get your Apple developer id • Warning – Allow time• Install XCode • Available on the Apple App Store – no charge• Download / Install Apache PhoneGap (Adobe) • All device projects in single archive• Install PhoneGap per site tutorial for Xcode
Step 3• Create an Xcode / PhoneGap Project• Modify the Index HTML to point to your application URL• Sign code (via Apple ID)• Test on iOS Simulators• You are ready to go!
Step 4 – Android and Beyond• Install Google SDK• Install PhoneGap for Android• Follow the same steps as iOS