Do you know this example tricks?

Flash ActionScript / Graphics

Draw Colored Rectangle

Delphi / VCL

How to freeze a Control

Java / Swing JFC

Tick Tock with an Inner Class

Java Tutorial / PDF

Get DpiX and DpiY for tiff image

VB.Net / Development

GUIDs

Python Tutorial / Statement

Catch more than on exceptions

Silverlight / UI Controls

Two way data binding between Slider and ProgressBar

C# / File Stream

FileSystemInfo Class provides the base class for both FileInfo and DirectoryInfo objects

VB.Net / GUI

Assign the Bitmap to the controls Image property

C / Data Type

Is it printable

Flex / Container

Set the padding to 10 pixels, and the gap to 5 pixels, for the children of a Panel container

Delphi / LAN Web TCP

Windows cevirmeli ag baglanti penceresinin cagirilmasi

Sample Android Codes

Android / 2D Graphics

Drawable createFromStream and URL connection

Android / Date Type

Converts given hex string to a byte array (ex

Android / Core Class

Get Unique ID from android provider Settings Secure ANDROID_ID

Android / Network

Int To InetAddress

Android / Hardware

Camera preview

Android / Development

Object to JSON

Android / Hardware

Displays the values of the acceleration sensor graphically

Android / 2D Graphics

Finger Paint View

Android / Date Type

Create Array with Unique Value

Android / Core Class

A custom preference type The preference counts the number of clicks it has received and storesretrieves it from the storage

Android / Network

Restful Client

Android / Hardware

Get SDCard Megs Free

Sample C# Codes

C# / GUI Windows Form

CheckedListBox Demo 2

C# / 2D Graphics

Allows drawing fonts with borders and auto centers the font on a bitmap

C# / File Stream

Write File methods

C# / Language Basics

Logical operators with an if statement

C# / File Stream

Copy one folder to another folder

C# / Development Class

Gets the number of processors on the current machine

C# / Data Types

A string can control a switch statement

C# / 2D Graphics

Text Rotate 2

C# / Reflection

Get attribute value and convert to other type

C# / Collections Data Structure

Represents a loose abstraction of an arraylist, wheres the buffer array is available for public access

C# / Security

Encrypt String

C# / 2D Graphics

Region Excludes

Sample Java Codes

Java / GWT

Using TextAreaItem to create multiline text area (Smart GWT)

Java / Security

Grant ability to read all properties that start with myprops

Java / Data Type

Java Float Wrapper Class

Java / File Input Output

Read all available bytes from one channel and copy them to the other

Java / Development Class

The Time and Date Format Suffixes

Java / Swing JFC

GridBagLayout with gridwidth and gridheight constraints

Java / Data Type

Parse with a default format

Java / Development Class

Generate pseudo-GUID sequences

Java / Development Class

Java Class that calls a Perl function

Java / Security

JCE algorithms in Browser

Java / J2ME

Maze game

Java / Collections Data Structure

Serializing a vector

Purposes of this site

Includes detail codes for any language desired for beginners

  • Benefits
  • C#
  • Java
  • Andorid
  • Xml
  • Databases

Quick and simple examples suitable for everyone


The content of the site is updated from time to time. Does not require membership. It is prepared for students to assist in the fields of computer engineering and software engineering.