Creating an Android “Hello World” Application with PhoneGap

Creating Android “Hello World” Application using PhoneGap What is PhoneGap? PhoneGap is an open source platform that allows you to create cross-platform mobile applications with HTML, JavaScript, and CSS. In order to interact with device hardware, PhoneGap provides a JavaScript API that will interface with features such as the on-board camera,…

Continue reading

Support with Your Share:

Syntax for JAVA

Syntax for a standalone application in Java: import packages; class <classname>{         public static void main(String args[])         {              statements;              ————————;              ————————;         }} Page Views…

Continue reading

Support with Your Share:

Primitives in JAVA

Primitives : The following keywords are primitives:■ boolean : A value indicating true or false.■ byte : An 8-bit integer (signed).■ char : A single Unicode character (16-bit unsigned)■ double : A 64-bit floating-point number (signed).■ float : A 32-bit floating-point number (signed).■ int : A 32-bit integer (signed).■ long…

Continue reading

Support with Your Share:

Error Handling in JAVA

Error Handling:The following are keywords used in error handling: ■ catch : Declares the block of code used to handle an exception. ■ finally : Block of code, usually following a try-catch statement, which is executed no matter what program flow occurs when dealing with an exception. ■ throw : Used…

Continue reading

Support with Your Share:

Flow Controls In JAVA

Flow Controls :The following are keywords used to control the flow through a block of code: ■ break – Exits from the block of code in which it resides.■ case – Executes a block of code, dependent on what the switch tests for.■ continue – Stops the rest of the…

Continue reading

Support with Your Share:

Modifiers in JAVA

=>Access Modifiers : The following are access modifiers:■ private : Makes a method or a variable accessible only from within itsown class.■ protected :Makes a method or a variable accessible only to classes in thesame package or subclasses of the class.■ public :  Makes a class, method, or variable accessible from any…

Continue reading

Support with Your Share: