Sunday, 20 April 2014

Why is the Android emulator so slow, How to speed up Android Emulator on Eclipse

Android emulator so slow
Slow Emulator speed on Eclipse (actually very very slow for debugging)
emulator: Failed to open the HAX device! HAX is not working and emulator runs in emulation mode,  emulator: Open HAX device failed solution
  1. In order to use x86 Android Intel Emulator, download using Android SDK Manager
  2. After this you need to install HAXM as well;
  3. After installing Intel x86 Emulator Accelerator, you need to go installation folder and execute manually  HAXM executable.
  4. Go to the following folder   (D:\Android adt-bundle-windows-x86-20130729\sdk\extras\intel\Hardware_Accelerated_Execution_Manager)
  5. Run IntelHaxm.exe
  6. Press Next
  7. Set RAM size, you can choose default value and click yes
  8. After the installation, you should open command prompt for testing whether HAXM is running on computer try the following command
  9. if you see RUNNING state, HAXM installation is successful.
  10. So in order to use the fastest Intel x86 Emulator, you should define a new emulator in Eclipse by opening Android Virtual Device Manager and setting the following parameters
  11. Under Device Definitions, choose press create AVD
    In this section, choose Intel Atom (x86) for CPU/ABI and this will activate HAXM
    and your emulator will be faster
  12. After completing these steps; by running your application
Enjoy...

Saturday, 19 April 2014

Can't find API database; API check not performed Android SDK manager not open

Can't find API database; API check not performed

The project was not built since its build path is incomplete. Cannot find the class file for java.lang.Object. Fix the build path then try building this project


Can't find API database; API check not performed

Friday, 18 April 2014

How to Setting the ADT Bundle Android

Install the SDK and Eclipse IDE

  1. Unpack the ZIP file (named adt-bundle-<os_platform>.zip) and save it to an appropriate location, such as a "Development" directory in your home directory.
  2. Open the adt-bundle-<os_platform>/eclipse/ directory and launch eclipse.
The IDE is already loaded with the Android Developer Tools plugin and the SDK is ready to go. To start developing,

How to download android sdk manager

Android SDK :-
The Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android.
If you're a new Android developer, we recommend you download the ADT Bundle to quickly start developing apps. It includes the essential Android SDK components and a version of the Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app development.
With a single download, the ADT Bundle includes everything you need to begin developing apps:
  • Eclipse + ADT plugin
  • Android SDK Tools
  • Android Platform-tools
  • The latest Android platform
  • The latest Android system image for the emulator
Download theSDK ADT Bundle for windows  http://developer.android.com/sdk/index.html

Android 4.4 KitKat: 10 New Features

Features :-

1.Better Memory Management

KitKat is designed to run on devices with as little as 512MB of RAM. Google has implemented behind-the-scenes improvements to Android 4.4′s memory management, and will be providing developers and OEM manufacturers with tools and options to take advantage of these improvements. These memory improvements are expected to lead to smoother multi-tasking as well.

2. Improved Google Now

You can now activate Google Now by simply saying "OK Google". It’s only available to Nexus 5 for now though. The contextual cards feature also gets an upgrade. Google Now cards will try to predict information you need based on your location, favorite sites or TV programs.

3. Hangouts App Upgraded

The old Android messaging app is now a thing of the past with KitKat. Instead, Google Hangouts now supports SMS and MMS, so all your messages will be in the same app. Hangouts will also be getting support for HD video calls across all devices.

4.Smarter Caller ID

Android’s default phone app is also getting some welcome changes, including a fresh new design. The dialer now has a search field that you can use to search for a business’s contact info listed in Google Maps. This will pull up contact info for businesses near your area.

5. Immersive Mode

Let’s face it; Android’s status bar and navigation buttons can sometimes get in the way, especially when you’re playing a game, reading eBooks or watching videos. Fortunately, Android 4.4 comes with a new immersive mode that hides everything except the app you’re using. Once you’re done, just swipe the edge of the screen to bring back your status bar and navigation buttons.

6. Integration With Cloud Storage

Android 4.4 comes support for cloud storage solutions such as Google Drive built into the operating system. This means that you can save and open directly from the cloud, without having to save into your device’s storage first. Apps such as QuickOffice are already able to take advantage of this integration and open documents directly from Google Drive on your Android device.

7. Printing On The Go

Google is making it much easier to print documents or photos on your phone by building support for Google Cloud Print directly into Android 4.4. This will allow you to print documents over WiFi or Bluetooth. Of course, this feature is limited to compatible printers with wireless capabilities, support for Google Cloud Print, as well as any printers that have apps available in the Google Play Store.

8. Built-In Sensors

Android 4.4 adds operating system support for two new composite sensors: step counter and step detector. This support will allow fitness app developers to access pedometer data without writing complex code and algorithms. This, coupled with the hardware sensor batching that reduces power consumed by sensors, means that Android 4.4 devices with compatible hardware, such as the Nexus 5, will be perfect for training and fitness purposes.

9. System-Wide Closed Captioning

Android 4.4 improves user accesibility by adding support for system-wide closed captioningsettings. You can set whether captions should be shown, the language captions will be shown for, and text-related settings such as size and font. Apps that use video will be able to access these settings and show on screen captions based on your settings.

10. Lock Screen Art

The Android 4.4 lock screen can now show more than just widgets. When you’re listening to music or streaming movies via Chromecast, your device’s lock screen will show the fullscreen album or movie art. The lock screen will also have dedicated controls to allow you to play, pause and seek, all from the lock screen.

Android Versions

Android Version history by API level



VERSIONS

Android 1.0 (API level 1)
Android 1.1 (API level 2)

Android 1.5 Cupcake (API level 3)

Android 1.6 Donut (API level 4)

Android 2.0 Eclair (API level 5)
Android 2.0.1 Eclair (API level 6)
Android 2.1 Eclair (API level 7)

Android 2.2–2.2.3 Froyo (API level 8)


Android 2.3–2.3.2 Gingerbread (API level 9)
Android 2.3.3–2.3.7 Gingerbread (API level 10)

Android 3.0 Honeycomb (API level 11)
Android 3.1 Honeycomb (API level 12)
Android 3.2 Honeycomb (API level 13)

Android 4.0–4.0.2 Ice Cream Sandwich (API level 14)
Android 4.0.3–4.0.4 Ice Cream Sandwich (API level 15)

Android 4.1 Jelly Bean (API level 16)
Android 4.2 Jelly Bean (API level 17)
Android 4.3 Jelly Bean (API level 18)

Android 4.4 KitKat (API level 19)

All the Android Versions up to March,2014.All Android Version from 1.5 to 4.4

(API Level 1 to 19)