RSS

Recent hot posts


AI | Android | CAD | CAE | CAX | Linux | osg | Unity 3d | Dotnet/C# | MFC | Java | Python

Visual Studio 2013 Ultimate ISO download and offline installation: troubleshooting of “incorrect function” problem Android Image Button: transparent background and custom pressed icon
Visual Studio 2010, 2012 Very slow and the solution Android EditText control: using old rectangle style
Visual Studio 2013 Update 1: offline ISO download Android, you ask to “Run As”, but it still “Debug as”
Unity3D: inspector control value changed event handling Install OSG for Android On Ubuntu 13.04: Step-by-Step tutorials
Unity3D: rotate 3D models around the center with mouse Installation of AutoCAD in Windows 8 & 8.1: Failure and solution
Using OpenGL in C# (Tao.Framework) Installing Git-flow in Windows
 
Leave a comment

Posted by on April 10, 2014 in General

 

Tags: , , ,

A good tutorial on programming XMPP


Original article is here.

But before diving into the server setup and programming issues, below two articles might be helpful to give you an idea on what XMPP is:

Instant messaging (IM) is nowadays one of the most used ways of communication and collaboration. In the next few articles I will be discussing how to create an infrastructure for instant messaging (IM) in your network.

Below  articles will show you how to install and configure an IM server, as well as how to use a XMPP library in Java in order to add instant messaging capabilities to your own application using Smack library.

Articles Series:

  1. Openfire server installation
  2. Openfire server configuration 
  3. XMPP IM with Smack for Java applications
 
Leave a comment

Posted by on September 27, 2016 in General

 

Introduction to Reactive Programming: An excellent tutorial


Original article here. Deserves a read.

 

 
Leave a comment

Posted by on September 21, 2016 in General

 

How to use GitStats in Windows: A step-by-step tutorial


GitStats is a handy tool for analysis and statistics for a git repository. It is a statistics generator for git repositories, which produces some interesting statistics from the history of it. Currently HTML is the output format.

gitstats

image

Read the rest of this entry »

 
Leave a comment

Posted by on September 18, 2016 in Programming

 

Tags: , , , , , , , ,

PERSPECTIVES ON AGILE SOFTWARE TESTING


An insightful ebook published by ThoughWorks. Deserves a perusal!

Download PDF here.

Image result for PERSPECTIVES ON AGILE SOFTWARE TESTING

 
Leave a comment

Posted by on August 26, 2016 in Programming

 

Tags: , , , ,

Image

Don’t pick a job, pick a boss.


 
Leave a comment

Posted by on August 24, 2016 in General

 

Step-by-Step guide for developing Android Plugin for Unity3D (II)


In previous blog, I have covered how to handshake Native Android code with Unity3D. The example shown therein is pretty simple: how to call a java function in C#!

In this blog, I am trying to step one more stride further: to create and use an Android View in Unity3D. The example shown here is an Android ImageView, however, this approach is generally applicable to all kinds of Android Views, ViewGroups and custom views.

imageAn Android ImageView

imageUse Android ImageView in Unity3D

Read the rest of this entry »

 
6 Comments

Posted by on August 10, 2016 in Android, Programming, Unity 3d

 

Tags: , , , , , , ,

Android: get active, current or foreground Activity


In our recent Android App development, we developed many static utility functions, which needs a Context as the argument:

public static void func1(Context context, …)
public static void func2(Context context, …)
public static void func3(Context context, …)

public static void funcN(Context context, …)

This is very cumbersome. We would like to refactor these utility functions into functions without the context argument/ A natural idea to pass in the application context at the very beginning, e.g. Application.onCreate() function, but not in all cases, can we use the application context. For instance, when you create a dialog or toast window, we need to use Activity as the context. So here comes the function that works:

image

Visit this gist to get the source code.

 
Leave a comment

Posted by on July 13, 2016 in Android, Programming

 

Tags: , , , , , , ,