Android Tutorials for beginners

DVM vs. JVM

Objectives :

  • What is DVM?
  • What is Dalvik Virtual Machine?
  • What is JVM?
  • What is Java Virtual Machine?
  • What are the differences between DVM & JVM?
  • What are the differences between Dalvik Virtual Machine & Java Virtual Machine?

 

DVM (Dalvik Virtual Machine)

JVM (Java Virtual Machine)

It is Register based which is designed to run on low memory.

It is Stack based.

DVM uses its own byte code and runs “.Dex” file. From Android 2.2 SDK Dalvik has got a Just in Time compiler

JVM uses java byte code and runs “.class” file having JIT (Just In Time).

DVM has been designed so that a device can run multiple instances of the VM efficiently. Applications are given their own instance.

Single instance of JVM is shared with multiple applications.

DVM supports Android operating system only.

JVM supports multiple operating systems.

For DVM very few Re-tools are available.

For JVM many Re-tools are available.

There is constant pool for every application.

It has constant pool for every class.

Here the executable is APK.

Here the executable is JAR.

 

Android Components

Objectives :

  • What are the components of Android?
  • Explain android components.

This is a small tutorial which explains about Android Components in brief.

[slideshare id=17537156&doc=androidcomponents-130323021024-phpapp02]

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.

Seminar on Andorid

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

Conducted Seminar on Android at Sharda Infotech, Nagpur (MS – INDIA) on 04-08-2012 between 12.30 pm to 2.30 pm & received a nice response from the attendees.

Thanks a lot for attending the seminar. 🙂

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?

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

Timeline of Android

Objectives :

  • What are the different versions of Android?
  • What is the timeline of Android?
  • What is the roadmap of Android?
  • What is Cupcake
  • What is Donut
  • What is Eclair?
  • What is Froyo?
  • What is Gingerbread?
  • What is Honeycomb?
  • What is Ice Cream Sandwitch?
  • What is Jelly Beans?

Following is the timeline for Android versions :

  • ›  Android 1.0 Beta : 5 November 2007
  • ›  SDK : 12 November 2007
  • ›  V 1.0 : 23 September 2008
  • ›  V 1.1 :  9 February 2009

Since April 2009, each Android version has been developed under a codename based on a dessert item as follows :

  • ›  V 1.5 Cupcake : 30 April 2009
  • ›  V 1.6 Donut : 15 September 2009
  • ›  V 2.0 Éclair : 26 October 2009
  • ›  V 2.1 Éclair : 12 January 2010
  • ›  V 2.2 Froyo : 20 May 2010
  • ›  V 2.3 Gingerbread : 6 December 2010
  • ›  V 3.0 Honeycomb : 22 February 2011
  • ›  V 4.0  Ice Cream Sandwich : 19 October 2011
  •   V 4.1 Jelly Beans : 9 July 2012

Future Versions :

The next major upgrade of Android is expected to be released very soon.