Android Tutorials

Quickstart Android Development Environment Setup

Android ADT Bundle

Android ADT Bundle

This is a great update that Google has come up with for Android Developers, Android Trainers and Android Learners because before this ADT Bundle setting up Android Development Environment was bit tedious job and it was very time consuming too. Many times students asked me the steps to setup the Android Development Environment and every time (for every new batch) we need to setup the Android Development Environment from scratch and I used to tell them following steps :

  1. Download JDK (Java Development Kit), Install it, Set Environment Path
  2. Download Eclipse
  3. Download ADT Plugin for Eclipse
  4. Set the Preferences in Eclipse with Android SDK path
  5. Download the latest Platform Tools and others required but optional stuffs

But now thanks to Google for ADT Bundle which provides everything you need to start developing Android Applications. The ADT Bundle includes :

  1. Eclipse + ADT Plugin (ADT Plugin already installed inside Eclipse)
  2. Android SDK Tools
  3. Android Platform Tools
  4. Latest Android Platform
  5. Latest Android System Image for Emulator

To setup the ADT Bundle you need to follow 2 steps below :

  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.

If you are new to Android Development, I will recommend ADT Bundle to quick start development process. but if wish to go with the existing IDE then you can go with downloading the SDK Tools for Eclipse.

Click on the image above to download the ADT Bundle.

Watch the demo video here :

