WiFi and Android

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

WiFi and Android

Post by Jan Lichtenbelt »

Programming WiFi is part of Flowcode. I want to send just one paramter to my tablet.

My question: is there a simple android program, which can be used to show me this parameter with the protocol used by Flowcode?

With kind regards

Jan Lichtenbelt

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: WiFi and Android

Post by Benj »

Hi Jan,

AppInventor is once of the Android tools of choice for me at the moment but it doesn't have a nice low level TCP IP communications. It does however have some nice built in IOT style applications so maybe worth a look.

Java is the other tool of choice for Android though is fairly in depth with coding. I wrote a short article a few years back with a Java example which may be useful for you.
http://www.matrixtsl.com/article.php?a=672

The file your interested in is the RPiActivity.java file in the "TCP Examples/Android/Android TCP Comms Project Files/src/RPi/Matrix/Ports/" folder.

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: WiFi and Android

Post by Jan Lichtenbelt »

Hi Ben,

Thanks a lot. Interesting article. But that will take a lot of time to get the program working in an android tablet. I'm hasitating to start with it.

With kind regards

Jan Lichtenbelt

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: WiFi and Android

Post by LeighM »

Could you use Bluetooth instead?
Setup a virtual comm link and use a Bluetooth Terminal App on the tablet?

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: WiFi and Android

Post by Jan Lichtenbelt »

Hi LeighM

Bluetooth is indeed possible. Would that be easier?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: WiFi and Android

Post by Benj »

There are many apps on Google Play that will let you use Bluetooth without any programming on Android. Some are paid and some are free with ads, and some are free without ads.

AppInventor also works great with Bluetooth and by following a tutorial is fairly simple to use to allow you to create your own apps.

Formula AllCode Course with AppInventor instructions: http://www.matrixtsl.com/resources/file ... Course.pdf

Formula AllCode App Inventor Examples: http://www.matrixtsl.com/formula-allcode/downloads/

App Inventor 3rd Party Bluetooth Tutorial: http://appinventor.pevest.com/?p=520

User avatar
achillis1
Posts: 347
Joined: Thu Oct 09, 2008 9:19 am
Has thanked: 91 times
Been thanked: 8 times
Contact:

Re: WiFi and Android

Post by achillis1 »

Hello Jan Lichtenbelt

I do not know if the following application is suited for you but you can check the VIRTUINO APP from play store. It is created by a nice GREEK guy ilias lamprou who is very helpful and can respond to emails. He has youtube videos. The only problem VIRTUINO works with ARDUINO , so you can work with those if you have or if you can find a way to import arduino code into flowcode.

Virtuino loads a code(web server) to arduino and then based on the code you have you just add buttons (input/output) to the android app . You can add charts as well and monitor values,AND LOTS MORE.

I think if Matrix tsl can add a feature that we can import arduino code to flowcode, then by using the virtuino or any other android app we can then RAPIDLY PROGRAMMING and producing IoT projects!

Best Regards,

Andreas Achilleos

User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: WiFi and Android

Post by Jan Lichtenbelt »

I got some suggestions like:
penhab, Fhem, Domotics
But they looks not very friendly.

HMI droid http://www.idea-teknik.com/en/hmi_droid_manual.html
seems better to me.

Perhaps an idea to create a special place for IoT problems, suggestions etc. in this Forum.

With kind regards

Jan Lichtenbelt

Post Reply