Do you know this example tricks?

Delphi / Examples

Textboxinput

Java / Data Type

A simple XML parser that starts parsing right away and validates along the way

Java Tutorial / Class Definition

Methods with differing type signatures are overloaded - not overridden

Delphi / Forms

Hide main form of the application

Java by API / Java Sql

Connection TRANSACTION_NONE

ASP.Net / ADO Database

Updating a database

VB.Net / XML LINQ

Create XDocument class with the specified XDeclaration and content

Php / Functions

To report local time for any Germans

C++ / Basics

Use unique_copy to copy elements in an array to list with back_inserter

Flex / Container

Show the percentage-based sizing behavior with absolute positioning

C++ / Qt

Using Pen and Brush to draw

Delphi / Examples

Send email from delphi

Sample Android Codes

Android / UI

Using WebView to load static html string

Android / Media

Audio Recording

Android / UI

AlertDialog Question

Android / Core Class

Check Network Type with TelephonyManager

Android / 2D Graphics

Bitmap Decode

Android / Date Type

Gets a yyyy MMM dd, HH

Android / Date Type

Tokenizer Why Because StringTokenizer is not available in J2ME

Android / UI

Demonstrates using a relative layout to create a form

Android / UI

Get data from RadioButton

Android / UI

Use choice mode on a list This list is in CHOICE_MODE_MULTIPLE mode, which means the items behave like checkboxes

Android / Date Type

Byte Convert

Android / File

Demonstrate the Frame Buffer Object OpenGL ES extension

Sample C# Codes

C# / Reflection

Type GetElementType

C# / XML

XPathNavigator PrependChild creates child node at the beginning

C# / Data Types

NumberStyles Integer NumberStyles AllowThousands

C# / Network

Implements a NetworkStream client 2

C# / GUI Windows Form

TabControl

C# / XML

Add XmlElement

C# / WPF

Normal

C# / File Stream

Illustrates recursive Directory use

C# / Generics

The overriding method cannot change the inherited constraints

C# / Data Types

Converts double to string with ToString method

C# / File Stream

GetFileNames, CreateDirectory, GetUserStoreForAssembly

C# / Collections Data Structure

SortedList CopyTo copies SortedList elements to a one-dimensional Array object

Sample Java Codes

Java / Collections Data Structure

A bag of weakly referenced objects

Java / J2ME

Draw mutable image on a canvas

Java / Swing JFC

Implement a document cleaner that maps lowercase letters to uppercase

Java / 2D Graphics GUI

Have a Label with underlined text

Java / Development Class

Use printf() to create a time stamp

Java / JSP

Cookie display in a JSP page

Java / Threads

Thread notify

Java / Swing Components

Java Tiled Panel

Java / Security

Encrypts the string along with salt, Decrypts the string and removes the salt

Java / 2D Graphics GUI

Paints

Java / Data Type

SimpleDateFormat getAvailableLocales

Java / PDF RTF

Width, Height

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.