Resolved : Hindi Language Text showing boxes in Android Emulator

First of all you need to supply external font to your application generally it’s kruti ttf or vigyapti-hindi ttf files. put it in asset folder and then try following code. Typeface hindiTypeFace = Typeface.createFromAsset(getAssets(), “kruti.ttf”); TextView myTextView = (TextView)findViewById(; myTextView.setTypeface(hindiTypeFace); … Continue reading

Resolved : findViewById() returns null Android

First solutionc can be regenerate file. Try following : Eclipse -> Project -> Clean Sometimes during building, the class messes up and causes wrong references to id’s. so by cleaning project it may solve your problem. Second solution … Continue reading

Set Background Image in Android Application

If you want to add background image to any activity then use following code. and to apply background to whole application use the same background image for every layout or make custom layout and use it in your application.

Validate email address using Javascript

You can use following regular expressions to validate email function validateEmail(email) { var re = /^(([^()[\]\\.,;:\s@\”]+(\.[^()[\]\\.,;:\s@\”]+)*)|(\ “.+\”))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA -Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return re.test(email); }

How to install APK file in Android SDK Emulator

adb install command installs the application in emulator. Following are the options available with adb install command adb install [-l] [-r] [-s] – push this package file to the device and install it (‘-l’ means forward-lock the app) (‘-r’ means … Continue reading

Resolved : Google Play Developer gives error com.phonegap package already exist while uploading your first apk file

Are you n00b in android development and uploading your first application?? Yes this error will surely come that com.phonegap package is already exist. To remove this error.. Go to Before uploading your .zip code file, go to settings and … Continue reading

How to Access Internet from Android Emulator using Proxy Server

By default your android application may not have access to use internet. and you can use internet from your machine but not from your emulator make sure you have set the internet permission in your AndroidManifest.xml Another problem can be … Continue reading

Enable Remote Desktop On Windows 7 Home Basic and Home Premium 32 and 64 bit

By Default Windows 7 Home Basic and Premium versions doesn’t support Remote Desktop. But you can make it work with some tricks.. Click Here to Download termsrv.dll and rdpclip.exe files. now just copy these files to %Windir%\System32 (Here C:\Windows\System32 is … Continue reading

Steps to Call Stored Procedure with Parameters from C# .Net

Many Confusions while calling procedure from your Generally it’s because less practice of using oracle with .Net code. Following is the example. Hope it’ll be useful to you. Procedure : create or replace procedure ProcTest(param1 in varchar, param2 in … Continue reading

Resolved : HTTP Error 404.2 – Not Found The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server IIS 7 Windows Server 2008

Setting up new application in IIS may cause following error. HTTP Error 404.2 – Not Found The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server. Solution : 1. … Continue reading