.

.

Tuesday 23 October 2012

Twek UI Tips



Press Win+L to switch to the Welcome screen.
-----
Press Win+L to lock your workstation.
-----
You can switch users without going through the Welcome screen:  From Task Manager, go to the Users tab, right-click a user, and select Connect.
-----
Hold down the shift key in the shutdown dialog to change "Stand By" to "Hibernate".  Or just press H to hibernate instantly.  You can even use the Power Control Panel to configure your power button to hibernate.
-----
To disable the password when resuming from standby or hibernation, open the Power Control Panel and uncheck "Prompt for password after returning from standby" on the Advanced tab.
-----
You can rename multiple files all at once: Select a group of files, right-click the first file, and select "Rename". Type in a name for the first file, and the rest will follow.
-----
Hold down the shift key when switching to thumbnail view to hide the file names.  Do it again to bring them back.
-----
When dragging a file in Explorer, you can control the operation that will be performed when you release the mouse button:

Hold the Control key to force a Copy.

Hold the Shift key to force a Move.

Hold the Alt key to force a Create Shortcut.
-----
If you create a file called Folder.jpg, that image will be used as the thumbnail for the folder.  What's more, that image will also be used as the album art in Windows Media Player for all media files in that folder.
-----
From the View Menu, select "Choose Details" to select which file properties should be shown in the Explorer window. To sort by a file property, check its name in the "Choose Details" in order to make that property available in the "Arrange Icons by" menu.
-----
To display the volume control icon in the taskbar, go to the Sounds and Audio Devices Control Panel and select "Place volume icon in the taskbar".
-----
Hold down the shift key when deleting a file to delete it immediately instead of placing it in the Recycle Bin. Files deleted in this way cannot be restored.
-----
If you hold down the shift key while clicking "No" in a Confirm File Operation dialog, the response will be interpreted as "No to All".
-----
To save a document with an extension other than the one a program wants to use, enclose the entire name in quotation marks.  For example, if you run Notepad and save a file under the name

Dr.Z

it will actually be saved under the name Dr.Z.txt.  But if you type

"Dr.Z"

then the document will be saved under the name Dr.Z.  Note that a document so-named cannot be opened via double-clicking since the extension is no longer ".txt".
-----
Put a shortcut to your favorite editor in your Send To folder and it will appear in your "Send To" menu. You can then right-click any file and send it to your editor.
-----
Ctrl+Shift+Escape will launch Task Manager.
-----
To arrange two windows side-by-side, switch to the first window, then hold the Control key while right-clicking the taskbar button of the second window.  Select "Tile Vertically".
-----
To close several windows at once, hold down the Control key while clicking on the taskbar buttons of each window.  Once you have selected all the windows you want to close, right-click the last button you selected and pick "Close Group".
-----
You can turn a folder into a desktop toolbar by dragging the icon of the desired folder to the edge of the screen. You can then turn it into a floating toolbar by dragging it from the edge of the screen into the middle of the screen.  (It helps if you minimize all application windows first.)
-----
You can turn a folder into a taskbar toolbar.

First, unlock your taskbar.

