DREAMS

It is not the result of spontaneous combustion.You must set yourself on fire.

START..

Your present circumstances don't determine where you can go; they merely determine where you start.

DREAMS

The art of being happy lies in the power of extracting happiness from common things.

COLOURFUL LIFE

Life is full of colours enjoy it..

BE YOURSELF

Dont be a copy cat...

Tuesday, August 13, 2013

7.LATEST ANDROID NEWS



















NEWS FROM AROUND THE GLOBE
  • It was predicted that Google Android Sales will Overtake iPhone in 2012 and the predictions came to be  true.
  • Intel doesn’t want to lose ownership of the netbook market, so they need to prepare for anything, including Android
  • Fujitsu launched an initiative to offer consulting and engineering expertise to help run Android on embedded hardware, which aside from cellphones, mobile internet devices, and portable media players, could include GPS devices, thin-client computers and set-top boxes.
  • Google executive Huga Barra said that Google's Nexus family of devices will be the first to get the new version of Jellybean Android 4.3, but the Google Play Edition phones will have to wait a little while.
  • Amazon is reportedly working on developing an Android-operated gaming console (like the Ouya) scheduled to be released by this year.
  • The next Android OS Android 5.0 Key Lime Pie is expected to launch in October 2013 alongside the new Nexus 10 tablet.
  • Intel unveils 2 android based tablets for education purpose.
  • A new app has been developed for iOS and Android devices that will protect Twitter users' accounts from hackers and other attackers.
  •  Android won an astonishing 79% of the global smart phone market in Q2 with 187 million devices shipped; Apple sold 31 million iPhones  but its market share fell to 13%.
  • Googe play store beats Apple App store in app downloads but not in revenue.
  •  After $5,720 worth of Bitcoins were stolen using Android security flaw, Google engineers now warn devs to avoid JCA after “random” number generator produces duplicates.
  •  A mobile port of LibreOffice is “frustratingly close” to completion, but needs additional support to make it onto Android , hence  LibreOffice devs are seeking Android's help.
  • Android founder Andy Rubin,the man behind the smartphone operating system will focus on new projects at Google, and makes way for  Google Chrome’s Sundar Pichai Chrome VP. 

NEWS FROM OUR MOTHERLAND

  • Indian Government especially Ministry of External Affairs, has now entered into the world of smart phones with the launch of interactive app for Android and iOS devices.If you want to apply for a passport, check your passport status or ask any query to MEA ,then this app will surely save your time.
  • Narendra Modi fans have come up with a new dual-SIM Android mobile phone " Smart Namo " dedicated to the Gujarat CM.

6.MARKET AND COMPETITORS




















With the entry of Android, the world witnessed the revolution in mobile ..from the physical keyboards to the touch screen the technology changed.Now most users opt for touch screens rather than the physical keyboards. Thus the smart phone users population increased. This giant leap inspired other competitors to enter into the market. The quest for  new technology began the race of mobile OSs.The entry of Apple's iOS was the major breakthrough.What the world next witnessed was the battle that waved between iOS and Android. The power to capture the saddle belt is still on .Now the emergence of other competitors are really a siren for android.The market captured by Android may loose if right steps are not taken .




Recently Microsoft Windows overpowered Blackberry in the market.But the tug of war between Android and iOS,with Android continuing to out pace its rival is a good news for the Android well wishers.




Google Android takes tablet  OS and now shares the crown with iOS.This is a big revolution in the case of tablet OS. 
 
According to various studies the conclusions that support Android geeks are:
      60% of Android users are under the age of 34.
      8% of Android users switched from an iphone.
      45% of Android users say android is their first smart phone.

The top 10 download categories in android market can be seen in this figure.

The growth of Android market over the years can be seen here.





But admist this we are witnessing a battle with the Apple ios and the other upcoming mobile OSs.The emergence of Firefox OS with superior browsing and other mobile OSs are trying to gain the market from Android.

Monday, August 12, 2013

5.DEVELOPMENT TOOLS

The major packages needed for android application development  are:

1)Android SDK   (developer.android.com/sdk/index.html)
   class library
   Developer Tools
     dx-Dalvik Cross Assembler
     aapt-Android Asset Packaging Tool
     adb-Android Debug Bridge
     ddms-Dalvik Debug Monitor Service
   Emulator and system Images
   Documentation and Sample code

2)Eclipse IDE +ADT :
   The main components required for establishing a Eclipse IDE +ADT are:
       1) package Explorer
       2) DDMS(Dalvik Debug Monitor Server )
       3) LogCat
       4) Console

