Skip to content

swiftlang/swift-android-examples

Swift Android Examples

This repository contains example applications that demonstrate how to use the Swift SDK for Android. Each example showcases different integration patterns for Swift on Android.

Available Examples

  • hello-swift - basic Swift integration that calls a Swift function.
  • hello-swift-callback - demonstrates bidirectional communication with Swift timer callbacks updating Android UI.
  • hello-swift-library - shows how to package Swift code as a reusable Android library component.
  • native-activity - complete native Android activity with OpenGL ES rendering written entirely in Swift.
  • swift-java-hashing-example - application that demonstrates how to call Swift code from an Android app with automatically generated Java wrappers and JNI code using swift-java.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7