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

Image may be NSFW.
Clik here to view.

Using SmartFox with C# (I) : Installations and 1st handshaking

Despite that SmartFox has offered a Unity3D package for easy access SmartFox functionalities for game developers, however it is not very straightforward to directly get to know how to consume SmartFox...

View Article


Image may be NSFW.
Clik here to view.

Using SmartFox with C# (II) : Login and join room

The next step after connection with SmartFox server might be login to SmartFox.  If you wish to know how to connect to SmartFox server, refer to this post. Try below code to login to SmartFox: using...

View Article


Using SmartFox with C# (III) : Frequently used functions

If you haven’t read below posts, you might wish to have a quick go through: Using SmartFox with C# (I) : Installations and 1st handshakingUsing SmartFox with C# (II) : Login and join room If you are...

View Article

Image may be NSFW.
Clik here to view.

Android: How to play RTSP or HLS video streams

Playing rtsp video streams seems to be a complex task in Android, but actually it is insane easy. Here is how. Create a new project using Android Studio Drag a VideoView control to the UI or add below...

View Article

Image may be NSFW.
Clik here to view.

Android: How to play RTMP video streams

In the post Android: How to play RTSP or HLS video streams, there is one missing video streaming issue leaving unresolved: the RTMP videos. This post outlines how to implement rendering RTMP videos on...

View Article


Image may be NSFW.
Clik here to view.

Unity3D: using Visual Studio Code and hide meta and other unwanted files

Go to Visual Studio Code preference, click “Preference” > “User Settings” or “Project Settings”, add below code in the “Settings.Json” file: // Place your settings in this file to overwrite the...

View Article

Visual Studio 2015 Update 1 offline iso download link

Official ISO download link from Microsoft, enjoy! Visual Studio Enterprise 2015 with Update 1 (x86 and x64) – DVD (English) SHA1:EB8DFC731EA4822E57483516BC059BC990260549 Direct ISO Link Visual Studio...

View Article

How to package native library (*.so) in Android Studio

Recently I was working on some projects where the native library (*.so) is used. It builds in Android Studio without any problem, but when I run it on the Android devices, it crashes with the following...

View Article


Image may be NSFW.
Clik here to view.

Packaging Unity3D MonoBehaviour script into DLL

You might have dozens or even hundreds of MonoBehaviour based scripts in your typical Unity3D projects. For some reasons, either you want to protect your source code from direct access by others, or...

View Article


Image may be NSFW.
Clik here to view.

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

This series of post outlines the development of Android plugins for Unity3D. I had been asked to develop Android plugins for Unity3D every few days or months, each time following similar paths which I...

View Article

Backend server for Unity3D MMO games

There are many backend server systems that are commonly used in MMO games. Below are a few of them. You might try SmartFox, this link might be a good start for you. Below tutorials are also helpful for...

View Article

Image may be NSFW.
Clik here to view.

Install Statistics plugin for AndroidStudio: crash and troubleshooting

Statistic is a very powerful plugin for IntelliJ IDEA, which is very useful to show files sorted by their extension along with size, line count LOC etc. However, if you install this into the latest...

View Article

Image may be NSFW.
Clik here to view.

Android: Handle Custom protocol Urls

You might ever found custom protocol urls like below:     example://SomeHostPrefix/?UserName=abcdef&SessionId=12345 When you copy this custom protocol url in your mobile browser, you will find that...

View Article


Image may be NSFW.
Clik here to view.

Android: automatic set or update versionName from versionCode

In Android, version name and version code serve for different purposes, as is found in Android documentation here: android:versionCode An internal version number. This number is used only to determine...

View Article

Image may be NSFW.
Clik here to view.

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...

View Article


Image may be NSFW.
Clik here to view.

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...

View Article

Image may be NSFW.
Clik here to view.

PERSPECTIVES ON AGILE SOFTWARE TESTING

An insightful ebook published by ThoughWorks. Deserves a perusal! Download PDF here.

View Article


Image may be NSFW.
Clik here to view.

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....

View Article

Image may be NSFW.
Clik here to view.

Unity3D: Get inspector property values programatically

Recently, I found an interesting question in Unity3D. How to get some field value shown in Unity3D inspector programmatically? Largely this is an undocumented area, and it took me some research to get...

View Article

Image may be NSFW.
Clik here to view.

Android Automated UI Testing with Expresso (I)

I have been trying to write a few articles on Android automated UI testing for a long time, ever since my last job when we started experimenting using Expresso in our commercial Android App. This...

View Article
Browsing all 284 articles
Browse latest View live