Skill Sprint: Encrypting AppTethering

Posted by on in Programming

Learn how to encrypt and decrypt the sending and receiving of data when using AppTethering

  • Live sessions Tuesday 19-Jan-2016 (Delphi) and Thursday 21-Jan-2016 (C++Builder)
  • 6AM San Francisco / 9AM New York / 2PM London / 3PM Milan 
  • 11AM San Francisco / 2PM New York / 7PM London / 8PM Milan
  • 5PM San Francisco / Wed 9AM Tokyo / Wed 10AM Sydney

This Skill Sprint covered how to use the new AppTethering encryption hooks in Delphi and C++ Builder to encrypt the data or stream before sending the data or stream to other app tethered connected devices and how to use the encryption hooks to decrypt the data or stream after receiving the data. 

The four new event handlers are:  OnBeforeSendDataOnAfterReceiveDataOnBeforeSendStreamOnAfterReceiveStream

The AppTethering encryption hooks work with both FireMonkey Multi-Device apps and VCL Windows apps, so you can use it on Windows, Mac OS X, Android and iOS apps.

ADDITIONAL INFORMATION:

 

SAMPLES:

Delphi (Object Pascal) - You can download the source code for the XOR Cypher Client and XOR Cypher Server App Tethering applications here:  http://cc.embarcadero.com/item/30437

 

C++ Builder (C++) - You can download the source code for the Rijindael LockBox Cypher Client and Rijindael LockBox Cypher Server App Tethering applications here: http://cc.embarcadero.com/item/30473

 

 Delphi 10 Seattle SamplesObject PascalRTLTethering

      •BDShoppingList

        –shows AppTethering sharing resources between other paired profiles.

      •DesktopCast

        –shows AppTethering sending screenshots and actions to other paired profiles.

      •MediaPlayer

        –shows AppTethering executing remote actions between other paired profiles.

      •DesktopBeaconCast

         –shows how to use the TBeacon component in a client application to scan for beacon devices. And remote actions are executed to take and get a screenshot from the server. By sending streams between other paired profiles.

  • PhotoWall

    - shows AppTethering sending streams between other paired profiles

 

 C++ Builder 10 SamplesCPPRTLTethering

  • BDShoppingList

–     shows AppTethering sharing resources between other paired profiles.

  • DesktopCast

–     shows AppTethering sending screenshots and actions to other paired profiles.

  • MediaPlayer

–     shows AppTethering executing remote actions between other paired profiles.

  • DesktopBeaconCast

–     shows how to use the TBeacon component in a client application to scan for beacon devices. And remote actions are executed to take and get a screenshot from the server. By sending streams between other paired profiles.

Replays

Delphi Skill Sprint - Encrypting AppTethering


Video not found or Youtube service not available
 
C++Builder Skill Sprint - Encrypting AppTethering

Video not found or Youtube service not available


About
Gold User, Rank: 15, Points: 256
This latest season of Developer Skill Sprints focuses on programming tips and techniques most requested by attendees of the past 72 skill sprints we’ve already presented. This quarter we’ll take your

Comments

  • metrotec llc D14766
    metrotec llc D14766 Wednesday, 24 August 2016

    Hi, an attempt to compile this source with Delphi 10.1 Berlin Version 24.0.22858.6822 ends with fatal error:
    [dcc32 Fatal Error] System.Tether.Manager.pas(3617): F2051 Unit System.Tether.Comm was compiled with a different version of System.Tether.Manager.TTetheringAdapter

    How to fix this?

  • Please login first in order for you to submit comments
  • Page :
  • 1

Check out more tips and tricks in this development video: