Tuesday, March 13, 2012

Google I/O 2011: Android Development Tools



Android 3.0 is the latest mobile operating system created by Android Inc. Android was acquired by Google in 2005. The concept of Android is based on an altered edition of the Linux kernel. Google and other members of the Open Handset Alliance worked together on Android's development and launch. The Android Open Source Project (AOSP) is tasked with the maintenance, and even more development of Android.



Android 3.0 has been given the name Honeycomb and is the latest version of the Android platform that's particularly enhanced for products with bigger screen sizes, particularly tablets. It presents a fresh, really virtual and "holographic" UI design, and an elegant, content-focused interaction model.
The first Honeycomb tablets on the market will be the LG G-Slate and the Motorola Xoom.
Google's Honeycomb develops the things individuals love most about Android- enhanced multitasking, rich notifications, home screen personalization, widgets, and much more and converts them with a vibrant, 3D experience and much deeper interactivity, which makes them familiar and even much better than before. The Android 3.0 platform consists of an up-to-date set of regular programs which are created to be used on bigger screen devices.
Honeycomb consists of new online connectivity functions that include versatility and comfort for customers. Built-in support for Media/Photo Transfer Protocol lets customers immediately sync media files with a USB-connected digital camera or desktop computer without needing to attach a USB mass-storage device.



Customers can also connect full key boards over USB or Bluetooth, for a comfortable text-input environment. For enhanced Wi-Fi connectivity, a brand new combo scan decreases scan times across bands and filter systems. New support for Bluetooth tethering indicates that more types of products can share the network interconnection of an Android-powered device.
Probably the most fascinating function included in Android 3.0 is Google's response to FaceTime and Skype: Gtalk. The Android Honeycomb up-date consists of video chat making use of Gtalk. FaceTime and Skype just became a very effective new rival and 2011 appears set to host a couple of video conferencing showdowns.
The company is also competing with Kindle and Apple's iBooks by the inclusion of an eBook reader and also the Google Books download program. Google says there will probably be "millions of books" obtainable on the move, complete with page turn animated graphics. Needless to say, Apple said the exact things about iBooks and, apart from a stunning user interface, the application was bare and also the store included extremely few publications.
The popularity of the Android applications have grown to such an extent that no company would want to leave the Android application customers unattended. The cut-throat competition has made every single buyer really important for the business. This means that it has become almost mandatory for the company to get an Android app developed.
Additionally, Google is challenging the other such OS by maintaining the adoption price at lower end. Although Windows OS license for such products costs around U.S. $50-60, Android comes with an appealing price tag of just $10. Apart from the software component, a substantial difference of USD 30 in between Intel and ARM processor is also a factor for players to invest in Android platform for their tablet devices.
To find which is the best Honeycomb tablet visit www.honeycomb-tablets.net

  

New User Features



UI refinements for simplicity and speed

The user interface is refined in many ways across the system, making it easier to learn, faster to use, and more power-efficient. A simplified visual theme of colors against black brings vividness and contrast to the notification bar, menus, and other parts of the UI. Changes in menus and settings make it easier for the user to navigate and control the features of the system and device.

Faster, more intuitive text input

The Android soft keyboard is redesigned and optimized for faster text input and editing. The keys themselves are reshaped and repositioned for improved targeting, making them easier to see and press accurately, even at high speeds. The keyboard also displays the current character and dictionary suggestions in a larger, more vivid style that is easier to read.
The keyboard adds the capability to correct entered words from suggestions in the dictionary. As the user selects a word already entered, the keyboard displays suggestions that the user can choose from, to replace the selection. The user can also switch to voice input mode to replace the selection. Smart suggestions let the user accept a suggestion and then return to correct it later, if needed, from the original set of suggestions.
New multitouch key-chording lets the user quickly enter numbers and symbols by pressing Shift+<letter> and ?123+<symbol>, without needing to manually switch input modes. From certain keys, users can also access a popup menu of accented characters, numbers, and symbols by holding the key and sliding to select a character.

One-touch word selection and copy/paste

When entering text or viewing a web page, the user can quickly select a word by press-hold, then copy to the clipboard and paste. Pressing on a word enters a free-selection mode — the user can adjust the selection area as needed by dragging a set of bounding arrows to new positions, then copy the bounded area by pressing anywhere in the selection area. For text entry, the user can slide-press to enter a cursor mode, then reposition the cursor easily and accurately by dragging the cursor arrow. With both the selection and cursor modes, no use of a trackball is needed.

Improved power management

