1 / 69

CST 594 Mobile Computing

CST 594 Mobile Computing . Kavitha Elamparith Pratibha Channamsetty Eshwari Mente Shruti Shivashankaraiah Pranay Mahendra Adit Shah Naveen Kumar. Integrating mobile apps with ERP data systems 46%.

chelsi
Download Presentation

CST 594 Mobile Computing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CST 594 Mobile Computing KavithaElamparith PratibhaChannamsetty EshwariMente ShrutiShivashankaraiah Pranay Mahendra Adit Shah Naveen Kumar

  2. Integrating mobile apps with ERP data systems 46% Developing apps quickly 43.3% Testing and Quality Assurance 36.8% Compelling Experiences 34.9% Supporting multiple platforms from a common codebase 33.3% Cross platform development 32.8% Supporting multiple platforms 27.7%

  3. Why Titanium? Faster Development Develop native applications 20% faster than writing in the native language Code Reuse Reuse 60%-90% of developed code when supporting multiple platforms Reduce Cost Most apps take at least six months of full-time work and cost between $20,000 and $150,000 to develop. Reduce cost of development cross-platform by using a JavaScript based SDK

  4. History • - Appcelerator in Atlanta, Georgia - Jeff Haynie (CEO) and Nolan Wright (CTO) 2008 - New HQ in Mountain View, CA - raised $6.2 M from Storm Ventures and LaryAugustin 2009 - Titanium launched at the Apples WWDC -1200 developers downloaded Appcelerator in 48 hrs - iPhone- and Android-based mobile applications in June 2010 - April - BlackBerry, iPad-based tablet apps - raised $9M in Series B form Sierra Ventures and eBay.

  5. History - (continued) 2011 - Acquired Aptana Inc and Particle Code. 2012 - New Office in Beijing, China - Europe HQ opens in UK - Acquired Cocoafish and Nodeable - Launched Appcelerator Cloud Services (ACS) - Launched Titanium 3.0 Appcelerator Announces CODESTRONG 2012 Mobile Conference To Be Held in San Francisco 2013 - Opens an office in SFO408,612 registered developers have launched 51,208 apps

  6. Growth Chart

  7. 1.5 Million Developers - 22.1k Apps in the Wild - 20 Million Active Users Making Titanium a Leading Mobile Development Platform among many

  8. Appcelerator Titanium • Open source SDK, Tools (Apache) • Cross-platform (Win32, OSX, Linux) • Based on WebKit • Modular and extensible • Supports JavaScript, Python, Ruby

  9. Titanium Overview Applications are built entirely inJavaScript Cross Platform !== “Write Once, Run Everywhere”Cross Platform == “Write Once, Adapt Everywhere” Best Practices • Protect global scope • Be modular • Keep code DRY – (Don’t Repeat Yourself) Similar to rich web based client applications • Sophisticated UI controls • Client-side Data Models • Local Storage and focused remote data access Component Oriented, Event Driven

  10. Products Appcelerator Network Cloud services used for testing, packaging, distribution, and analytics. Titanium Mobile Develop Native iPhone, Android, and iPad apps with full access to each device’s APIs. Titanium Desktop Build Desktop apps that can be deployed with one code base on the PC, Mac, or Linux platforms. Titanium Alloy It is an MVC framework used to develop applications in a structured way

  11. Architecture

  12. Product Architecture

  13. Pros and Cons • Rapid prototyping • JavaScript • Cross-platform • Growing community

  14. Cons • Increasing complexityDevelopment complexities (and costs) rise more than proportionally to application complexity increases • No FreemiumStoreKit, a module to enable In-App Purchase to Apple’s App Store, poorly documented and it seems to work only partially. unstable for production use • LaggyObviously you can have the most smooth, fast and comfortable user experience possible only with apps developed with a native development environment.

  15. System Requirements Memory:

  16. System Requirements Operating System:

  17. Downloading & Installing • Valid Appcelerator Network account. • Download the installer from: https://my.appcelerator.com/resources

  18. Launch the installer

  19. Things to setup

  20. Installing native sdks

  21. Installing android sdk

  22. Launching Titanium Studio

  23. Android SDK Manger

  24. Packages to install

  25. Useful software Git (optional, but recommended)

  26. Importing a Sample Project

  27. Creating a new project

  28. New Titanium mobile project

  29. Selecting template

  30. Project File system Layout

  31. Configuring the tiapp xml file

  32. Run the project

  33. How Titanium Works Code your pages “Run” Running! (in simulator) Titanium SDK Project in XCode/ObjC

  34. Window structure window view

  35. Titanium Features • Native UI • Real Native tables, tabs, sliders and views • Rich Media APIs • Local and streaming audio and video, media recording • Local and streaming • Native Maps, compass and Geo location • Open Source and Extensible • Extend titanium with custom modules in native code.

  36. Cont.. • Local and Remote Data • Local SQL database, Light weight Key/Value store, XHR. • Integrated Analytics • Baked-in analytics APIs to measure results and behavior. • Social APIs • Integrated Face book connect and YQL. • Development Tools • Development and distribute your app for multiple platform from a single tool.

  37. Native UI controls • Use native UI controls through a JavaScript interface

  38. UI in Native and Titanium Application • iOS Phones have one screen resolution. • Building Android apps require you to take the various screen sizes and aspect ratio into account. • Titanium relies on native controls and UI. • We write code in JavaScript , using special API that builds the UI controls. • Recent addition of commonJS module made developing apps more fast and modular.

  39. Cont.. • Writing same code for both the UI makes thing difficult to handle. Reasons: 1. They have different screen resolution 2. Different controls 3. iOS takes 45% of the screen, while android has more dropdowns. So In Titanium we create separate UI modules that communicate with same code.

  40. Common APIs

  41. Media • Stream or package audio and video content same for both platforms

  42. Accelerometer • Use advance gesture and track movement to create groundbreaking user interface.

  43. Geo location • Use Geo location to leverage your user’s position in the world

  44. Face book connect • Facebook module is available which uses new authentication features on both Android and iOS as well as a new set of methods to retrieve and submit data. We can either use • Titanium.Facebook.authorize() method • FacebookLoginButton (Titanium.Facebook.createLoginButton()) on to your view and, when the user clicks it, we’ll handle calling ’authorize’. Set Titanium.Facebook.appid to your Facebook application id before initiating authorization   For more basic permission set Titanium.Facebook.permissions property to an array of the permissions you need.

  45. Cont..

  46. The Pizza App Main Javascript files: App.js Main.js Crust.js Toppings.js Details.js End.js

  47. 1. Display Clock2. Create view3. Create Scrollable view4. Navigate 5. Animate6. Fire an Event7. Handle an Event How to ?

  48. Listening to Custom events Adding the Toppings List Persisting Crust Selection

  49. Working With Data on Titanium Titanium Data Options: Local Data Remote Data

More Related