How To Transfer Data Between Two Flutter Apps Using bluetooth - flutter

I try to send some data String or binary from my Application N°1 from devis N°1 to the same Application from My devis N°2.
I search and i search and there is no good tutorial who explain step by step how to use bluetooth in flutter, there is only COPY/PAST without any explication and i found much undeclared variable...
the flutter_blue not show my smartphone devis but the flutter_bluetooth_serial show me the devis (I use the exemple code but i dont know how it work) so i dont know how i Add this devis and how i send data from this devis...
by the way can i use JAVA code ? the old java android programming because i know how use bluetooth in the old Android application but with flutter i dont found any good tutorial.

Related

I am trying to cast videos from my app to chrome-cast devices

Hi I am trying to cast videos from my flutter app to chromecast devices using this plugin called flutter_video_cast from pub.dev
But the issue is while I am trying to setup these plugin for android. The instruction given by the developers in not clear due to these I am able to use it in my app.
The section which I need clarification is this part
I am not able to get what it meant by initialize cast context by extending flutter fragement activity.
Any sort of answers will be helpful for me.

Local Notifications

I'm building my first app in Flutter and want to include local notifications for Android and iOS. I've searched quite extensively for how to implement these, but every search result on Medium, Youtube, or random website uses flutter_local_notifications on pub.dev (I can't find anything on api.flutter.dev except for icons). I'm sure it's a great resource, but I've been trying to code everything from scratch rather than use these plugins so I can understand the foundational mechanics better.Anyone know of a resource to guide me?
As Notifications are pretty platform-specific, there is no direct approach of calling notifications from flutter itself. You rather have to write your own native code for both ios and android in order to send notifications. For android, you can either use Java or Kotlin as a native language, and for iOS, you use Swift.
You can follow this tutorial in order to get your hands on a native method for calling notifications on android.

how work with contact ,camera, gps in flutter without using plugins

I'm trying to do CRUD on contacts and SMS using flutter, but after so much searching I feel flutter does not have any core options about contacts or SMS. there is nothing in the official documentation.
how work with contacts, camera, GPS in flutter without using plugins?
because the contact has a different implementation in android and IOS you need to have a code for each platform. in flutter its called Plugin or platform-specific code. and as I said there is no way to work with a contact without plugins cause its platform-specific code. if you don't want to use plugin You should write your own plugins for contact. and I think this is the hard way.
if you want to have your own plugin check Writing custom platform-specific code link

Flutter Printing over WIFI

I am developing an app for school project using flutter and it should have a feature of printing a PDF document over WI-Fi (using WI-FI printers).
I didn't find any tutorials on printing using flutter so I want to know if flutter supports such thing and if not, is there a way around it?
Thanks in advance
It looks like there is a printing package available for flutter here that might be what you need:
https://pub.dev/packages/printing
They even have example code that you can use:
https://pub.dev/packages/printing#-example-tab-

How to get a working QR code scanner for Flutter web?

I’m kind of expecting the impossible, but asking anyway to ensure I’ve not missed out on any great ideas.
I’ve tried a couple of Flutter QR code scanner libraries, but as I was kind of expecting, none of those would run when I used the web beta support in Chrome for instance.
My question is, is there a Flutter QR code scanner library that works for iOS, Android and Web?
If not, is there a way to write this in Flutter for Web specifically?
There was one Stack Overflow question of running a QR scanner JavaScript library inside a WebView and trying to run a Web version which the post indicated faced issues with camera streaming. Is this a possible approach that would translate to Web?
Is there any other way to have a QR code scanner in Flutter to run in Web?
You could use an API like http://goqr.me/api/ in your flutter web project. You just have to use the read command on their api. I think it returns a response in either json or xml. If that isn't enough there are othe apis just search it till you find a cool one