Translate source between Android (Java / Kotlin), iOS (Swift) and Windows (.NET / C#) — with an honest review report.
| Source side | Target side | Notes |
|---|
PolyPort is a source-level idiom translator. It rewrites the parts of app code that have a mechanical equivalent on another platform: types, method/lifecycle names, collection access, logging, null handling, string interpolation, class inheritance, event listeners and platform-specific calls that it can turn into a flagged placeholder.
int ↔ Int ↔ int, boolean ↔ Bool ↔ bool, String ↔ string, void ↔ Void ↔ Unit.ArrayList<T> ↔ Array<T> ↔ [T] ↔ List<T>, maps, and .add/.append, .size()/.count/.Count, .get(i).onCreate → viewDidLoad → MainWindow ctor, plus super calls.void foo(Bar b) ↔ fun foo(b: Bar) ↔ func foo(b: Bar), parameter order reformatting included.Log.d / println / print / Console.WriteLine.null ↔ nil, this ↔ self, ?: ↔ ??.if/while/switch, indexed for loops, break handling, try/catch → do/catch."x \(y)" → concatenation (Java/C#) or ${y} (Kotlin).extends / implements / : rewritten to the target syntax..apk, an iOS .ipa
or a Windows .exe into a working app on another platform. Binary layout, UI
toolkits, permissions, platform APIs and store packaging all differ. PolyPort works on
source, idiom by idiom, and every construct it doesn't know is left in place and
listed in the review report so a human finishes the job.
new OnClickListener(), C# lambdas).