Android Phone Secret Codes

Samsung galaxy sony xperia htc Android secret codes enter dial factory hard reset format service test mode debug diagnosis check up wifi GPRS GPS sensor test bluetooth MAC address ip address LCD display touch screen test
Dialing the code
Here in this post, I am listing down some secret codes for Android phones.

*#*#4636#*#*   :Phone info (packet data), batttery info,usage statistics,wifi info
*#*#7780#*#*  :Factory reset
*2767*3855#   :Format Phone
*#*#197328640#*#*  :Service mode (version info,Factory test,and many debugs)

Sony Xperia Secret Menu for Service Test and Hard Reset

In Xperia series phones of Sony, there is a secret menu which has options for Service test and Hard reset of the phone. This menu is available almost all Xperia phones including Xperia Z, Xperia J, Xperia P, Xperia U, Xperia ION, Xperia S,Xperia E, Xperia L, Xperia tipo, Xperia arc, Xperia zola The menu can be made available by dialing a secret code in the dial-pad of the phone.

Sony Xperia Secret Menu for Service Test and Hard Reset LCD touch screen test diagnosis debug checkup check up information repair menu GPS, GPRS 3G mobile phone Android Samsung galaxy
Dial pad of Sony Xperia P
The code is *#*#7378423#*#*. When you dial this code in the dialpad, the secret menu will appear which contains options:


  1. Service Info
  2. Service Settings
  3. Service Tests
  4. Customisation Settings

How to Display Mathematical Symblos, Greek Letters etc in HTML

When i was writing a post, i found it difficult to display some mathematical symbols in the post. At last, i solved it and found that there are easy to remember mnemonics for most of the symbols we come across. Sometimes you can get them only from the 'charmap' (enter charmap in 'Run' in your windows OS). There are escape sequences in HTML which will help you to include mathematical symbols and other Greek letters which are often used as variables or notation for some processes. To display these symbols in a webpage, simple mnemonics or corresponding code can be used. These informations are directly available in HTML4.0 website.


C and C++ Programs to Reverse a Number

This post includes a C program and a C++ program to reverse a given number. That is, to reverse the order of digits. If 543 is entered, it will be displayed as 345.

C Program:

#include<stdio.h>
main()
{

Conditional Operator in C and C++

Conditional Operator is an operator which is substitutive for if-else statements. It is a ternary operator (operator which operates on 3 operands). It is often called ?: operator. The operands are expression1, expression2 and expression3. The syntax is as follows:

expression1 ? expression2 : expression3

The expression expression1  will be evaluated always. Execution of expression2 and expression3 depends on the outcome of expression1. expression1 is checked whether true or not. It is considered like a boolean variable. The outcome of an expression is true if it has a non zero value. If its value is zero, the outcome of expression is false. If the expression1 is true, then expression2 is evaluated. If the expression1 is false, then expression3 is evaluated. Consider the following example: