Articles

ADB commands for Android

ADB commands for Android

ADB Stands for Android Debug Bridge, ADB is a command line tool which you can use to debug or communicate with any android device. In order to run ADB from your machine, first you must install android SDK in your computer. ADB is the command line tool which comes in android SDK. In order to […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

Dependency Injection in C# .NET

Dependency Injection in C# .NET

Dependency injection basically allows us to create loosely coupled, reusable, and testable objects in your software designs by removing dependencies. We will take a look into the Object dependencies before digging in more. Consider a scenario of fetching an employee details and show display in UI. Let us say create a Business logic layer class […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

Delegate and Events in C# .NET

ClassDiagram of Logger Application

Delegates A delegate in C# is similar to a function pointer in C or C++. Using a delegate allows the programmer to encapsulate a reference to a method inside a delegate object. The delegate object can then be passed to code which can call the referenced method, without having to know at compile time which […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

Mobile Information Device Profile (MIDP 2.0) in J2ME

Mobile Information Device Profile (MIDP 2.0) in J2ME

MIDP in general is one of the J2ME profile, a profile consists of Java classes. MIDP provides high-level API’s using which J2ME developer can easily develop applications, which is easy to use, highly graphical, with optimized for small computing devices such as Mobile phone. Also provides low-level user interface API’s giving the developers a control […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

Best Practices for Small computing devices

Best Practices for Small computing devices

Keep your application Simple and Small. Limit the use of memory Avoid using object types. Always use minimum data type for storing data. Clean up the resources held by our program manually because even though garbage collector takes care of that we don’t know when it cleans up. Allocate an object immediately before the object […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

Java APIs for Bluetooth Wireless Technology (JABWT)

Java APIs for Bluetooth Wireless Technology (JABWT)

The JABWT specification defines an optional J2ME package for Bluetooth wireless technology. What is it? The JABWT operates on top of the CLDC and is intended to extend the capabilities of profiles like the MIDP. JABWT use the Generic Connection Framework (GCF) defined in the CLDC specification for Bluetooth communication. What does it provide? JABWT […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

Midlet in J2ME

Midlet in J2ME

A MIDlet is a Java program for embedded devices, more specifically the Java ME virtual machine. Generally, these are games and applications that run on a cell phone A MIDlet requires a device that implements Java ME, MIDP to run. Like other Java programs, MIDlets have a “compile once, run anywhere” potential. MIDlet distributions also consist […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

Record management in J2ME MIDP

Record management in J2ME MIDP

MIDP doesn’t use filesystem to save application data; in turn it uses a non-volatile memory using a system called Record Management System The MIDP Record Management System (RMS) provides a means to store application data that persists across invocations of a MIDlet. You can visualize the RMS record store as a very simple database, where each […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

J2ME Core Concepts

J2ME Core Concepts

J2ME Core Concepts: Configurations, Profile and Optional packages are 3 major concepts. Configurations: A configuration is a complete Java runtime environment, consisting of three things: A Java virtual machine (VM) to execute Java byte code. Native code to interface to the underlying system. A set of core Java runtime classes. To use a configuration, a device […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone

Association , Aggregation and Composition

Association , Aggregation and Composition

Association “Association represents the static relationship shared among the objects of two classes. “So any relationship between object of two classes is called association. An association says there is some kind of dependency between the objects. It can either be a weak or Strong dependency. Consider an example of Teacher and Student classes. Multiple students […]

Share on FacebookTweet about this on TwitterDigg thisPin on PinterestShare on LinkedInShare on StumbleUponShare on TumblrShare on Google+Email this to someone