Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Android simple TCP client extension for MIT Application Inventor 2

Find bellow an Android TCP client extension
TCP.png

that implements a very simple socket; note that its operation is performed 'one-shot', which means that only one command is sent ( and its respective response, read ) at a time, and then the socket connection is closed. So, be aware that it is not a generic "shell" implementation, therefore not keeping always connected. Another point to remark is that connection is not allways checked, which means that data content are not handled during reception, although defined a timeout on the socket for the lack of response within specific interval.

Follow the screenshot of the test program, also attached:

Mobile.png



The following is an overview of the collection of the component primitives:

Components.png



And below, the program itself, also attached. Note that the highlighted item, while occupying an expressive part of the project, is not functional but only informative.

Project.png



For more updated versions, refer to Github.
Feel free to conduct experiments and give feedback.

Comments

There are no comments to display.

Part and Inventory Search

Blog entry information

Author
andre_luis
Read time
1 min read
Views
5,866
Last update

Downloads

  • ClientTCP.rar
    2.6 MB · Views: 14,167

More entries in Uncategorized

More entries from andre_luis

Share this entry

Back
Top