Amazing book to learn android programming
CCNA Cisco Certified Network Associate – Study Guide
CCNA Exam 640-607 Certification Guide
How To make your PC as Router using GNS3 – (Arabic)
Example about Context Menu in Android
Example about Alert Dialog in Android
Shortcuts for Linux Terminal
Here is some keyboard shortcuts … you can use it in terminal:
| Ctrl-a | Move to the start of the line. |
| Ctrl-e | Move to the end of the line. |
| Alt-] x | Moves the cursor forward to the next occurrence of x. |
| Alt-Ctrl-] x | Moves the cursor backwards to the previous occurrence of x. |
| Ctrl-u | Delete from the cursor to the beginning of the line. |
| Ctrl-k | Delete from the cursor to the end of the line. |
| Ctrl-w | Delete from the cursor to the start of the word. |
| Ctrl-y | Pastes text from the clipboard. |
| Ctrl-l | Clear the screen leaving the current line at the top of the screen. |
| Ctrl-x Ctrl-u | Undo the last changes. Ctrl-_ |
| Alt-r | Undo all changes to the line. |
| Alt-Ctrl-e | Expand command line. |
| Ctrl-r | Incremental reverse search of history. |
| Alt-p | Non-incremental reverse search of history. |
| !! | Execute last command in history |
| !abc | Execute last command in history beginning with abc |
| !n | Execute nth command in history |
| ^abc^xyz | Replace first occurrence of abc with xyz in last command and execute it |
Secret Codes for Android Devices
These are some codes that runs in android devices …
1. Complete Information About your Phone
*#*#4636#*#*
This code can be used to get some interesting information about your phone and battery.
Usage statistics
2. Factory data reset
*#*#7780#*#*
This code can be used for a factory data reset. It’ll remove following things:
-
Google account settings stored in your phone
-
System and application data and settings
-
Downloaded applications
It’ll NOT remove:
-
Current system software and bundled application
-
SD card files e.g. photos, music files, etc.
Note: Once you give this code, you get a prompt screen asking you to click on “Reset phone” button. So you get a chance to cancel your operation.
3. Format Android Phone
*2767*3855#
Think before you give this code. This code is used for factory format. It’ll remove all files and settings including the internal memory storage. It’ll also reinstall the phone firmware.
Note: Once you give this code, there is no way to cancel the operation unless you remove the battery from the phone. So think twice before giving this code.
4. Phone Camera Update
*#*#34971539#*#*
This code is used to get information about phone camera. It shows following 4 menus:
-
Update camera firmware in image (Don’t try this option)
-
Update camera firmware in SD card
-
Get camera firmware version
-
Get firmware update count
WARNING: Never use the first option otherwise your phone camera will stop working and you’ll need to take your phone to service center to reinstall camera firmware.
5. End Call/Power
*#*#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, AirPlane 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.
6. File Copy for Creating Backup
*#*#273283*255*663282*#*#*
This code opens a File copy screen where you can backup your media files e.g. Images, Sound, Video and Voice memo.
7. Service Mode
*#*#197328640#*#*
This code can be used to enter into Service mode. You can run various tests and change settings in the service mode.
8. WLAN, GPS and Bluetooth Test Codes:
*#*#232339#*#* OR *#*#526#*#* OR *#*#528#*#* – WLAN test (Use “Menu” button to start various tests)
*#*#232338#*#* – Shows WiFi MAC address
*#*#1472365#*#* – GPS test
*#*#1575#*#* – Another GPS test
*#*#232331#*#* – Bluetooth test
*#*#232337#*# – Shows Bluetooth device address
9. Codes to get Firmware version information:
*#*#4986*2650468#*#* – PDA, Phone, H/W, RFCallDate
*#*#1234#*#* – PDA and Phone
*#*#1111#*#* – FTA SW Version
*#*#2222#*#* - FTA HW Version
*#*#44336#*#* – PDA, Phone, CSC, Build Time, Changelist number
10. Codes to launch various Factory Tests:
*#*#0283#*#* – Packet Loopback
*#*#0*#*#* – LCD test
*#*#0673#*#* OR *#*#0289#*#* - Melody test
*#*#0842#*#* – Device test (Vibration test and BackLight test)
*#*#2663#*#* - Touch screen version
*#*#2664#*#* – Touch screen test
*#*#0588#*#* – Proximity sensor test
*#*#3264#*#* – RAM version
Install Appserv on Ubuntu
For web developer …
How to install tools needed to develop web apps on Ubuntu
It’s easy …
- Open terminal and type this command:
sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server phpmyadmin
This command install Apache server , PHP MyAdmin and MySQL sever.
You can install it one by one.
- After install these type this command:
sudo /etc/init.d/apache2 restart
Congratulation You now install it.
You will find localhost in this directory:
/var/www/
Enjoy it



