Language - Android Java: Difference between revisions

From Phidgets Support
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Language]]
#REDIRECT [[Language_-_Java_Android_Studio_Android]]
{{OSLang|[[File:Icon-Android.png‎|64x64px|left|link=|alt=]]|Android Java is the main language used to program for the [[OS - Android|Android OS]].}}
__TOC__
 
== Introduction ==
 
If this is your first time working with a Phidget, we suggest starting with the Getting Started page for your specific device. This can be found in the user guide for your device. That page will walk you through installing drivers and libraries for your operating system, and will then bring you back here to use Android specifically.
Android is capable of using the complete Phidget API, including events. We also provide example code in Android for all Phidget devices.
 
'''<span style="color:#FF0000">List all frameworks or IDEs supported in this version</span>'''
 
== Quick Downloads ==
 
'''<span style="color:#FF0000">List of download links, to be added once files are available</span>'''
 
=== Documentation ===
=== Example Code ===
=== Libraries and Drivers ===
 
== Getting Started with Android Java ==
 
If you are new to writing code for Phidgets, we recommend starting by running, then modifying existing examples. This will allow you to:
{{ExampleCodeReasons}}
 
== Android ==
 
'''<span style="color:#FF0000">Describe Phidget library includes, and detail a step-by-step guide to get examples running in each supported IDE</span>'''
 
* Eclipse (3.1+)
* Eclipse (Older than 3.1)
* Android Studio
 
== Edit the Examples ==
 
By following the instructions for your operating system and compiler above, you probably now have a working example and want to understand it better so you can change it to do what you want. This teaching section has resources for you to learn from the examples and write your own.
Your main reference for writing Android code will be the Phidget22 API Manual:
 
'''<span style="color:#FF0000">Link to API manual</span>'''
 
=== Example Flow ===
 
'''<span style="color:#FF0000">Walk through "Hello world" example for this language</span>'''
 
=== Code Snippets ===
 
 
'''<span style="color:#FF0000">Write blocks of code for each simple concept, using interfaceKit objects as example</span>'''
 
==== Step One: Initialize and Open ====
==== Step Two: Wait for Attachment (plugging in) of the Phidget ====
==== Step Three: Do Things with the Phidget ====
==== Step Four: Close and Delete ====
 
==== More How-To's ====
 
'''<span style="color:#FF0000">Link to other common pages like polling vs. events</span>'''
 
== Common Problems and Solutions/Workarounds ==
 
'''<span style="color:#FF0000">If you know of common problems using this lanaguage (for example, having to create sub-VIs when using multiple phidgets in labview) put them here. </span>'''

Latest revision as of 20:10, 4 July 2019