Friday, 12 December 2014

Windows 8 (8.1) doesn't see Nexus 4: MTP Error - Android FIXED

Recently, I have used Nexus 4 for testing my apps. It's really weird using Nexus 4 with Windows 8.1. I spent a lot of time finding how to work with MTP. The system was not installing MTP drivers. Well here is the below link that will tell you exactly how to do it.


You can also follow the quick steps below.

1. Download and Install USB driver from Google for your device.

2.  Follow the steps provided in the above link for a successful driver installation.

3. After installations, go to device settings -> Go to Storage -> Select "USB computer Connection" from action bar (menu). 

4. Check Media devices from the option. 

5. Connect to your system.

The MTP installation should appear if not already done.

Whenever a major system update happens, it seems android resetting the settings sometime. So, please check for these settings if you update your OS in future.


Thursday, 1 August 2013

Revert Gmail New Inbox to Older Inbox in Seconds!

How to revert new Gmail Inbox to normal ?

 You can revert the whole new Gmail Inbox to a normal non categorized inbox in seconds. Yah, You heard it correct!!
 Follow the below Steps and you are done!

You just have to move your cursor near inbox as above. You will be able to see an arrow button pinned down just appeared. Click it and the selection dialog will pop up. Select any other Inbox Type other than default and you are done.

Thank You.

Sunday, 28 July 2013

How to get new Gmail Inbox

Wow!! the new GMail inbox is so nice. It helps everybody by self organizing the mails according to categories. Especially with guys having Facebook, Twitter like social mails bugging their inbox with bunch of notifications. Earlier I was suffering due to thousands of promotional mails taking all over my inbox.

I am a techie with loads of work which kills my 90% of time in front of PC. Well, I get paid well but this does not serves my need. Communicating via mails for work and have important mails organized was a heck. It takes me lot of time to check mails from several clients.

  1. How did Gmail solve my problem?
          Recently google has updated their gmail inbox with the most significant changes "A self organized  category". Defaults are Primary, Social, Promotions, Updates, Forums.

But, most of the users like me are not able to get an update  automatically. Then probably you might be thinking, why am I talking about it??

     2.  How did I enable the new Gmail?
         Well, to get the new Inbox goto Settings from your gmail account. Then select Configure Inbox.You  should be watching a dialog with category selections. Select your required category and You are done!

For more details you can always check this official note.

Friday, 18 May 2012

Your Project contains error(s), please fix them before running your application

Steps to reproduce the Issue
Step 1: Create any default project.
Step 2: Build it.
Step 3: Run(CTRL+f11) in Eclipse.

Bingoo... You got the bug...

Solution
This issue is mainly due to the mismatch between your ADT and SDKTool selection.(That You have Update)

Please follow the following combination..

           Latest by April 2012
  • Java 1.6 or higher is required for ADT 18.0.0.
  • Eclipse Helios (Version 3.6.2) or higher is required for ADT 18.0.0.
  • ADT 18.0.0 is designed for use with SDK Tools r18. If you haven't already installed SDK Tools r18 into your SDK, use the Android SDK Manager to do so..
        If you think this combination is older than the current you can always find the correct combination
        here.

Friday, 27 May 2011

Failed to get the adb version: Cannot run program "/home/ajay/devtools/android/android-sdk-linux_x86/tools/adb": java.io.IOException: error=2, No such file or directory solved

Please follow these steps to setup your Eclipse and Android for both 32 and 64 bit systems(both for Windows 7 and Ubuntu 11.04 natty and less than that)


Step 1: Find in search area in Ubuntu Software Center as follows.
            sun-java6-jdk, sun-java6-jre, sun-java6-bin, sun-java6-source
           
If all these not found then please issue these following commands accordingly,


sudo add-apt-repository "deb http://archive.canonical.com/ 
lucid partner"

sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin
sudo apt-get install sun-java6-bin 
sudo apt-get install sun-java6-jdk
 
------------------------------------------------------------------------------------
Note: when package is downloaded completely it asks for the agreement to accept. 
please use "left-right" enter button to select those options( for beginners only)
------------------------------------------------------------------------------------ 
 
sudo apt-get install ia32-libs(Must get installed for amd64 and other 64 bit systems)
 
After all installation please configure your default java as follows for
 " /usr/lib/jvm/java-6-sun/jre/bin/java " by issuing the following command 
and select as given above by giving a number when it ask.
(this is only required for those who have already installed open-jdk

 sudo update-alternatives --config java 
 

 For 32-bit systems please download Eclipse-32 bit 
 
 http://www.eclipse.org/downloads/
  
Eclipse IDE for Java EE Developers, 205 MB      
(Select 32-bit download there)

Unzip it and change the properties-permissions of "eclipse" to read-write(all)
and tick on executable.
Double-click on it and start configuring your android
"If not configured properly please find it in my configure-android-eclipse
properly post".

For those who are getting error: adb not found or no directory or executables
found error.

Copy ../android/platform-tools/adb to your /tools/ folder

Then restart your eclipse and again try to re-create your adb.

Can not Create SD Card Error
-----------------------------------
Check whether you kept your android sdk in "/home/user_name/" or not.
 please keep it there otherwise. 
 
If your Error Code 13 is showing then You might be using a
 64-bit system and trying to use Eclipse of 32-bit. Because of which it is giving error code 13
 
 Failed to get the adb version: Cannot run program "
/home/ajay/Android/Android SDK/ android-sdk-linux_x86/
platform-tools/adb":java.io.IOException: error=13, Permission denied
 
 For 64-bit systems please download Eclipse 64 versions 
  and configure it as earlier with android.. 
 
 Please,
           Let me know if not working ..(Tested in 3.5.2 and Ubuntu 11.04)
 
Ajay Kumar Meher
  (Freshers Lab)