Wednesday, 5 April 2017

Ionic Android App error, no Java files found which extend CordovaActivity


Gets the error "no Java files found which extend CordovaActivity" when building the solution or deploying to Android device.

Solution:

Navigate to platforms\android\src\com\YourAppName\MainActivity.java

You can find your app name from config.xml in side the <widget id="com.appName"> tag  

Open the MainActivity.java file and check if it extends from "CordovaActivity". If not change to extend from CordovaActivity as shown below.


public class MainActivity extends CordovaActivity
{
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        // Set by <content src="index.html" /> in config.xml
        loadUrl(launchUrl);
    }
}


Note: Using Ionic framework version 1 using Cordova

Tuesday, 29 December 2015

AngularJs - Multi step form wizard

In this blog I'm going to explain the usage of multi step form wizard using angularjs. This purticular wizard is created using the angular module 'multiStepForm' created by Thomas Roch (https://github.com/troch). This has the ability to use both html templates as well as the inline templates.

To start with add the 'multiStepForm' module in your app.

Tuesday, 4 August 2015

How to Disable or Turn Off Windows Update Delivery Optimization (WUDO)

Steps to follow

Step 1. Go to Settings in the Start menu.

Step 2. Then, Search for “Update & Security”.

Step 3. In Windows Update, Scroll down and open Advanced Options.

Step 4. Afterwards, under Choose How Updates are Installed, select Choose how updates are delivered

Step 5. Move “off” the toggle under Updated from More than One Place.

Thursday, 9 July 2015

How to eliminate duplicates with LINQ UNION

Eliminate duplicate values with LINQ UNION

There is a possible to have duplicate entries in the output list When using the LINQ ‘UNION’ operation to join two list object. There are couple of ways to overcome this issue. 

Wednesday, 18 June 2014

How to assign null value to datetime in .net

The fundamental stuff of nullable DateTime. DateTime struct itself does not provide a null option. but we can make it a nullable type which allows you to assign the null to a datetime.

Monday, 12 May 2014

The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form

The Report Viewer Web Control requires a System.Web.UI.ScriptManager on the web form.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file

The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file.  Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file.