The Android system takes a more active role in managing apps that are keeping the device awake for too long or that are consuming CPU while running in the background. By managing such apps — closing them if appropriate — the system helps ensure best possible performance and maximum battery life.
The system also gives the user more visibility over the power being consumed by system components and running apps. The Application settings provides an accurate overview of how the battery is being used, with details of the usage and relative power consumed by each component or application.

Control over applications

A shortcut to the Manage Applications control now appears in the Options Menu in the Home screen and Launcher, making it much easier to check and manage application activity. Once the user enters Manage Applications, a new Running tab displays a list of active applications and the storage and memory being used by each. The user can read further details about each application and if necessary stop an application or report feedback to its developer.

New ways of communicating, organizing

An updated set of standard applications lets the user take new approaches to managing information and relationships.

Internet calling
The user can make voice calls over the internet to other users who have SIP accounts. The user can add an internet calling number (a SIP address) to any Contact and can initiate a call from Quick Contact or Dialer. To use internet calling, the user must create an account at the SIP provider of their choice — SIP accounts are not provided as part of the internet calling feature. Additionally, support for the platform's SIP and internet calling features on specific devices is determined by their manufacturers and associated carriers.
Near-field communications
An NFC Reader application lets the user read and interact with near-field communication (NFC) tags. For example, the user can “touch” or “swipe” an NFC tag that might be embedded in a poster, sticker, or advertisement, then act on the data read from the tag. A typical use would be to read a tag at a restaurant, store, or event and then rate or register by jumping to a web site whose URL is included in the tag data. NFC communication relies on wireless technology in the device hardware, so support for the platform's NFC features on specific devices is determined by their manufacturers.
Downloads management
The Downloads application gives the user easy access to any file downloaded from the browser, email, or another application. Downloads is built on an completely new download manager facility in the system that any other applications can use, to more easily manage and store their downloads.
Camera
The application now lets the user access multiple cameras on the device, including a front-facing camera, if available.

New Developer Features

Android 2.3 delivers a variety of features and APIs that let developers bring new types of applications to the Android platform.

Enhancements for gaming

Performance
Android 2.3 includes a variety of improvements across the system that make common operations faster and more efficient for all applications. Of particular interest to game developers are:
  • Concurrent garbage collector — The Dalivik VM introduces a new, concurrent garbage collector that minimizes application pauses, helping to ensure smoother animation and increased responsiveness in games and similar applications.
  • Faster event distribution — The plaform now handles touch and keyboard events faster and more efficiently, minimizing CPU utilization during event distribution. The changes improve responsiveness for all applications, but especially benefit games that use touch events in combination with 3D graphics or other CPU-intensive operations.
  • Updated video drivers — The platform uses updated third-party video drivers that improve the efficiency of OpenGL ES operations, for faster overall 3D graphics performance.
Native input and sensor events
Applications that use native code can now receive and process input and sensor events directly in their native code, which dramatically improves efficiency and responsiveness.
Native libraries exposed by the platform let applications handle the same types of input events as those available through the framework. Applications can receive events from all supported sensor types and can enable/disable specific sensors and manage event delivery rate and queueing.
Gyroscope and other new sensors, for improved 3D motion processing
Android 2.3 adds API support for several new sensor types, including gyroscope, rotation vector, linear acceleration, gravity, and barometer sensors. Applications can use the new sensors in combination with any other sensors available on the device, to track three-dimensional device motion and orientation change with high precision and accuracy. For example, a game application could use readings from a gyroscope and accelerometer on the device to recognize complex user gestures and motions, such as tilt, spin, thrust, and slice.
Open API for native audio
The platform provides a software implementation of Khronos OpenSL ES, a standard API that gives applications access to powerful audio controls and effects from native code. Applications can use the API to manage audio devices and control audio input, output, and processing directly from native code.
Native graphics management
The platform provides an interface to its Khronos EGL library, which lets applications manage graphics contexts and create and manage OpenGL ES textures and surfaces from native code.
Native access to Activity lifecycle, window management
Native applications can declare a new type of Activity class, NativeActivity whose lifecycle callbacks are implemented directly in native code. The NativeActivity and its underlying native code run in the system just as do other Activities — they run in the application's system process and execute on the application's main UI thread, and they receive the same lifecycle callbacks as do other Activities.
The platform also exposes native APIs for managing windows, including the ability to lock/unlock the pixel buffer to draw directly into it. Through the API, applications can obtain a native window object associated with a framework Surface object and interact with it directly in native code.
Native access to assets, storage
Applications can now access a native Asset Manager API to retrieve application assets directly from native code without needing to go through JNI. If the assets are compressed, the platform does streaming decompression as the application reads the asset data. There is no longer a limit on the size of compressed .apk assets that can be read.
Additionally, applications can access a native Storage Manager API to work directly with OBB files downloaded and managed by the system. Note that although platform support for OBB is available in Android 2.3, development tools for creating and managing OBB files will not be available until early 2011.
Robust native development environment
The Android NDK (r5 or higher) provides a complete set of tools, toolchains, and libraries for developing applications that use the rich native environment offered by the Android 2.3 platform. For more information or to download the NDK, please see the Android NDK page.

