San Antonio, Texas
June 10, 2012
June 10, 2012
June 13, 2012
2153-5965
Computing & Information Technology
18
25.985.1 - 25.985.18
10.18260/1-2--21742
https://peer.asee.org/21742
441
Objective-C versus Java for Smart Phone ApplicationsThe language of choice for iPhone development is Objective-C, while Java is primarily used fordeveloping applications on the Android platform. This paper compares Objective-C and javaprogramming techniques for smart phone applications and attempts to explain the differences inlanguage, platform, programming model, integrated development environment and the ease oftesting and integration for both Android as well as iPhone applications development.Objective-C is an elegantly reflective language based on C with added Smalltalk style objectoriented concepts which optimizes Model-view-Controller (MVC) software architecture. It isoften used in tandem with a fixed library of standard objects such as the proprietary Cocoaframework which is Apple’s native object oriented application programming interface for theMAC OS X or with GNUstep which features a free cross-platform, object oriented developmentenvironment.Android ships with a set of core applications including an email client, SMS program, calendar,maps, browser, contacts, etc., which are written using Java. Every Android application runs in itsown process, with its own instance of the Dalvik Virtual Machine (VM). The virtual machine isregister-based, and runs classes compiled by a Java language compiler. Android also includes a setof C/C++ libraries used by various components of the Android system through applicationframework.Despite the strong and supportive development community many students get overwhelmed withthe abundance of information for Android as well as for Apple. With so many tutorials andavailable reference guides, learning a new programming language that targets the smart phone ismore fun to teach in a class room environment.This paper demonstrates that building smart phone applications is not just limited to games, butalso how students can use it to build applications that inform and educate which can also exposestudents to even more topics which are not traditionally covered by conventional software courses.This paper thereby serves as an innovative way to expose technology students to this fascinatingtopic and give them a forum for creative development which challenges them to enhance theirskill-set through active learning in preparation for the forthcoming capstone senior projectengineering course sequence.
Muqri, M. R., & Lewis, J. R. (2012, June), Objective-C versus Java for Smart Phone Applications Paper presented at 2012 ASEE Annual Conference & Exposition, San Antonio, Texas. 10.18260/1-2--21742
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2012 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015