Programming Resources: Difference between revisions
(android not launching with VINT) |
|||
Line 10: | Line 10: | ||
{| style="border:1px solid darkgray;" cellpadding="7px;" | {| style="border:1px solid darkgray;" cellpadding="7px;" | ||
|-style="background: #f0f0f0" align=center | |-style="background: #f0f0f0" align=center | ||
! Language || Libraries || API || Code Samples<sup>†</sup> || [[General Phidget Programming#Event Driven Code|Events]] || [[General Phidget Programming#Logic Code|Logic Code]] | ! Language || Libraries || API || Code Samples<sup>†</sup> || [[General Phidget Programming#Event Driven Code|Events]] || [[General Phidget Programming#Logic Code|Logic Code]] || Phidget User Base || OS Support | ||
|- | |- | ||
Line 20: | Line 20: | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
Line 31: | Line 30: | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
Line 42: | Line 40: | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
Line 53: | Line 50: | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Level-07.png|link=|alt=Extensive]] | |style="background: #ade6ab" align=center| [[Image:Level-07.png|link=|alt=Extensive]] | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | |style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | ||
|- | |||
|colspan="5"|'''Other Languages''' | |||
|- | |- | ||
Line 67: | Line 66: | ||
|style="background: #ade6ab" align=center| | |style="background: #ade6ab" align=center| | ||
|style="background: #ade6ab" align=center| | |style="background: #ade6ab" align=center| | ||
|style="background: #ade6ab" align=center| | |style="background: #ade6ab" align=center| [[Image:Icon-Windows.png|alt=OS - Windows|24x24px|link=OS - Windows]] [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] [[Image:Icon-Linux.png|alt=OS - Linux|24x24px|link=OS - Linux]] | ||
| | |||
|- | |- | ||
Line 75: | Line 73: | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
Line 82: | Line 79: | ||
|- | |- | ||
|[[Image:Icon- | |[[Image:Icon-Swift.png|alt=Cocoa|24x24px|link=Language - Swift]] [[Language - Swift|Swift]] | ||
|style="background: #f0f0ff" align=center| [[Language - | |style="background: #f0f0ff" align=center| [[Language - Swift#Quick Downloads|Quick Downloads]] | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Extensive]] | |style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Extensive]] | ||
|style="background: #ade6ab" align=center| [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]] | |style="background: #ade6ab" align=center| [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]][[Image:Icon-iOS.png|alt=OS - iOS|link=OS - iOS|24x24px|link=OS - iOS]] | ||
|- | |- | ||
|[[Image:Icon-ObjC.png|alt=ObjC|24x24px|link=Language - Objective C]] [[Language - Objective C|Objective C]] | |||
|style="background: #f0f0ff" align=center| [[Language - Objective C#Quick Downloads|Quick Downloads]] | |||
|[[Image:Icon- | |||
|style="background: #f0f0ff" align=center| [[Language - | |||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: # | |style="background: #ade6ab" align=center| | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Moderate]] | |style="background: #ade6ab" align=center| [[Image:Level-01.png|link=|alt=Moderate]] | ||
|style="background: #ade6ab" align=center| [[Image:Icon-iOS.png|alt=OS - iOS|link=OS - iOS|24x24px|link=OS - iOS]] | |style="background: #ade6ab" align=center| [[Image:Icon-Mac-OS.png|alt=OS - OS X|24x24px|link=OS - OS X]][[Image:Icon-iOS.png|alt=OS - iOS|link=OS - iOS|24x24px|link=OS - iOS]] | ||
|- | |- | ||
Line 114: | Line 103: | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
Line 125: | Line 113: | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| All Devices | |style="background: #ade6ab" align=center| All Devices | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | ||
|style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] | |style="background: #ade6ab" align=center| [[Image:Checkmark.png|link=]] |
Revision as of 22:02, 23 February 2017
Language Support
We provide a variety of supported languages for using Phidgets. Each language has its own libraries, which may be found on the language pages below, along with code examples and an in-depth API.
Many languages also depend on the core drivers being installed as well. These drivers can be found on the operating system pages above.
Phidgets supports the following languages. If the language you have chosen is not fully supported with examples for all products then there are some resources available for you to fill in the gaps. First we recommend you look at the API which will show you all of the functions you can use. Next, you should look at the code samples that are available in that language. Finally you should look at code samples for your device in other languages. Between those three things you should be able to piece together what you need to be doing, as always, if you run into trouble contact us. If you have some flexibility in what language to use, we recommend using a Core Language:
Language | Libraries | API | Code Samples† | Events | Logic Code | Phidget User Base | OS Support |
---|---|---|---|---|---|---|---|
Core Languages | |||||||
C# | Quick Downloads | All Devices | All Devices | File:Level-10.png | |||
C/C++ | Quick Downloads | All Devices | All Devices | File:Level-10.png | |||
Python | Quick Downloads | All Devices | All Devices | File:Level-07.png | |||
Java | Quick Downloads | All Devices | All Devices | File:Level-07.png | |||
Other Languages | |||||||
Javascript | Quick Downloads | All Devices | All Devices | ||||
Visual Basic .NET | Quick Downloads | All Devices | All Devices | File:Level-05.png | |||
Swift | Quick Downloads | All Devices | All Devices | File:Level-01.png | |||
Objective C | Quick Downloads | All Devices | File:Level-01.png | ||||
LabVIEW | Quick Downloads | All Devices | All Devices | File:Level-04.png | |||
Max/MSP | Quick Downloads | All Devices | All Devices | File:Level-01.png |
* A direct USB connection would be plugging the Phidget into a USB port and using it locally. This is the typical way to use a Phidget. However, some platforms (such as the iPhone platform) do not have USB ports and hence can only use a Phidget over a network, via the Phidget Network Service.
† Most languages have code samples for all Phidgets, but some have only some devices (visit the language page to learn which ones), and some only have an Interface Kit example. The Phidget Interface Kit is a common Phidget which provides an interface with analog sensors, digital input, and digital output. So, when we choose which examples to write, the Interface Kit is often at the top of our customer's lists.
Android Honeycomb Version 3.1 or Higher Only