Quantcast
Channel: Programming – Xinyustudio
Browsing all 284 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Java Socket handshaking: the simplest example

In an earlier post, I have discussed how to implement socket communication with python. I recently was asked to implement similar functions, but in Java. Here is how I did that. Create a new Java...

View Article


Image may be NSFW.
Clik here to view.

Android EditText control: using old rectangle style

The latest android EditText looks like this (below left:    But I was asked to use old-style rectangle style (above right) to replace the current one. Here is how it is done: Create a new xml file in...

View Article


Image may be NSFW.
Clik here to view.

Visual Studio 2013 Preview: ISO download link

Microsoft Visual Studio Ultimate 2013 Preview – English DVD5 ISO image (SHA-1: 33C50825E0BC305BEEEDB08E793A610CCC03A7A3) Online Web Install Enjoy! Filed under: Programming Tagged: direct link,...

View Article

Image may be NSFW.
Clik here to view.

C#: programmatically get and set non-unicode languages for windows OS

We know that we can use English version of Windows and at the same time to display non-unicode texts such as Chinese and Japanese etc. The procedures are as follows: Control Panel > Region >...

View Article

Image may be NSFW.
Clik here to view.

C# Command Line Parser Library Example

Command Line Parser Library allows CLR applications to define a syntax for parsing command line arguments. It is very easy to incorporate this library into your C# project. To install Command Line...

View Article


Image may be NSFW.
Clik here to view.

Emulating Android App for Nexus 10 devices

I had been developing an Android App recently. The app runs perfectly in my real device, Nexus4, Nexus 7 Android Virtual Devices (AVD), but to my surprise, the screen is blank (or black) when it was...

View Article

Image may be NSFW.
Clik here to view.

Get the boundary of a mesh: the algorithm and C# implementation

Given a mesh, we might occasionally want to filter those internal vertices and keeps only the outline or silhouettes. But how to do that? The problem came to my mind several years ago, when the...

View Article

Image may be NSFW.
Clik here to view.

Text morphing: Rectangle to text

Filed under: Dotnet/C#, Programming Tagged: C#, mesh, morphing, OpenGL, rectangle to text, text

View Article


Image may be NSFW.
Clik here to view.

Install OSG for Android On Ubuntu 13.04: Step-by-Step tutorials

Installation of essential tools and packages    Installation of open scene graph       Build the 1st Android OSG Example Application    Installation of essential tools and packages Install Java sudo...

View Article


Image may be NSFW.
Clik here to view.

Visual Studio 2013 Ultimate ISO download and offline installation:...

Visual Studio 2003 was released, with quite a few exciting features. If you wish to get the offline iso installer, click below links (official iso from Microsoft) to download. However, even if you...

View Article

Image may be NSFW.
Clik here to view.

Unity3D: where and how to set Android SDK path

When you run Unity3D android app, the first time you will be prompted to specify the Android SDK path, that is good. But later when you want to change this, where to find such an entry to fill? Go to...

View Article

Image may be NSFW.
Clik here to view.

Unity3D webcam rendering: incorrect rotation and flip using WebCamTexture

When rendering webcam as textures, Unity3D ships with a useful WebCamTexture class, the typical use of this class is as follows: Create a GUITexture object: in unity menu:  GameObject    Create Other...

View Article

Image may be NSFW.
Clik here to view.

Unity3D: put 3D objects above GUI surface

The default rendering results for GUI objects such as GUI textures, buttons, labels etc. are that they are overlaied above 3D views. To do the opposite, for instance, make 3D view overlaied upon...

View Article


Image may be NSFW.
Clik here to view.

Unity3D: rotate 3D models around the center with mouse

In Unity3D, you can use mouse to rotate 3D models with trivial code: However when you run the above code, you might find that rotation center (pivot, or anchor point) is usually located at one of the...

View Article

Image may be NSFW.
Clik here to view.

Unity3D: inspector control value changed event handling

Unity3D has offered very handy interface to expose variables so that users can edit them in inspector. Take a look at below snapshot: one can define some public fields, and these fields are immediately...

View Article


Image may be NSFW.
Clik here to view.

Visual Studio 2013 Update 1: offline ISO download

This update is the latest in a cumulative series of feature additions and bug fixes for Visual Studio 2013. The offline ISO installer can be found from the below link (from official Microsoft web)...

View Article

Image may be NSFW.
Clik here to view.

Apache Felix: HelloAndroid

Apache Felix is a cool OSGi implementation, and has been widely used in Java applications. To use Felix in Android applications, embedding Felix into Android can help you harness the component based...

View Article


Image may be NSFW.
Clik here to view.

Unity 3D: Automatic anchors for interactive cloth

In Unity 3D, if you wish to add interactive cloth in your scene, most probably you need bring in some anchor points, which instruct the cloth which site remains static and fixed. This is a tedious...

View Article

Image may be NSFW.
Clik here to view.

Building OpenSceneGraph with Visual Studio 2013

Visual Studio 2013 has been out for a few months, and OpenSceneGraph also has their latest release up to version 3.3.1. It is now possible to build OpenScenegraph, inclusive of most widely used...

View Article

Image may be NSFW.
Clik here to view.

Application 0×00000007 error and troubleshooting

Recently I was asked to build a MFC application, and it worked on my development PC, but after packaging all the dlls, the application does not run, and an error with 0×00000007 pops up. I then opened...

View Article
Browsing all 284 articles
Browse latest View live