I'm working on a project whereby we're creating an app for people to call/message one another.
We're currently developing in Androidstudio, java, but even after we've launched the app, it seems that most of our interested users are on iOS instead.
Is it possible for us to convert Java > Kotlin and use Kotlin Native for our iOS app? I mean, if it's possible we'd like to use a way that wouldn't need us to use too much Swift, since we're a bunch of undergrads who's doing this on interest and we haven't developed in Swift before.
Seems like there are certain projects that are multi-platform so far, but I'm kinda really skeptical about the possibility of us doing so, even though most of our code are written in web.
I'm sorry I'm not that well versed in programming or if this question has been asked before, I'm still kinda new to programming and everything.
I'll really appreciate it if you'd so kindly answer this question! :)
You can use Kotlin/Native for your iOS app and not write any Swift, but you still need to change all of your UI code so that it uses the iOS UI framework and not the Android framework. This conversion needs to be done manually; there's no automated tool for that.
You could try out Flutter if you want to have one code base for both Android and iOS?
Related
I was thinking about different ways to convert my android app to ios app without learning and writing code in obj C from scratch. So I thought about converting it to c# and using xarmarin, create the ios version of it.
I just wanted to know what's the best tool to convert java to c#. I know there is an old post but it's 10 years old, i was just wondering if there is an easy way to do that?
I think it will be difficult. Especially for all UI specific code. There are some solutions to convert some part of your code such as model, controller or business logic.
You can use Sharpen to convert Java to C#. But, it will be difficult to use it for UI part. And even, if you achieve this, you will obtain a Xamarin application that targets Android only.
Of course, it will be easier to port your application to iOS but you will have to rewrite all UI code.
You can still try Xamarin, by porting your non UI code and creating a Xamarin Forms application (it means new UI code to develop) which can then be deployed on iOS and Android.
I want to develop an app to track people's Whatsapp last seen and other stuff, and found out that there are APIs out there to deal with it, but the thing is they are writen in python and are normally run in Linux I think
I have Java and Android knowledge but not python, and wonder if there's a way to develop the most of the app in Java and get the info I want via calls using these python APIs, but without having to install a python interpreter or similar on the device, so the final user just has to download and run the Android app as he would do with any other
I want to know if it would be very hard for someone inexperienced as me (this is the 2nd and final year of my developing grade), for it's what I have in mind for the final project, thx in advance
Instead of running it as one app, what about running the python script as separate from the original script? I believe it would bee possible, as android is in fact a UNIX based OS. Any readers could give their input on this idea an if it would work.
I'd like to have advertisements in an android App I've written and built using PGS4A. I've done my research and all, but there doesn't seem to be any online resources that explains how to do that just yet. I haven't much knowledge on Java either, which is clearly why I've written that in Python. Has anyone found a way to achieve that? If not, how difficult would it be to convert the project files into an Android Studio (or even an Eclipse) project? (so then one can just implement the ads following the Java Admob documentation found everywhere)
Thank you in advance.
To access Java already implemented version you can use pyjnius. I tried to use it for something else and I didn't succeed. Well, I yielded pretty quickly because it wasn't necessary for my project.
Otherwise, I am afraid, you will have to implement it yourself from scratch.
I never heard about a finished solution for your problem.
If you succeeded to use PGU, it wouldn't be so hard.
If not, well, I wish you luck, and put your solution online for others.
There is an Eclipse plug-in for Python. I think that Android studio does not support PGS4A. Never needed it. Console is the queen.
I am really new to the java & android apps development. Currently I'm doing a prototype application about the voice recognition. Which use the sphinx4 speech recognition. I'm really no idea that, is that Sphinx4 can be used on the android SDK?
Using Sphinx4.0 to build a speech recog. Android application (this shows that, it can't)
https://sourceforge.net/p/cmusphinx/discussion/sphinx4/thread/ce6ee093/ (But this said it can.)
if yes, i really no idea how to make use of the sphinx4, anyone can kindly provide the guide for me to complete the prototype?
Thanks for your kindly help.
It is possible to run Sphinx4 on android, however, you need to remove sphinx4 parts that use desktop-specific java api like java sound API. You still can have the core in place and demo should work as expected.
You need to reimplement Microphone class to use android API for sound input.
For more details see the discussion about that:
https://sourceforge.net/p/cmusphinx/mailman/message/31317160/
So it is some work and it requires coding skills. If you don't have that, use pocketsphinx instead like Opiatefuchs suggests you. It's well documented approach which requires minimum efforts.
I also tried to do some App with Pocketsphinx, not Sphinx4. I think this is really not designed for android, but maybe You could get it work. But for which reason? PocketSphinx is a good designed API for including in Android. I had mad some tutorial on my website for how to get the Pocketsphinx work, I advise to stop thinking about Sphinx4 because it would be a heavy coding thing to get it work. PocketSpinx has all You need...look at my Tutorial, this is a better way:
https://sites.google.com/site/opiatefuchs/home/pocketsphinxandroiddemo
Until now I stopped working on it, but when I got time, I will start to include Pocketsphix into an apk. But this tut only shows how to get the example demo work and set up Your runtime environment to work with Pocketsphinx.
I want to use pygtk app for android app development. I want to use app like pygtk which will have easy drag and drop options for developing the front end for android application.
Is there any of such thing which can let me design my front end for android app with drag and drop? (specially in python or else in java)
I see you tagged the question with kivy, I can only answer that we don't have such a thing for kivy yet, although a GSOC student got accepted for this and will start working on it soon, let's hope it'll work out nicely :). I'm of the opinion that the kvlang we have in kivy makes the need of a Graphical Designer far less than in other toolkits, but i guess YMMMV.
Other than that, I don't think you can do PyGTK development on Android currently, but I think PySide works, so maybe QtDesigner or some other Qt design application would be worth a look?