I don't know what wrong happens is with my Application. Wherever I have written the javascript code to get Application event, it always returns undefined. And my code is just simple as written below.
var appEvent = $A.get('e.c:EventName');
appEvent.fire(); // Here I got appEvent undefined