3)JDK 6 (Java Development Kit ) :

This makes a good combination for application developers.The user interface and application running developemtn gives the user a quick view of the product and can modify with ease.

An example is shown below:




The eclipse +  ADT is shown above,where the package explorer and console can be viewed.The source code is shown above the console.The package explorer contains the details of the application.As mentioned in previous post, package explorer gives the list of all the files necessary for an application to run.The console gives the execution details .
When the source code, say, listview.java  as shown in figure is executed as an 'android application', it simulates the emulator and it will come alive.Next if there is no error, the application package is installed. 





The figures above  show the home view of the emulator which is much similar to that of an actual smart phone.When the application is ran in IDE the output can be viewed in the emulator.



This figure shows the output of the listview application.If you want to run an application which is already installed then just go to the menu.


 The running of an already installed application speech record is shown. 


Now we need to publish the application for distribution..We mainly use Google play.
Steps to publish in Google play:
1. Go to  play.google.com/apps/publish/
2. Upload an Application
        1. Upload .apk file
        2. Upload icons/images of an Application.
3. Listing Details
        1. Language – English, Title, Description
        2. Category – Entertainment / Education /Business/...
        3. Price – free / priced.
4. Publishing options
        1. Set copy protection to on / off
        2. set Content rating to All
        3. set Location to All location
5. Contact Information
        1. website name, E-mail, phone number
6. Check for acknowledge and click on Publish button.

4.ANATOMY OF ANDROID APPS


 ANATOMY OF ANDROID APPS


ANDROID COMPONENTS:

An Android application is  packaged in a .apk file and this file contains a collection of components.Usually components share a Linux process, by default one process per .apk file.To communicate  .apk files uses intents or AIDL.Each component has a managed life cycle. Application components are mainly 4 types and they are:

(1) Activities – A single screen with user interface to do a particular action can be considered as an activity.An application uses multiple activities that are connected to each other.
*For example: An application to sent a folder using bluetooth can have multiple activities like :welcome screen,menu,create,delete,search,share.

(2) Services – They have no visual interface but run in the  background to support the activity.Bdefault it runs in the main thread of the application that hosts it.
Example : Playing Music,Checking updates etc.

(3) Broadcast Receivers  –They receive and react to broadcast announcements.Sometimes an application wants to communicate to all other activities running in the system.In such cases they sent a system-wide Broadcast announcements.A  Broadcast receiver is a component that responds to such Broadcast announcements.
Example : In Fold and share application,the message that folder is received, is a broad cast announcement.

(4) Content Providers – They allow data exchange between applications
.Example : In fold and share application it exchange data through bluetooth ,this application can interact with other applications like file manager.This sharing of data are controlled by content providers.



This figure represents the components in detail.


BUILDING BLOCKS OF AN ANDROID APPLICATION:

Some major files that must be familiarized for Android application development are:

1) src folder: It contain .java file
2) bin folder: It contain .apk file 
3) Assests folder:  it contain text file, image file, video file etc.
Assets provide a way to include arbitrary files like  text,  xml,fonts, music, and video, in your application. 
 If you try to include these files as 'resources',  Android will process them into its resource system,  and you will not be able to get the raw data.
If you want to access data untouched,   using Assets is one way to do it.
• Android offers one more directory  where you can keep files which also will   be  included is package.  This directory called /assets.
•The difference between /res and  /assets is that, Android does not  generate IDs of assets content.
•You need to specify relative path and   name, for files inside /assets.
4) res folder: It has drawable and layout directory which contain main.xml file
5) value folder: it contain string.xml file, AndroidManifest.xml file. R.Java and Resource

a)AndroidManifest.xml

Every application must have an AndroidManifest.xml file.The manifest presents essential information about the  application to the Android system.The manifest does the following:
      1) It names the Java package for the application. The package name serves as a unique identifier for the application
     2) It describes the components of the application : The activities, services, broadcast receivers, and
      content providers.
     3)  It determines which processes will host application  components.
     4) It also declares the permissions that others are required   to have, in order to interact with the components of the   application
     5) It declares the minimum level of the Android API,   that the application requires.

b)R.java

1) The file R.java is an auto-generated file,   that is added to your application,   by the Android plug-in.
2) This file contains pointers into   the drawable, layout, and    values directories.
3) You should never  modify this file directly.  You will be only referencing R.java in most of your
   applications.

            c)Resource
                Almost all Android applications will have some sort of  resources in them; at a minimum they often have the  user interface layouts in the form of XML files.The three files that make up the default resources, are  created in the Resources folder:
  Ic_launcher.png - The default icon for the application 
  Main.xml - The default user interface layout file for the application. 
  Strings.xml – A string table to help with localization of the application