[gigya src=”http://player.videofy.me/player.swf?videoId=893705″ width=”480″ height=”360″ quality=”high” wmode=”transparent” allowFullScreen=”true”]

Android Secret Codes and Hacks

wpid-jb-new-logo.png

Objectives :

  • How to find IMEI Number of Android Phone?
  • How to get Complete Information about  your Phone and Battery of Android Phone?
  • How to Reset Android Phone?
  • How to Factory Reset Android Phone?
  • How to Format Android Phone?
  • How to monitor your GTalk Service of your Android Phone?
  • How to check camera settings of your Android Phone?
  • How to change settings of End Button of Android Phone?
  • How to change settings of Power Button of Android Phone?
  • How to switch off Android phone directly?
  • How to take backup of Android Phone?
  • How to backup your images, songs, videos, files, etc. from Android Phone?
  • How to enter into service mode of Android Phone?
  • How to test Bluetooth of Android Phone?
  • How to test GPS of Android Phone?
  • How to test WLAN of Android Phone?
  • How to test Wireless LAN of Android Phone?
  • How to check MAC address of Android Phone?

This is generally for the people who don’t know anything about the phones & they get cheated while buying new phones & resell phones as well as during repairs.

The information provided in here work for nearly all Android phones. Android users can unlock some hidden features of their cell phones. But user can use these codes at their own risk, anyone is not responsible of any damage or data loss or any problem occurred.

This article will answer all your How-to questions mentioned above and many more questions too which I forgot to list here.

IMEI Number

Code : *#06#

This code will display IMEI (International Mobile Equipment Identity) Number / code of your device.

Complete Information about  your Phone and Battery

Code : *#*#4636#*#*

This will list the complete information about your Android Phone & Battery.

Factory Data Reset

Code : *#*#7780#*#*

This will reset the complete data to factory state.

Full Factory Format

Code : *2767*3855#

This will format your phone, use this code at your own risk. We will not be responsible for anything that happens during or after format with your phone.

GTalk Service Monitor

Code : *#*#8255#*#*

This will monitor the services of GTalk.

Camera Firmware Settings

Code : *#*#34971539#*#*

This will list all the setting of your camera.

End Call / Power

Code : *#*#7594#*#*

This one is my favorite one. This code can be used to change the “End Call / Power” button action in your phone. Be default, if you long press the button, it shows a screen asking you to select any option from Silent mode, Mute mode, Data Network mode, Flight mode and Power off. You can change this action using this code. You can enable direct power off on this button so you don’t need to waste your time in selecting the option.

Backup Mode

Code : *#*#273283*255*663282*#*#*

This code can be used to take backup of your phone, here you will come across a screen where you can backup your images, songs, videos, etc.

Service Mode

Codes : *#*#197328640#*#*

This code can be used to enter into Service mode so that you can run various tests and change settings.

WLAN, GPS and Bluetooth Test

Codes : *#*#232339#*#* OR *#*#526#*#* OR *#*#528#*#*

WLAN test (Use “Menu” button to start various tests).

Code : *#*#232338#*#*

This code will show WiFi MAC address.

Codes : *#*#1472365#*#* OR *#*#1575#*#*

This code used for GPS test.

Code : *#*#232331#*#*

Use this code to test Bluetooth.

Code : *#*#232337#*#*

This code will show Bluetooth device address.

Firmware Version

Code : *#*#4986*2650468#*#*

Use this code to check version of PDA, Phone, H/W, RF Call Date.

Code : *#*#1234#*#*

Use this code to check version of PDA & Phone.

Code : *#*#2663#*#*

This code is used to check Touch Screen version.

Code : *#*#3264#*#*

This code is used to check RAM version.

Code : *#*#1111#*#*

Use this code to check version of FTA SW Version.

Code : *#*#2222#*#*

Use this code to check version of FTA HW Version.

Code : *#*#44336#*#*

Use this code to check version of PDA, Phone, CSC, Build Time, Changelist number.

Factory Tests

Code : *#*#0283#*#*

This code is used to send a Packet which Loops back.

Code : *#*#0*#*#*

This code is used to test your LCD.

Code : *#*#0673#*#* OR *#*#0289#*#*

This code can be used to test Melody of your Android Phone.

Code : *#*#0842#*#*

This code will test your Android device / phone for Vibration and Back light.

Code : *#*#2664#*#*

This code is used to check Touch Screen Test.

Code : *#*#0588#*#*

This code is useful to test Proximity Sensor.

Enjoy & have fun with your Android phone / device.

FLAMES

FLAMES

FLAMES

I have developed the well known game FLAMES (Friend – Love – Affection – Marriage – Enemy – Sibling) on Android & J2ME Platforms, have a look at the Android version of the FLAMES, very soon it will be available with Google Play to download for free of cost.

FLAMES allows you to check out the relationship between two people just by entering their names & single click on “?” button.

Download FLAMES from Google Play for free now.

If you like FLAMES, like Facebook Page of FLAMES.

Checkout Video to know how FLAMES works :

[gigya src=”http://player.videofy.me/player.swf?videoId=702646″ width=”480″ height=”360″ quality=”high” wmode=”transparent” allowFullScreen=”true”]

Download & have great fun while checking relations on the go.

4 New Features of Android 4.2

Hey friends,

Google is coming up with a new version of Android viz Android 4.2 Jelly Bean. In Android 4.2 are 4 new & hot features such as follows:

1. Smart Screensaver

There will be a smart screensaver named Daydream, from the Android 4.2. This will allow you to present slide shows, news feeds, social networking updates, stock updates, breaking news and even mail updates on the home screen.

2. Gesture typing

Gesture typing is great feature coming in Android 4.2. Here, you just slide your finger between each letter in a word and the keyboard figures out what you’re trying to type. Although the feature is an old concept, the latest operating system has a better type sensitivity, compared to its previous versions. Combined with Google’s superfast auto prediction, the new feature makes one-handed typing extremely easy.

3. Miracast

Using Miracast users can directly stream internet TV shows and movies from their Smartphones and Tablets to their television (TVs). This feature will work on 802.11 networking protocol, Miracast is the trade name for Wi-Fi Direct or Wi-Di. Google boasted on Miracast’s potential to change the whole connectivity landscape between Smartphone’s and television. This is similar to Apple’s Airplay Mirroring.

4. Multi User Support

This is again a new feature in Android 4.2 which allows customers with tablets to create multiple profiles in a single tablet, secured by a login-id. Although exclusive for tablets, the multi user support allocates fun loving clients with appropriate home-screens, backgrounds, widgets, apps and games, while business users can have their own unique tablet experience. The profiles are separated by distinctive login ids and passwords and even finger print protection in high-end tablets.

Change font size in Eclipse

Hey friends,

Many students & professionals were asking that how they can change the font size in Eclipse.

 

Here is the way to change the font size in Eclipse :

  • Go to Window Menu Preferences > General > Appearance > Colors and Fonts
  • Then to change the font size : Go to Java > Java Editor Text Font > Edit
  • Now set the font & font size you wish, done.

 

See Video Tutorial for above :

[gigya src=”http://player.videofy.me/player.swf?videoId=605346″ width=”480″ height=”256″ quality=”high” wmode=”transparent” allowFullScreen=”true”]

Enjoy Coding!

Android versus iPhone

Objectives :

  • Differences between Android & iPhone
  • Comparison between Android & iPhone
  • Features  of Android
  • Features of iPhone
  • Pros  Cons of Android
  • Pros  Cons of iPhone
  • Which mobile programming platform to choose?
  • Which mobile platform to choose from Android & iPhone?
  • Which phone I should buy Android or iPhone?
Color Code :
  • Green : Positive Point
  • Red : Negative Point
  • Black : Neutral

Parameter

Android

iPhone

Battery Removable and Replaceable No replacement battery
Applications About 70,000 applications currently and growing rapidly About 2,30,000 applications currently and growing
OS Update Non upgrade-able OS iPhone can support at least one major OS update before Apple launches a non-compatible or a higher configuration OS
Jailbreak Many Android OS comes with an option to Jailbreak it from its service provider iPhone does not have this feature when you buy it
Notifications System wide notifications (non-modal)  and other application notifications in cascade windows Push notifications and individual notifications on updates
Internal Memory Limited internal memory. Lots of apps in the internal memory will eventually make your phone less smart Good internal memory and you have choice of different internal memory sizes
External Memory External SD card can be inserted to store more photos, media, etc. No external expandable memory.
Dictionary Google Voice integration and user editable dictionary Artificial Intelligence type dictionary. iPhone learns as you type
E-mail Separate Apps for Gmail and other E-mail Single E-mail app
Visualization Visually crippled non-Google apps All apps are aesthetically gorgeous
Sync Android has the Plug and Transfer feature iTunes sync model – just like iPods
Menus and Buttons The menu and back buttons don’t always do the same thing One button – clear function
Text editing Inconsistent text editing options Text editing operations (cut, copy, paste) act the same irrespective of the application
Charger Micro USB charger that is something which is readily available in the market Apple charger only

Now think which platform to choose?

Andoid 4.1 Jelly Beans

image

Android Jelly Beans Logo

Google has come up with yet another version of Android i.e. Android 4.1 – Jelly Bean which is the fastest and smoothest version of Android yet. Jelly Bean came with improved simplicity and old but the golden beauty of Android 4.0, also introduces a new & great feature of Google search.

Key Features for users & developers :

# Fast & Smooth but Responsive

It is fast, smooth & responsive at the same time due to consistent framerate.

# Expandable but actionable notifications

Now you can take action directly on to the notifications. And because they’re expandable you can get an even deeper look into the things that matter most, like multiple emails or photos on Google+.

# Magical Widgets

It is very easy now to personalize your home screen with Jelly Bean. As soon as you place widgets on the screen, everything else automatically moves to make room Also when they’re too big in size, widgets magically resize on their own.

# Fast snapping & sharing

Snapping was much faster with Android 4.0 but Android 4.1 Jelly Beans made it much more faster than ever before. You can simply swipe over camera to filmstrip view to instantly view the photos you just captured, and quickly swipe away the ones you don’t like. Now sharing and bragging just a fun.

# Smart Keyboard

Android 4.1 has smart keyboard which supports text prediction with accurate dictionary. Now you can type using Voice typing because improved TTS (Text To Speech) support, and no data connection is required means you can voice type anywhere.

# Accessibility

Jelly Bean has introduced a great new feature of ‘Gesture Mode’ because of which blind users can navigate the UI using touch and swipe gestures n combination with speech output, it also supports accessibility plugins to enable external Braille input and output devices via USB and Bluetooth.

# Android Beam

Now Jelly Bean allows you to easily share your photos, videos, contacts, web pages, YouTube videos directions, and apps with just a simple tap. You just need to touch two NFC-enabled Android devices back-to-back then tap to beam to another device with instantly pairing them to Bluetooth.

# Improved Google Search

The Jelly Bean has come up with fast Google Search with enhanced look & feel. Now Google supports voice search also.

# Bi-Directional Text

Jelly Bean supports displaying bi-directional text (i.e. left-to-right or right-to-left) in TextView (i.e. Label) & editing text in EditText (i.e. Textfield).

# Internationalization (i18n)

Now Android 4.1 supports many more languages like Kannada, Telugu and Malayalam. And new Emoji characters from Unicode version 6.0, better glyph support for Japanese users(renders Japanese-specific versions of glyphs when system language is set to Japanese), Arabic glyphs optimized for WebViews in addition to the Arabic glyphs for TextViews Vertical Text support in WebViews, including Ruby Text and additional. Also Vertical Text glyphs; Synthetic Bold is now available for all fonts that don’t have dedicated bold glyphs.

# Discover new input device attached or removed

In Android 4.1, now Apps can register broadcast to be notified when any new input devices are attached or removed, by USB, Bluetooth, or any other connection type. This information cam be used to change the state or capabilities as and when needed. For example, a game could receive notification that a new keyboard or joystick is attached, indicating the presence of a new player.

Source : Official Android Site

Posted from WordPress for Android

Several Devices runs on Android

Android was designed for the smartphones and tablet computers but the open and customizable nature of the Android operating system allowed vendors, manufacturers it to be used on other electronics, including :

  • Laptops and Netbooks
  • USB Computer
  • Smartbooks
  • E-book readers
  • Smart TVs (Google TV)
  • Handheld console
  • MP4 player
  • Portable media player
  • Cordless phone
  • Portable radio
  • Headphone
  • Portable DECT phone
  • Set-top box for TV
  • Portable Game Console
  • Head mounted display for ski goggles
  • Wristwatch with phone functionality
  • Wristwatch-shaped fitness tracker and smart music player
  • Navigation Systems
  • Home automation systems
  • Refrigerators
  • DVD players
  • Treadmills
  • Cameras

In December 2011 it was announced the Pentagon has officially approved Android for use by its personnel.

Resource : Official Android website

Features of Android

Objectives :

  • What are the features of Android?
  • What features Android OS have?
  • List of Android features

 

Features of Android :

  • Handset Layout
  • Storage
  • Connectivity
  • Messaging
  • Multiple Language Support
  • Web Browser
  • Java support
  • Media support
  • 3D Support
  • Streaming Media support
  • Additional H/w support
  • Multi-touch
  • Bluetooth
  • Video calling
  • Multitasking
  • Voice based features
  • Tethering
  • Screen capturing
  • External storage