Get access to over 100 FireMonkey cross platform samples for Android, IOS, OSX, Windows, and Linux!

AndroidCode SnippetDelphiDemoFiremonkeyIOSOSXWindows

Mobile Bar Code Scanner App Tethers To Desktop With Delphi XE6 Firemonkey

| Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOS

Delphi XE6 Firemonkey Bar Code Scanner Tether App Desktop | Delphi 11 10 XE8 XE7 XE Seattle Berlin Tokyo Rio Firemonkey Delphi Android Delphi IOSSteve Nix has a blog post up where he demos how to create a bar code scanner app for Android and IOS that talks to a Windows desktop using the new Delphi XE6 app tethering components. This kind of project is what was talked about as a good example of the app tethering components and now here it is with source code. Basically the new Delphi XE6 has some components that will search your local subnet of your network for another app that is listening for it. The component will automatically connect and allow you to easily send data back and forth between the two devices whether they are a mobile and a desktop or mobile to mobile. The demo source includes a sample desktop app for receiving the bar code and a mobile app for scanning the bar code. The blog post goes into detail on how to set it up all up. Here is a sample of the event that gets fired after the Discover function is called:
for I := 0 to RemoteManagers.Count-1 do
if (RemoteManagers[I].ManagerText = 'BarcodeReceiverManager') then
begin
TetheringManager1.PairManager(RemoteManagers[I]);
Break; // Break since we only want the first...
end;

Head over and check out the full blog post about app tethering and bar code scanning with Delphi XE6. David Intersimone also has a blog post up about it.

Lastly here is a mirror of the source code for these projects.

Have Delphi Firemonkey questions? Ask and get answers on StackOverflow.

Related posts
DelphiDemoFiremonkeyLinuxOSXShowcaseWindows

AutoBlogAI: FireMonkey Client To Leverage LLMs And Generative AI For Blogging

DelphiFiremonkeyShowcaseUtilityWindows

Unleashing Creativity With Song Writer AI: A Deep Dive

DelphiFiremonkeyShowcaseWindows

How To Build Stable Diffusion Text To Image Prompts

AndroidC++BuilderDelphiFiremonkeyIOSOSXWindows

FireMonkey 10.4.2 Features Updated iOS 14, Android 11, And macOS 11 Support Plus Hundreds Of Fixes

Sign up for our Newsletter and
stay informed

8 Comments

Leave a Reply