6)Widgets
• Android widgets can, bring lot of useful information directly to  your  home screen, without the need to start the application.
•Widgets should be viewed as mini applications   that sit on your home screen.
•They display various bits of information from the main  application.

a)Information widget: 
Information widgets typically display a few crucial information elements that are important to a user and track how that information changes over time.Good examples for information widgets are weather widgets, clock widgets

b)Collection widget:
As the name implies, collection widgets specialize on displaying multitude elements of the same type, such as a collection of pictures from a gallery app, a collection of articles from a news app or a collection of emails/messages from a communication app.  
 Now the world of Android is open for you with this basics we can analyze the structure of an Android application.The basic structure can give more flexibility to the users.




Note:
*Fold and share is an application developed by 2010-14 batch B.Tech computer science students of GEC Sreekrsihnapuram, as a their mini project.The members include:Deepthi.P,Likitha K.T,Gopika KV,Amritha.U.
 

Sunday, August 11, 2013

3.ANDROID ARCHITECTURE




















Platform is the combination of a particular computer and a particular operating system where as architecture defines the structure and organization of a computer's hardware or a system software. In the previous post we discussed about the Android platform and through this post we will see the architecture of Android.The figure below is the architecture of Android.



In the 2nd post of this series we have seen the brief description about the structure of Android.Now lets go deep into the layers of Android.
Following are the different layers in the Android stack:
  • Linux Kernel Layer
  • Native Layer
  • Application Framework Layer
  • Applications layer

Linux kernel Layer

Linux kernel lies at the bottom of the Android stack.Linux kernel provides the functionalities like : Hardware ,Abstraction,Memory Management Programs,Security Settings,Power Management Software,Other Hardware Drivers (Drivers are programs that control hardware devices.),Support for Shared Libraries,Network Stack.
In the initial stage the bootloader loads the Kernel and start the Init process then the Daemons are started which will handle the USB,ADB,debugger and radio.After this,initial Dalvik VM process(Zygote) is created and runtime process initiates the service manager which is a part of binders and Inter Process Communication. 
For running System server , Runtime process requests Zygote to start a new instance.Then graphics and audio outputs are handled.Then the components of Android are started.
 

Libraries


The set of libraries in Android includes : open-source Web browser engine WebKit, well known library libc and SQLite database 

Android Libc implementation:
It mainly for embedded applications.It has built-in support for android-specific services.

Storage, rendering, multimedia:
SQLite, WebKit,Media Framework,Optimized 2D//3D graphic library based on OpenGL ES

Surface Manager:
It provides a surface composer.Manages the surfaces and use hardware accelerators.

Audio Manager:
Audio manager handles the audio streams. It can take audio as the input , process it and output the audio.

Hardware Abstraction Libraries:
It contains the libraries that helps in the interface. It contains the standard APIs and other necessary components for integrating with android application.es hardware "drivers" to implement.

Android Runtime


The Android Runtime and libraries reside in the same layer.The  Dalvik Virtual Machine is th key component of Android and this DVM can be found here.DVM is mainly optimized for mobile OS.It runs applications in executable .Dex format and this can be found in APK .
Application Framework
The application framework supports the applications to run on the DVM machine.It act as an interface between the underlying components and the applications.Underlying all applications is a set of services and systems, including:
  1. Activity Manager
  2. Windows Manager
  3. Content Provider
  4. View System
  5. Package Manager
  6. Telephony Manager
  7. Resource Manager
  8. Location Manager
  9. Notification Manager

Applications


Android applications are found at the top layer .The applications are usually written in Java programming language.They run on DVM which resides on Linux kernel.

Saturday, August 10, 2013

2.ANDROID PLATFORM





Android is a Linux based mobile operating system that uses Linux for its device drivers,memory management, process management,Permission-based security model,support for shared libraries,Provide core system services and networking. It provides an abstract layer between the H/W and the rest of the S/W stack.The features of a Linux based OS helps the Android to develop.

Above the kernel there lies the Android native libraries. Libraries are normally written in C/C++ and can be called through Java interfaces. In this layer you can find the Surface Manager, 2D and 3D graphics, Media codecs, the SQL database (SQLite), and a native web browser engine (WebKit).

Application frameworks run above libraries and  Android run time. Dalvik Virtual Machine optimized for mobile devices  and Dalvik runs dex  files, which are coverted at compile time from standard class and jar files.Applications are found even above the application frameworks.


