Do you know this example tricks?

Android / UI

Ok Dialog Wrapper

Delphi / Files

Get your programs directory

C# / Event

Handle Mouse click event on an Image

MySQL / Key

Add Foreign Key Rules

XML Tutorial / Xpath

Preceding axis contains all nodes that come before the context node in document order, excluding nodes in the ancestoraxis and attri

VB.Net Tutorial / 2D Graphics

Graphics FillClosedCurve

VB.Net Tutorial / WPF

Find Control Styles with FindResource()

Java Tutorial / Development

Pause and start a timer task

Java Tutorial / Swing Event

Uses a subclass of MouseInputAdapter to listen to mouse events and mouse-motion events

Oracle PLSQL Tutorial / PL SQL Statements

Catch exception from EXECUTE IMMEDIATE

Ruby / Array

TypeError

Java / Spring

Model View Injection in Spring

Sample Android Codes

Android / Network

Make all redirects to go to http in stead of https

Android / Media

Get Media information

Android / 2D Graphics

Get Texture From Bitmap Resource and BitmapFactory decodeStream

Android / Network

System InetAddress

Android / Date Type

Get Day value from Date

Android / UI

Using GridView

Android / UI

Using LayoutInflater

Android / Date Type

Decode Unicode Hex

Android / Network

Generic Object Http Loader

Android / UI

RelativeLayout TextView and EditView

Android / Network

This class is in charge of synchronizing the events (with due dates) with Google Calendar

Android / UI

Wrapper activity demonstrating the use of {@link GLSurfaceView} to display translucent 3D graphics

Sample C# Codes

C# / WPF

Window On Mouse up event

C# / WPF

ControlDark to ControlLight

C# / Date Time

Create DateTimeOffset using the specified year, month, day, hour, minute, second, millisecond, and offset

C# / Security

SHA256 crypt

C# / GUI Windows Form

RTFBox Test

C# / Data Types

DateTime format

C# / Windows

Import CreateDirectory and FormatMessage

C# / GUI Windows Form

Call ShowDialog() to display an OpenFileDialog

C# / Data Types

Converts decimal to string using standard format and culture

C# / Class Interface

Class declaration maintains the time in 24-hour format and ToString Method

C# / WPF

Create buttons using DrawingImage objects

C# / WPF

GeometryGroup and Path Data

Sample Java Codes

Java / Spring

Accessing Factory Beans

Java / Database SQL JDBC

Get Parameter Count From Parameter MetaData

Java / Apache Common

BeanUtils Date Utils

Java / Swing JFC

A frame that can easily support internal frame dialogs

Java / Swing JFC

By default, the lines are left justified Center the lines

Java / Internationalization

List all Locale from SimpleDateFormat

Java / Internationalization

ISO 8859-6, ASCII plus Arabic

Java / Swing JFC

TextArea Example

Java / Database SQL JDBC

Move cursor to the last row

Java / PDF RTF

Getting Default table Cell

Java / Swing JFC

Loading the given image

Java / Network Protocol

XML based message

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.