Is that possible writing a Swift lib for Android NOW? - android

We're considering to write a lib for both iOS and Android using Swift instead of C/C++.
I found some talks about Swift on Android:
How we put an app in the Android Play Store using Swift
#Pragma Conference 2016 - Axel Schlueter - Swift on Android
Swift on Android: The Future of Cross-Platform Programming or White Whale?

In MillerTechnologies, we are working on that currently. Look those repos out.
https://github.com/MillerTechnologyPeru/swift-android
https://github.com/PureSwift/Android
We base our project on this repo
https://github.com/SwiftJava/swift-android-kotlin
but firstly you need to configure the toolchain
https://github.com/SwiftJava/android_toolchain

Related

How to use Swift library in Android native project

We have iOS and Android native applications. iOS team implemented the Onvif library in Swift (which also contains Objective-C libraries). We would like to integrate it into the native Android application.
We discovered possible solutions:
Write the same code in Kotlin by ourselves
KMM - if it's possible to share the Swift library
Translate Swift into Kotlin using https://vinivendra.github.io/Gryphon/
Gradle plugin for Swift https://github.com/readdle/swift-android-gradle
We prefer to use the original Swift library as all bugs would be fixed there.
What option do you suggest?
Thank you

Flutter android library and iOS framework

My question is, how do I use .aar files for android and iOS frameworks in flutter?
I am coding a program and I am using flutter. I found .aar files for program and iOS frameworks. How do I integrate both and use them?
I think what you need to use method channel so you can call native code and can connect from Flutter to Android and iOS. https://flutter.dev/docs/development/platform-integration/platform-channels

Can you export a Flutter project to Java & Swift?

I have been working with Flutter for some time and have a functioning app that works just fine.
What I am trying to do is 'export' my Flutter project into native Android / Java to give to the Android developer and Swift / Objective-C to give to the iOS developer for further changes and customization.
This answer discusses the import functionality, but with regards to export is this something that can be done? Does Flutter have such an operation?
You can embed a Flutter app as view to Java and iOS, but you can not convert it to Java, Kotlin, Swift or Object-C
https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps
https://docs.flutter.io/javadoc/io/flutter/view/FlutterView.html
https://github.com/flutter/flutter/tree/master/examples/flutter_view
This example might also be related
https://github.com/flutter/flutter/tree/master/examples/platform_view

How to create Android apps using Delphi

I have been asked to research on how to make an android app using Delphi, Now I am not sure that this can be done. I have not come across tutorials on the same. Somebody please clarify on this issue.
Delphi cannot create Android apps at present. This is being worked on for a future release.
Update: As of the release of XE5, Delphi now supports Android development for certain ARM hardware using the mobile Delphi compiler.
Free Pascal is now able to produce code for the Java platform - so it might be feasible to create Delphi code which can be compiled to Java bytecode with FPC and then converted for the Dalvik VM.
The FPC backend for the Java Virtual Machine (JVM) generates Java byte
code that conforms to the specifications of the JDK 1.5 (and later).
While not all FPC language features work when targeting the JVM, most
do (or will in the future) and we have done our best to introduce as
few differences as possible.
This FPC JVM backend is not related to Project Cooper by RemObjects,
nor does FPC now support the Oxygene language.
Two choices to follow at present - check out Delphi for Android which is in design/beta phase: http://lenniedevilliers.blogspot.com/
Or, use Prism http://www.embarcadero.com/products/prism (and check out their Oxygen for Java coming soon http://www.remobjects.com/oxygene/java.aspx which is in Beta)
With DWS as backend script compiler and the soon to come Smart Mobile Studio (aka OP4JS) component library and RAD interface it will be possible to make apps running with HTML5 in android applications (and iOS or any other html5 compatible system).
By using object pascal, all Delphi and freepascal users will have a short learning curve and a high code reuse factor.
There are some samples using only the DWS backend here :
taming-the-flock-with-object-pascal
taming-html5-verlets-with-object-pascal
Update :
More samples can now be found on their homepage.
First steps with native Android applications made with Lazarus/FPC are here.
One way is to use a combination of Delphi, Sencha and PhoneGap by leveraging the Raudus framework. You can try the RaudusEmployee.apk example on your phone and see if this method will work for you.
http://www.raudus.com/samples/
This is not a native application, but similar to many new HTML5 applications.
Delphi XE5 is now released with Android support.
http://www.embarcadero.com/products/rad-studio/create-android-apps

Can I use VB.NET to develop applications using MonoDroid?

I would like to know if it is possible to develop smartphone applications using VB.NET rather than C# with the MonoDroid Visual Studio addin?
Also, if possible could anyone point me in the right direction of some example code in VB.NET not C#?
Many thanks in advance.
Here is an article
From http://mono-android.net/FAQ
Currently Mono for Android does not support Visual Basic.
We are looking at adding support for
Visual Basic on upcoming versions of
Mono for Android.
Technically, what needs to happen is
the following: we need to provide the
Visual Basic helper library (part of
Microsoft.VisualBasic.dll) and compile
it to work with the Mono for Android
mscorlib.dll instead of the standard
Mono 2.0 mscorlib.dll
With the above it will be possible to
use Microsoft's Visual Studio to
compile VB code that will run on Mono
for Android. But we want to support
Mono's own Visual Basic compiler, but
that will also require the compiler to
run using the Mono for Android
mscorlib.dll. This is not difficult,
but requires time to get done and
integrate into our release process.
At this point there is no ETA on when
the above will happen. [enter link
description here][1]
[1]: http://mono-android.net/FAQ
Not at this time. You can find an explanation in the FAQ, but the first few lines state:
Does Mono for Android support Visual
Basic?
Currently Mono for Android does not
support Visual Basic.
We are looking at adding support for
Visual Basic on upcoming versions of
Mono for Android.

Categories

Resources