New forms of communication

Internet telephony
Developers can now add SIP-based internet telephony features to their applications. Android 2.3 includes a full SIP protocol stack and integrated call management services that let applications easily set up outgoing and incoming voice calls, without having to manage sessions, transport-level communication, or audio record or playback directly.
Support for the platform's SIP and internet calling features on specific devices is determined by their manufacturers and associated carriers.
Near Field Communications (NFC)
The platform's support for Near Field Communications (NFC) lets developers get started creating a whole new class of applications for Android. Developers can create new applications that offer proximity-based information and services to users, organizations, merchants, and advertisers.
Using the NFC API, applications can read and respond to NFC tags “discovered” as the user “touches” an NFC-enabled device to elements embedded in stickers, smart posters, and even other devices. When a tag of interest is collected, applications can respond to the tag, read messages from it, and then store the messages, prompting the user as needed.
Starting from Android 2.3.3, applications can also write to tags and set up peer-to-peer connections with other NFC devices.
NFC communication relies on wireless technology in the device hardware, so support for the platform's NFC features on specific devices is determined by their manufacturers.

Rich multimedia

Mixable audio effects
A new audio effects API lets developers easily create rich audio environments by adding equalization, bass boost, headphone virtualization (widened soundstage), and reverb to audio tracks and sounds. Developers can mix multiple audio effects in a local track or apply effects globally, across multiple tracks.
Support for new media formats
The platform now offers built-in support for the VP8 open video compression format and the WebM open container format. The platform also adds support for AAC encoding and AMR wideband encoding (in software), so that applications can capture higher quality audio than narrowband.
Access to multiple cameras
The Camera API now lets developers access any cameras that are available on a device, including a front-facing camera. Applications can query the platform for the number of cameras on the device and their types and characteristics, then open the camera needed. For example, a video chat application might want to access a front-facing camera that offers lower-resolution, while a photo application might prefer a back-facing camera that offers higher-resolution.

New Platform Technologies

Media Framework

  • New media framework fully replaces OpenCore, maintaining all previous codec/container support for encoding and decoding.
  • Integrated support for the VP8 open video compression format and the WebM open container format
  • Adds AAC encoding and AMR wideband encoding

Linux Kernel

  • Upgraded to 2.6.35

Networking

  • SIP stack, configurable by device manufacturer
  • Support for Near Field Communications (NFC), configurable by device manufacturer
  • Updated BlueZ stack

Dalvik runtime

  • Dalvik VM:
    • Concurrent garbage collector (target sub-3ms pauses)
    • Adds further JIT (code-generation) optimizations
    • Improved code verification
    • StrictMode debugging, for identifying performance and memory issues
  • Core libraries:
    • Expanded I18N support (full worldwide encodings, more locales)
    • Faster Formatter and number formatting. For example, float formatting is 2.5x faster.
    • HTTP responses are gzipped by default. XML and JSON API response sizes may be reduced by 60% or more.
    • New collections and utilities APIs
    • Improved network APIs
    • Improved file read and write controls
    • Updated JDBC
  • Updates from upstream projects:
    • OpenSSL 1.0.0a
    • BouncyCastle 1.45
    • ICU 4.4
    • zlib 1.2.5
For more information about the new developer APIs, see the Android 2.3 version notes and the API Differences Report.

new android features



The Android 3.2 is a recent android mobile applications package that is stacked with new and advanced features that enables the Android developers to try out new substances. The Android developers can make use of the downloadable component of the Android SDK. The downloadable format of the Android 3.2 contains the following:
Android Library
System Images
Emulator Skins
The Android 3.1 contains enhanced features that include the following:



