General

Quickest way to open a command prompt Windows

Posted on

Quickest way to open a command prompt Windows To open a command prompt quickly with a working directory of the current windows explorer folder on a Windows PC, you may try these Hold Shift while Right-Clicking a blank space in the desired folder, you can see an option Open Command Window Here . This option available in […]

General

KMPlayer, not showing full screen videos anymore

Posted on

I got a problem in KMPlayer, which it is showing videos only in the top left corner of the screen even in full screen. I tried reinstalling, but the problem wasn’t solved. I searched for a solution and found this. Follow this instruction so as to preview “Advance Video Option” in your list Right Click […]

Android

com.android.dex.DexException: Multiple dex files define, Android Studio

Posted on

After moving an Eclipse project to Android Studio work space, and build project (Make Project), I see Build successful but when I run the project… I get the following exception, com.android.dex.DexException: Multiple dex files define Error:Execution failed for task ‘:<projectname>:dexDebug’. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: <home>AppDataLocalAndroidsdkbuild-tools21.1.2dx.bat –dex –no-optimize –output <home>AndroidStudioProjects<projectpath>buildintermediatesdexdebug –input-list=<home>AndroidStudioProjects<projectpath>buildintermediatestmpdexdebuginputList.txt Error Code:2 Output: UNEXPECTED […]

Android

Set maxLength of EditText dynamically

Posted on

Set maxLength of EditText dynamically At times you may want to set maxlength of EditText view dynamically. You’ve to use setFilters method of EditText, as shown below. EditText et = new EditText(this); int maxLength = 3; InputFilter[] FilterArray = new InputFilter[1]; FilterArray[0] = new InputFilter.LengthFilter(maxLength); et.setFilters(FilterArray); Hope it helps somebody…Cheers 🙂 You may be also interested in […]