Resolved : ORA 00911 invalid character inline query C# or Java

Generally the following code we use to write as inline query OracleConnection conn = new OracleConnection(-myConnectionString-); conn.Open(); OracleCommand command = new OracleCommand(“select userid from usermaster;”, conn); var v = command.ExecuteReader(); OracleCommand command = new OracleCommand(“select userid from \”usermaster\”;”, conn); var … Continue reading

Resolved : HTTP Error 500.21 – Internal Server Error Handler “PageHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list

You’ll get error when you run your website from IIS 7 it’ll give you error 500.21 with following details. Caution : you .net framework is not registered with IIS.. Solution: Register your .NET Framework with IIS using following command. %windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe … Continue reading

Resolved : How to change package name of an Android Application

If you upload your android application and google play deny by saying package already exist. Don’t worry it’s easy to change package name in android application using Eclipse. Eclipse makes very easy to change package names for your android application. … Continue reading

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