More range of Tablets
The main and advanced feature of this version is that it contains optimisation of the system that enables the users to get a richer and effective experience. Android Development is done in such a way that it is compatible over a range of tablet devices.
Better and extended API
It helps the users to manage the screen size and compatibility of the Android powered devices. With the help of resource qualifiers and other attributes the users will be able to get a better control on the display features of their apps. The generalized size categories are no longer required and thus give better flexibility for the users to make better use of the advanced features.
Fixed Size apps and their compatibility
The new version has better compatibility for zoom mode that helps the users to see the fixed size apps on any kind of larger devices. The new version supports pixel scaled rather than the traditional UI stretching format for apps. The traditional format does not support the larger screens and tablets and other advanced devices.
Direct download from SD card
The main advantageous feature of the Android 3.2 is the direct downloadable facility from the SD card onto the applications that is required to support them.
Zoom compatibility mode
For better display of the apps depending upon the various screen sizes the Android 3.2 platform also supports zoom compatibility mode. This works in such a way that the UI on a small screen area is then fully zoomed to fill the area available for display.
Better Screen Support
The new platform also supports better screen visibility for the octant of the user. For this the space utilization is done taking into consideration the smallest width and width and the height.
Screens smallest width refers to the minimum size of the screen that is measured in pixel units. In case of the smallest width refers to the width while in the landscape orientation it refers to the height. This is an important concept as the application considers this smallest width as the one that is required to draw the UI excluding all the other screen space that is kept for the system.
Screens Height and Width refers to the horizontal and vertical space that is available for layout design. This is measured in dip units.
New Resource Qualifiers:
Android development in the new version of 3.2 has enabled better resource qualifiers. It helps in creating resource configuration that can be utilized for a particular width or height or density that could be measured in pixels. It also supports the creation of overlapping resource configuration.
With so many advanced features Android 3.2 is truly ruling the industry and has taken it by storm.
For More Information:- Android Developers
Android Development

                             
 

Sunday, March 11, 2012

new android widgets




The Android home screen is like your desk: It's where you use and organize your applications in a way that's most effective for you.
Because you go to the home screen after pressing the convenient Home button, you should dedicate it to shortcuts for your most frequently used applications. Out of the box, Google puts several of the most commonly used applications (Maps, Gallery, YouTube, Market, Phone, Gmail, Browser, and Voice) on the home, along with two widgets: the sleek Google search box across the top and the new News & Weather widget at the bottom.



Customize Your Android Home Screen With Widgets and Themes
The best feature of the home display is that it's completely customizable.
Long-press a shortcut, widget, or whatever, and a slight vibration (known as haptic feedback) tells you that you that you can move that item. Longpress an empty space on the home, and you'll be prompted to add a shortcut, widget, folder, or wallpaper to that screen.
In addition to apps, the Nexus One's home screen can display widgets, which are little apps that display dynamic information on the home. Power Control is another useful widget which allows you to toggle various Nexus One settings; many other widgets display everything from clocks to the weather to your Twitter timeline.
Another great feature of Android's home display is that there are five of them, so when your primary home screen fills up (as it inevitably will), you can easily add apps and widgets to any of the Nexus One's four additional home screens. Just swipe your finger left or right to navigate to the additional screens.



When you fill all five home display, you're maxed out. Android 2.1 currently has only five home screens that you can customize with shortcuts, but the only limit to the number of apps that you can store on your phone is the amount of memory in it.
If you forget which home screen a particular app is in, you can invoke a cool thumbnail view by touching the left/right dots at the bottom of the screen. When you do, you see five miniature home display, complete with miniature app icons and widgets.
When you spot your app, touch its thumbnail to be whisked directly to that particular home screen. Good stuff.
Managing apps and widgets
When you want to remove an app or widget from the home (and this will happen), simply long-press its icon. You'll notice that the gray Launcher icon turns into a trash can. Simply drag the item's icon to the trash can to remove it from your home. The icon and the trash can glow red when they touch, confirming the deletion.
This procedure doesn't delete the application itself from your phone-just the shortcut or alias to the app. To permanently remove (or uninstall, in Android parlance) an application that you've downloaded, simply follow these steps:
1. Launch Android Market.
2. Press the Menu button.
3. Touch Downloads.
4. Scroll to the app that you want to uninstall.
5. Press the Uninstall button.
You can also manage certain applications by touching Settings >Applications > Manage Applications and then touching the app's name to open the Application Info screen. In this screen, you can press the Manage Space button to manage the amount of space that the application is using or press the Uninstall button to uninstall an app update that's causing problems..
Using the Launcher
The home display is where you store frequently used apps, shortcuts, and widgets. Touching the gridlike icon in the bottom center of the home screen opens the Launcher, which displays a scrolling list of all the apps installed on your Nexus One.
Applications are sorted alphabetically. You can scroll through them vertically by flicking upward or downward anywhere inside the Launcher screen. You can launch an app from this screen either by touching its icon or by pressing the trackball when the app's icon is highlighted.
Visit http://www.tehkseven.net for Free Themes, Wallpapers and Ringtones.





                      
 
                                           

                           

