Saturday, March 31, 2012

Delete option is missing on right click


When we use Right-click on any file or folder in windows OS then Delete/Cut option is suppose to be there. it can be Disabled by doing some registry settings or from group policy Editor.But in some cases when we are using external Storage devices if not unplugged properly, Causes some times Side-effect to the filesystem settings then it's Delete/Cut option got disabled. so when ever we Right-click on some file or folder we wont get Delete or Cut option, Not even Delete button will work on that partition to delete the file.

                                                  

It happens with me. i am using 1TB External HDD, Using Windows7 i created 4 partition Each of 250GB,Filesystem: exFAT, Sometimes when i was in hurry i have ejected that hard-drive without proper Ejection. That has created some effect on filesystem & was not able to delete any file or folder from that hard-disk but was able to Copy/Paste files from there, cut Option! also was missing.
i was having lots of data on that hard-disk which i dont want to loose by  formatting the hard-disk.
Solution: Which ever partition is having this problem Right-click on Partition and Select Property. Select Tools Tab And in Error-Checking Section Click on Check now button. Now one popup will come Check Automatically fix file system errors.

After Completion of this Process the Delete & cut Option will be there on right click.

Monday, March 19, 2012

Fix for error "Network Device not managed" in ubuntu


I was configuring DHCP Server, after configuration successful i restarted my server then All Ethernet ports went down, i check Network Manager graphically it shows "Device not managed" then i checked it from terminal using
sudo /etc/init.d/networking restart
It gives me this message

* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
* Reconfiguring network interfaces...                                        
/bin/sh: cannot open /etc/iptables_rules: No such file
Failed to bring up eth0.

This was the issue i got.
Now Solution!!!

Edit the file "/etc/NetworkManager/NetworkManager.conf"
 Change managed=false to managed=true

And ececute this in terminal.
sudo killall NetworkManger
Now we can configure our ethernet/wify interface.

Friday, March 16, 2012

Installation of Android SDK on eclipse


When the matter comes to work on android environment then everyone just think off Eclipse IDE, offcourse it provide lots of feature for android people as well as java developer i think which is no where else. if using eclipse we dont have to download any thing from internet except Eclipse classic.

Note:
While working on Eclipse IDE it is pre assumed that JDK is installed on your system and properly configured.

Now once we downloaded eclipse from here. Now after download complets extract it, and run Eclipse exetutable file. it will ask for workspace location go with default or you can configure it.Now we are ready with eclipse.

Android SDK Manager:
Go to menu tab,Click on help & go for Install New Software as shown in figgure.


 now click on Add button a popup will come put some name and location as https://dl-ssl.google.com/android/eclipse/ and press OK button.


 then it will search online and get a list of developer tools like this


 just select all and click on next then it will calculate the depency & and and show a list of packages it is going to install click on next and accept the terms of license agreements and press finish.

now it will take some time to download & install packages from the location. after finishing the installation it will ask to restart Eclipse IDE. Do the same. on restart it will install ask where is android sdk? if you have downloaded it then just show the path or let it download from the internet. wait for finish it.

Again if it ask to restart Eclipse IDE then restart it.

SDK platform:

Now open Android SDK Manager from window tab in menu bar and install all Android SDK tools & Android SDK platform-tools and which ever SDK platform you want you can choose & install.

AVD Installation:

After installation of SDK platform just go to AVD Manager click on new and create an AVD of your requirement. on successful creation of AVD its all done.

Test:
Create a dummy android project & run it as android application it will take some time to start AVD for the first time & then it will take normal time.