Skip to content

Commit cf95466

Browse files
committed
Pull in Konrad's copy with some changes
1 parent b8e5651 commit cf95466

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

_posts/2025-11-21-exploring-the-swift-sdk-for-android.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,15 @@ performance, safety, and usability. To enable that, Swift apps must bundle a nat
1919
runtime for Android that implements many of its features, including its standard library and
2020
core libraries like Dispatch and [Foundation](/blog/foundation-preview-now-available/).
2121

22-
However, since most Android APIs are only made available through Java and Kotlin
23-
in the Android Runtime (ART), a version of the Java Virtual Machine (JVM)
24-
optimized for mobile, we need to use the Java Native Interface (JNI) and write
25-
bindings both to call Swift from Java and go the other way. That is where the
26-
swift-java project's `jextract` tool and its [new support for generating such
27-
JNI bindings for you](/blog/gsoc-2025-showcase-swift-java/) comes in. Please
28-
watch its author Mads Odgaard's [Server-Side Swift Conference talk from last month](https://www.youtube.com/watch?v=tOH6V1IvTAc)
29-
and try out the tool for yourself with [this example Android app that he put together](https://github.com/swiftlang/swift-android-examples/tree/main/hello-swift-java).
22+
However, since most Android APIs are only made available through Java and Kotlin,
23+
Swift must call into the Android Runtime (ART). That is where the [Java interoperability
24+
project's](https://github.com/swiftlang/swift-java) `jextract` and `wrap-java`
25+
tools come in. These tools automatically create bindings that enable you to call
26+
Swift from Java or go the other way using the Java Native Interface (JNI), which
27+
allows Swift to seamlessly integrate with the Android platform. The [`jextract`
28+
tool gained a JNI mode recently](/blog/gsoc-2025-showcase-swift-java/):
29+
please watch its author Mads Odgaard's [Server Side Swift Conference talk from last month](https://www.youtube.com/watch?v=tOH6V1IvTAc).
30+
You can also check out [his hello-swift example in the Android examples repository](https://github.com/swiftlang/swift-android-examples/tree/main/hello-swift-java).
3031

3132
### Swift in Android app stores
3233

0 commit comments

Comments
 (0)