Other features of Android platform are:

1) It extends media support for common audio, video, and still image formats  (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
2) It suports wireless communication using:GSM mobile phone technology,3G ,EDGE,802.11 wifi network.Especially,
          Cellular networking : GSM, EDGE, 3G (hardware dependent)
           LAN : Bluetooth, and Wi-Fi (hardware dependent)
3) Graphics Hardware Acceleration
4) Camera, GPS and Compass (hardware dependent)
5) Touch screen and accelerometerfor motion sensing
6)Integrated browser based on the open source WebKit engine
7)SQLite for relational data storage

While running an application, security is ensured in Android which is much similar to that of Linux facilities.User and group IDs are assigned to applications just like super user power and normal user power in Linux. Due to this, security is enforced at the process level .A permission mechanism in Android enforces restrictions on the specific operation that  a particular process can perform, and per-URI permissions for granting ad-hoc access to specific pieces of data.

1.INTRODUCTION TO ANDROID



                             
SMART PHONES - without which the world seems to slow down, have become an  essential companion of modern civilization.The new Gen-Y 'technology assistant' that help us to carry out various tasks in a blink,is governing the markets.The fastness and the robustness that we experience today is the result of the evolution of Android and the key role that it plays, to maintain a cutting edge experience for the users ,developers, industry and business.

When we turn back to the history we can witness the strong hold of Google and other OHA based tech giants, that support the development of Android. This strong foundation and correct time-to-market made Android a cherry pick for the users. In July 2005 , Google started the revolutionary concept of mobile OS by conquering  Android Inc. Later on 5th November 2007 OHA (Open Handset Alliance) was formed which consisted of Google,HTC,Intel,Motorola,T-mobile. Developed by Google,Android is considered to be the first OHA product. It comes under version 2 of the Apache Software License (ASL).On 12 th November 2007 they released the preview of Android OHA. The main aim of OHA was to devote in advancing open standards for mobile devices and to develop technologies that will significantly lower the cost of developing and distributing mobile technologies and services. 

Android is a complete and modern embedded operating system  which can act as an operating system, middle ware and key mobile application. It works based on the Linux kernel, hence promoting the free and open source concepts.It was an attempt to open the world of mobile applications to take the full advantage that a handset can offer.Combining all mobile applications under one platform was an attempt to  generalize phone’s core applications and third-party applications. Users could take full advantage of inbuilt as well as other external applications.The restrictions imposed by the phone manufactures to use their proprietary software came to a halt with the emergence of Android. The limitations of the handset was completely over taken by the Android applications.

Android significantly enhanced the open source concepts and made applications free for use. The flexibility and mobility of Android was a boon to geeks who got engaged in shrinking the world to our finger tips. Google play have contributed much to this growth.Millions of applications are being developed and distributed around the world and the benefit that Google obtains through android is unbeatable.
 If you think Android as just a software development platform then its high time you change your view points, the influence of Android is unimaginable that it started to appear in hardware oriented scenarios also.But don't think that its a single piece of  hardware. Its a complete, end to end software platform that can be applied to any hardware configurations.

We can find no such areas where Android haven't  extended its reach.Let it be business  promotions, professional development, games or anything else, all  have taken a new step to reach to their clients and the path they have chosen is Android applications.The increasing popularity of smart phones and the usage of android applications have open the market for developers.

Following the footsteps of Google and Android others have entered the game,especially windows phone that runs with windows 8,apples iOS and firefox OS and much more are coming .Now it will be interesting to see what new plans are being cooked up behind the curtains. 



Friday, August 2, 2013

LATEST TECHNICAL ADVANCEMENTS

A PEEP INTO 'WOW' TECH

With the advancements of technology the world is rapidly undergoing a renovation. There are many catalysts in these advancements. Let’s have a peep into some of them:
The advancements in the fields of graphene are going to revolutionize the Internet. It will speed up the internet by up to 100 times. This development wills surely double the pace of the evolution that the web is undergoing.


FANTASY TO VERITY

Tech at a glance

Once upon a time there lived nomads who dreamt of flying just like the birds. They saw the dream, but their successors made it a reality. Ideas that seeded in their mind found the need to break their chains and flew high. They showed the world that imagination have the power to make things come true. When the 21st century blossomed, it witnessed a technical renaissance that changed the existence of human beings. What once thought to be found only in films and dreams have taken shape in front of us and that have made us open our mouths in awe. These advancements give the strength to see more dreams and make them true. The degree of interaction between humans and technology have increased to such an extent that the 21st century seems to make all the fascinations true.