Bluetooth serial

1,091 views
Skip to first unread message

yerl...@gmail.com

unread,
Apr 29, 2016, 12:09:35 PM4/29/16
to Flutter Dev
Hi,
I need to build a simple app for android and I was considering Flutter for this.
The UI is simple just four buttons with arrow icons.
Now, the app needs to connect to an Arduino board with Bluetooth serial interface like what this plugin does for Cordova (https://github.com/don/BluetoothSerial).
Is it possible yet?
Thanks.

Seth Ladd

unread,
Apr 29, 2016, 12:12:33 PM4/29/16
to yerl...@gmail.com, Flutter Dev
Hi! Thanks for reaching out. I, too, want to do exactly this, so I'm curious how to do it :)

--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To post to this group, send email to flutt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/f9866bea-8a37-45d0-b876-d442cfe3d989%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ian Hickson

unread,
May 5, 2016, 7:06:09 PM5/5/16
to Seth Ladd, yerl...@gmail.com, Flutter Dev
If you know how to do this from Java on Android, you can write the Arduino interface in Java, and then connect to it from Dart. We have an example of talking from Dart to Java and back here:


There's some early documentation for how to talk from Java to Dart and back here:


We are working on something similar for iOS, that's not quite ready yet though.

-- 
Ian Hickson

yerl...@gmail.com

unread,
May 9, 2016, 12:54:24 PM5/9/16
to Flutter Dev, seth...@google.com, yerl...@gmail.com
Thanks for the example. I already built my stuff in Cordova, but will have a look at it for the future project.

Oscar Wang

unread,
Nov 18, 2016, 5:23:08 PM11/18/16
to Flutter Dev, yerl...@gmail.com
It's been a while, but I was wondering if there have been any improvements to implementing bluetooth in an flutter app

Eric Seidel

unread,
Nov 18, 2016, 6:19:18 PM11/18/16
to Oscar Wang, Flutter Dev, yerl...@gmail.com
Well, the hello_android example from before has since been renamed to
hello_services and gained ios support:
https://github.com/flutter/flutter/tree/master/examples/hello_services

However there is still no pre-built bluetooth example that I'm aware of.
> --
> You received this message because you are subscribed to the Google Groups
> "Flutter Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to flutter-dev...@googlegroups.com.

Oscar Wang

unread,
Nov 18, 2016, 8:31:55 PM11/18/16
to Eric Seidel, Flutter Dev, yerl...@gmail.com
Thanks for the reply! Great job on the second dart summit! You inspired me to try flutter last year during after your first presentation, and now I'm in love with dart and really trying to using dart wherever I can. Just wanted to know that you've inspired someone :)
Reply all
Reply to author
Forward
0 new messages