Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
What is the most efficient way to convert iOs mobile application into Android? A friend and I are working on an app and we would like to know what is our options?
Can we translate line by line the code? What can we do?
There is no conversion technique that you can just run your pre-existing IOS source code through and get Android source code
Unfortunately, that means you guys are going to have to decide if it is really worth the time and effort on porting.
Here are some resources for further reading:
http://www.datasprings.com/resources/articles-information/guide-for-porting-an-ios-app-to-android
Porting ios apps to android
You can write the codes by c language which are not related to UI, and call them by JNI on Android. If you did it, I think you can keep a same copy on IOS.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
So I'm currently developping an app in Android Studio, being Java the programming languague used. I wanted to know If It's possible to convert it later into IOS, and if so, how should i do it.
Thanks in advance for all responses.
Short Answer
You cannot convert all the project from Android to iOS.
But what you can do is inspire yourself from the work that you have done on Android (how you solved a specific problem) and also you could try to convert Utils classes (if possible).
Long answer
Android and iOS development principles are different (design patterns ...).
Converting JAVA to Swift is not always correct and optimized.
UX is different in both platforms (example: there is no Toast in iOS)
You can not convert but, You can achieve it using Kotlin Multiplatform Project, where you can write business logic once for both of the platforms.
You can find more details about "How to do?" from the following reference:
https://kotlinlang.org/docs/tutorials/native/mpp-ios-android.html
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm developing an application for manage security alarms and I have to work with the alarms API, an old code written in C#. The requests for disarm, arm...the alarms have to be done in Pascal (STDCALL) and I don't know how combine Android and Pascal.
Can anyone help me?
A lot of thanks.
The only way I know to execute Pascal code in Android is to compile a Free Pascal/Delphi shared library(.so) and access its interface through JNA/JNI. Of which two JNA seems to be the far less difficult option:
https://github.com/java-native-access/jna
You can't use Android's NDK tools to build such a native library as it is only C/C++. So you need to use an external compiler.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a dll C# Libraries and want to use it through my android app, I managed to run it through java but it didn't work through android, the way I used and the Exception raised is described here, but I found through searching that this way won't work with android, also I found a lot of questions about that issue but didn't got any suitable answer (e.g here, here, ...etc), So, I just want a clear answer, can I or can't? and if I can using any work around, How ?
Dynamic-link library (also written unhyphenated), or DLL, is Microsoft's implementation of the shared library concept in the Microsoft Windows
Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google.
So no, you cant. Teoretically in some kind of VM, still - no.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Does anyone know of a way that I can either code a program (preferably in java), or use an existing program or API that will listen to the microphone and convert what you are saying into text and save to a file? I do not want it to have any fancy features, I just want to have a lightweight speech to text program that will use very little resources so that is will be fast and simple.
Thanks in advance for any help! ☻
Nilpmet,
I must have done this at least a dozen times using CMU's Sphinx, their continuous-speech, speaker-independent recognition system. Sphinx has a Java API which is pretty great.
Please let me know if you have any questions!
You can use Google's speech API, demonstrate here.
Here is a reverse engineering of this API, you can get your speech API key here.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I try make an android app with java and have a problem with searchIndex
I just don't know ho to make it right
I already used lucene in C# but I want to know if I could use it in java.
Yes there is also a library of Lucene in java and you can use it in android applications.
But there is a native full text search feature called FTS and and also new version FTS4 in SQLite , which you can use in android easily and it has a better performance and response time since its running natively and so much faster because uses less memory than java Lucene impelementation.
You can see a sample here : http://www.mysamplecode.com/2011/11/android-searchview-using-sqlite-fts3.html
and also full documentation here : http://www.sqlite.org/fts3.html