Next, drag the icon of the desired folder to the space between the taskbar buttons and the clock. (Wait for the no-entry cursor to change to an arrow. It's a very tiny space; you will have to hunt for it.)

You can rearrange and resize the taskbar toolbar you just created.

You can even turn the taskbar toolbar into a menu by resizing it until only its name is visible.
-----
In the Address Bar, type "microsoft" and hit Ctrl+Enter.  Internet Explorer automatically inserts the "http://www." and ".com" for you.
-----
To remove an AutoComplete entry from a Web form, highlight the item in the AutoComplete dropdown and press the Delete key.

To remove all Web form AutoComplete entries, go to the Internet Explorer Tools menu, select Internet Options, Content, AutoComplete, then press the "Clear Forms" button.
-----
To organize your Favorites in Explorer instead of using the Organize Favorites dialog, hold the shift key while selecting "Organize Favorites" from the Favorites menu of an Explorer window.
-----
You can organize your Favorites by dragging the items around your Favorites menu.

Alternatively, you can open the Favorites pane and hold the Alt key while pressing the up and down arrows to change the order of your Favorites.
-----
To run Internet Explorer fullscreen, press F11. Do it again to return to normal mode.
-----
If your "Printers and Faxes" folder is empty, you can hide the "Printers and Faxes" icon when viewed from other computers by stopping the Print Spooler service.
-----
To add or remove columns from Details mode, select Choose Details from the View menu, or just right-click the column header bar.
-----
In Internet Explorer, hold the Shift key while turning the mouse wheel to go forwards or backwards.
-----
In Internet Explorer, hold the Shift key while clicking on a link to open the Web page in a new window.
-----
In Internet Explorer, type Ctrl+D to add the current page to your Favorites.

This and many more keyboard shortcuts can be found by going to Internet Explorer, clicking the Help menu, then selecting Contents and Index.  From the table of contents, open Accessibility and click "Using Internet Explorer keyboard shortcuts".
-----
In some applications (such as Internet Explorer), holding the Control key while turning the mouse wheel will change the font size.
-----
To shut down via Remote Desktop, click the Start button, then type Alt+F4.
-----

Important RUN Commands.


  •  
  • Accessibility: ACCESS.CPL
  • Add-Remove Programs: APPWIZ.CPL
  • Automatic Updates: WUAUCPL.CPL
  • Calculator: CALC
  • Character Map (ascii): CHARMAP
  • Command Prompt: CMD
  • Component Services: DCOMCNFG
  • Computer Management: COMPMGMT.MSC
  • Control Panel: CONTROL.EXE
  • Date and Time: TIMEDATE.CPL
  • Encryption: Sys
  • Device Manager: DEVMGMT.MSC
  • Direct X Diagnostics: DXDIAG
  • Disk Cleanup: CLEANMGR
  • Disk Defragment: DFRG.MSC
  • Display: DESK.CPL
  • Display Properties: DESK.CPL
  • Group Policy Editor (XP PRO): GPEDIT.MSC
  • Internet Properties: INETCPL.CPL
  • Local Running Services: SERVICES.MSC
  • Microsoft Chat: WINCHAT
  • Mouse Properties: MAIN.CPL
  • Multimedia and Sounds: MMSYS.CPL
  • Network Connections: NCPA.CPL
  • Network Setup Wizard: NETSETUP.CPL
  • Notepad: NOTEPAD
  • Outlook Express: MSIMN.EXE
  • Performance Monitor: PERFMON.MSC
  • Power Management Settings: POWERCFG.CPL
  • Regional Settings: INTL.CPL
  • Registry Editor: REGEDIT
  • Remote Desktop: MSTSC
  • Removable Storage Manager: NTMSMGR.MSC
  • Scheduled Tasks: CONTROL SCHEDTASKS
  • Security Center Settings: WSCUI.CPL
  • Shared Folders Management: FSMGMT.MSC
  • System Configuration Utility: MSCONFIG
  • System Properties: SYSDM.CPL
  • Task Management: TASKMGR
  • Telephone and Modem Options: TELEPHON.CPL
  • Windows User Account Manager: NUSRMGR.CPL
  • Windows Utility Manager (narrator): UTILMAN
  • Windows Updates: WUPDMGR
  • WordPad: WRITE

send a perfect fake mail !

want 2 send a fake mail with attachment and lots many options ,then try http://emkei.cz/


Using Eclipse to develop android app.



This document will help you set up the Eclipse IDE for Android platform development.
Note: if you are looking for information on how to use Eclipse to develop applications that run on Android, this is not the right page for you. You probably would find the Eclipse page on developer.android.com more useful.

Basic setup

First, it's important to make sure the regular Android development system is set up.
cd /path/to/android/root 
make
Important: You will still be using make to build the files you will actually run (in the emulator or on a device). You will be using Eclipse to edit files and verify that they compile, but when you want to run something you will need to make sure files are saved in Eclipse and run make in a shell. The Eclipse build is just for error checking.
Eclipse needs a list of directories to search for Java files. This is called the "Java Build Path" and can be set with the .classpath file. We have a sample version to start you off.
cd /path/to/android/root 
cp development/ide/eclipse/.classpath .
chmod u+w .classpath
Now edit that copy of .classpath, if necessary.

Increase Eclipse's Memory Settings

The Android project is large enough that Eclipse's Java VM sometimes runs out of memory while compiling it. Avoid this problem by editing the eclipse.ini file. On Apple OSX the eclipse.ini file is located at
/Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini
Memory-related defaults (as of Eclipse 3.4):
-Xms40m 
-Xmx256m 
-XX:MaxPermSize=256m
Recommended settings for Android development:
-Xms128m 
-Xmx512m 
-XX:MaxPermSize=256m
These settings set Eclipse's minimum Java heap size to 128MB, set the maximum Java heap size to 512MB, and keep the maximum permanent generation size at the default of 256MB.
Now start Eclipse:
eclipse
Now create a project for Android development:
1.      If Eclipse asks you for a workspace location, choose the default.
2.      If you have a "Welcome" screen, close it to reveal the Java perspective.
3.      File > New > Java Project
4.      Pick a project name, "android" or anything you like.
5.      Select "Create project from existing source", enter the path to your Android root directory, and click Finish.
6.      Wait while it sets up the project. (You'll see a subtle progress meter in the lower right corner.)
Once the project workspace is created, Eclipse should start building. In theory, it should build with no errors and you should be set to go. If necessary, uncheck and re-check Project Build Automatically to force a rebuild.
Note: Eclipse sometimes likes to add an import android.R statement at the top of your files that use resources, especially when you ask eclipse to sort or otherwise manage imports. This will cause your make to break. Look out for these erroneous import statements and delete them.

When You Sync

Every time you repo sync, or otherwise change files outside of Eclipse (especially the .classpath), you need to refresh Eclipse's view of things:
1.      Window > Show View > Navigator
2.      In the Navigator, right-click on the project name
3.      Click Refresh in the context menu

Adding Apps to the Build Path

The default .classpath includes the source to the core system and a sample set of apps, but might not include the particular app you may want to work on. To add an app, you must add the app's source directory. To do this inside Eclipse:
1.      Project > Properties
2.      Select "Java Build Path" from the left-hand menu.
3.      Choose the "Source" tab.
4.      Click "Add Folder..."
5.      Add your app's src directory.
6.      Click OK.
When you're done, the "source folder" path in the list should look like
android/packages/apps/YOURAPP/src
Depending on which app(s) you include, you may also need to include othersrc/main/java directories under android/dalvik/libcore. Do this if you find you cannot build with the default set.

Eclipse formatting

You can import files in development/ide/eclipse to make Eclipse follow the Android style rules.
1.      Select Window > Preferences > Java > Code Style.
2.      Use Formatter > Import to import android-formatting.xml.
3.      Organize Imports > Import to import android.importorder.

Debugging the emulator with Eclipse

You can also use eclipse to debug the emulator and step through code. First, start the emulator running:
cd /path/to/android/root 
. build/envsetup.sh 
lunch 1    
make       
emulator
If the emulator is running, you should see a picture of a phone.
In another shell, start DDMS (the Dalvik debug manager):
cd /path/to/android/root 
ddms
You should see a splufty debugging console.
Now, in eclipse, you can attach to the emulator:
1.      Run > Open Debug Dialog...
2.      Right-click "Remote Java Application", select "New".
3.      Pick a name, i.e. "android-debug" or anything you like.
4.      Set the "Project" to your project name.
5.      Keep the Host set to "localhost", but change Port to 8700.
6.      Click the "Debug" button and you should be all set.
Note that port 8700 is attached to whatever process is currently selected in the DDMS console, so you need to sure that DDMS has selected the process you want to debug.
You may need to open the Debug perspective (next to the "Java" perspective icon in the upper-right, click the small "Open Perspective" icon and select "Debug"). Once you do, you should see a list of threads; if you select one and break it (by clicking the "pause" icon), it should show the stack trace, source file, and line where execution is at. Breakpoints and whatnot should all work.

Bonus material

Replace Ctrl with the Apple key on Mac.
shortcut
function
Ctrl-Shift-o
Organize imports
Ctrl-Shift-t
load class by name
Ctrl-Shift-r
load non-class resource by name
Ctrl-1
quick fix
Ctrl-e
Recently viewed files
Ctrl-space
auto complete
Shift-Alt-r
refactor:rename
Shift-Alt-v
refactor:move

 

Get Latest Updates: Subscribe Now | Like Us on Facebook

X