Thursday, March 8, 2012

new android roms



If you have rooted your Android phone, you may be curious about flashing a new ROM. In this review, I will give you a rundown of how MIUI stacks up.
In the last 6 months or so, I have tried almost every ROM available for my HTC Evo. There are many of them out there, and there are quite a few good ones. Before you begin losing interest in this story because you don't have an Evo, many ROM's are compatible with a number of different handsets. Even though MIUI is running on my HTC Evo, you likely will be able to install it on your phone should you choose to do so.



For those of you still new to rooting and flashing, I will provide a review for MIUI along with some general installation instructions. This article assumes that you have acquired root, and you are ready to flash a new ROM.
MIUI-Review Installation Ease
Since you must install MIUI first, I will start there. The download and installation is very simple. This is pretty standard for most ROM's. You go to the website for the download, download the ROM onto your root folder, and flash. This ROM has its origins in the Far East, so much of the ROM is not in English. That is why you would also download and install the language pack from the website right after the ROM. Don't worry about getting confused right now; directions will follow at the end of the article.
*One thing I DID notice however is that if you are coming from a Sense ROM, (Evo, Incredible, Hero, Desire, Legend, MyTouch, Inspire, Shift, Thunderbolt, etc.) MIUI must be installed from scratch with no restore of settings.
What does that mean? To avoid problems, it is best to sync your contacts to Google, and restore your apps from the market. If you absolutely have to restore from Titanium Backup or some other backup app, make sure you don't restore ANY settings from Sense. They do not play well with MIUI.
MIUI-Visuals
I think I have ADD for my phone. I have to change the appearance of my phone every so often to keep me from getting bored with the look. MIUI is by far the best ROM for people who like to switch it up. If you want a fresh look to your phone, MIUI is for you. On the other hand, if you are coming from an iPhone, then you might feel right at home, or you might hate it.
Bottom Line: The MIUI default layout looks similar to the iPhone layout. It is very simple, and lacks an app drawer much like the iPhone. Even though it looks like an iPhone, it is by far the most customizable ROM for Android, and if you don't like the default layout, you can change it.
Why MIUI is better: The real iPhone lacks customization. With MIUI, you can install widgets to your desktop, set live wallpapers, or even set a whole new MIUI theme. The launcher within MIUI allows you to change almost everything about the way it looks in a matter of a few touches on the screen.
MIUI-Performance
Sometimes, when you install a new ROM, you find that there are weak spots in the performance. Sometimes you get lots of force closes, or the screen gets choppy while switching between home screens. MIUI does a great job here, as these problems do not show up unless you did a poor job of restoring.
MIUI-Ease of Navigation
The navigation through this ROM is very simple. Chances are it is a bit different from what you may be used to, but it doesn't take long to learn your way around.
MIUI-Support/Community
The MIUI community is very responsive. Their forums are populated by developers and users alike. I have posted many questions on their forums, and often received multiple replies in a matter of an hour or two. Even better, the forum app is pre-installed within the ROM, so as soon as you boot your phone, you can begin posting right from your handset.
MIUI-Summary
This ROM is and has been my ROM of choice for a few months now. The layout is simple and eye catching, sharp and smooth. With the language pack installed, the menus are easy to navigate. There are several tools that come pre-installed such as the MIUI forum app (for when you have questions) as well as Torch (flashlight) and Theme Manager. If you like to change the look of your entire phone whenever you want, you will love this ROM.
Again, If you are still new to rooting and flashing, I would recommend following documented installation instructions. Trying to install ROMs without them can be dangerous.
Thanks for reading!
Randall- Author/Editor of http://androidappsandrooting.com.









Tuesday, March 6, 2012

The Android Market is now Google Play






In an effort to unify music, movie, book, and app purchases under a banner that is operating system agnostic, Google is phasing out the Android Market in favor of Google Play. What’s the difference? A new name, new logo, but otherwise not much. The content and services remain the same, and don’t worry, you can still push apps from your desktop browser to your smartphone.

Soon Google will be rolling out the Google Play Store to Android devices to replace their current Android Market builds. Any content purchased during the Android Market era will be retained and available via Google Play. See, these aren’t any real sweeping changes. Just Google refocusing their efforts and placing equal importance on all aspects of what was once primarily an app store.
In celebration of the launch of Google Play, a “7 Days to Play” promotion will feature a different book, album, video rental, and app at a special sale price each day (albums are just $0.25). Other deals include $0.49 apps and $3.99 albums. You can read a bit more about Google Play at the source link below. Now the real challenge: getting used to writing Google Play instead of Android Market.