Search Results

by dengfengsoft
Wed Apr 11, 2012 10:22 am
Forum: C#.NET
Topic: Game (unity3d) with phidgets hangs on close
Replies: 60
Views: 2820695

Re: Game (unity3d) with phidgets hangs on close

How about killing the process like the following method in C#:
void KillMe()
{
string proc=Process.GetCurrentProcess().ProcessName;
Process[] processes=Process.GetProcessesByName(proc);
for(int i=0;i<processes.Length;i++)
{
processes.Kill();
}
}
by dengfengsoft
Thu Mar 29, 2012 8:53 am
Forum: C#.NET
Topic: Phidget Controled via localhost website!
Replies: 9
Views: 21762

Re: Phidget Controled via localhost website!

If you are not dealing with a lot of data, you can try to use Perst embedded database which is a lightweight database designed for c# desktop applications. :wink:
by dengfengsoft
Thu Feb 16, 2012 9:00 pm
Forum: C#.NET
Topic: Phidget Controled via localhost website!
Replies: 9
Views: 21762

Re: Phidget Controled via localhost website!

You are right, Html5 's websocket can not work directly in Android. You need a java plug-in. You can find the following link for the details: https://github.com/anismiles/websocket-android-phonegap/tree/master/src/com/strumsoft/websocket/phonegap I've already successfully use desktop browser to cont...
by dengfengsoft
Sun Jan 29, 2012 4:10 am
Forum: C#.NET
Topic: Phidget Controled via localhost website!
Replies: 9
Views: 21762

Re: Phidget Controled via localhost website!

In my opinion, the best way to do this is to use HTML5 web socket (If you want to try something new...) to build a html client. It's very easy to do.Then you can use C# to program a server site app to read/write Phidgets and send or receive the data to/from the client. Please refer to : http://nugge...