Posts

Showing posts from November, 2014

iOS Cordova/Phoengap project setup guide on Mac

In this post, I will help you set up PhoneGap Command Line Interface on Mac for iOS. I will try my best to cover all the aspects. If you are facing any issues while setting up, do drop a comment & I can take a look at the issue. First of all, let me tell you what is Phonegap. So, PhoneGap is an open source framework for quickly building cross-platform mobile apps using HTML5, Javascript and CSS. Building applications for each device–iPhone, Android, Windows Mobile and more–requires different frameworks and languages. PhoneGap solves this by using standards-based web technologies to bridge web applications and mobile devices. Since PhoneGap apps are standards compliant, they’re future-proofed to work with browsers as they evolve. The PhoneGap code was contributed to the Apache Software Foundation (ASF) under the name Apache Cordova and graduated to top-level project status in October 2012. Through the ASF, future PhoneGap development will ensure open ste

Android Components

Application components are the essential building blocks of an Android application. These components are loosely coupled by the application manifest file  AndroidManifest.xml  that describes each component of the application and how they interact. There are following four main components that can be used within an Android application: Activities : They dictate the UI and handle the user interaction to the smartphone screen Service : They handle background processing associated with an application. Broadcast Receivers : They handle communication between Android OS and applications. Content Providers : They handle data and database management issues. Activities An activity represents a single screen with a user interface. For example, an email application might have one activity that shows a list of new emails, another activity to compose an email, and another activity for reading emails. If an application has more than one activity, then one of them shoul

Android Architecture

Image
Android operating system is a stack of software components which is roughly divided into five sections and four main layers as shown below in the architecture diagram. Linux kernel At the bottom of the layers is Linux - Linux 2.6 with approximately 115 patches. This provides basic system functionality like process management, memory management, device management like camera, keypad, display etc. Also, the kernel handles all the things that Linux is really good at such as networking and a vast array of device drivers, which take the pain out of interfacing to peripheral hardware. Libraries On top of Linux kernel there is a set of libraries including open-source Web browser engine WebKit, well known library libc, SQLite database which is a useful repository for storage and sharing of application data, libraries to play and record audio and video, SSL libraries responsible for Internet security etc. Android Runtime This is the third section of the architecture and

Android Overview and its features

What is Android ? Android is an open source and Linux-based Operating System for mobile devices such as smartphones and tablet computers. Android was developed by the Open Handset Alliance , led by Google, and other companies. Android offers a unified approach to application development for mobile devices which means developers need only develop for Android, and their applications should be able to run on different devices powered by Android. The first beta version of the Android Software Development Kit (SDK) was released by Google in 2007 where as the first commercial version, Android 1.0, was released in September 2008. Android 5.0 "Lollipop" is the latest version of the Android mobile operating system developed by Google. Unveiled on June 25, 2014 during Google I/O it became available as official over-the-air (OTA) updates on November 12, 2014 for select devices that run distributions of Android serviced by Google, including Nexus and Google play editio