I am developing an iOS application on swift and I was wondering is it possible to convert the code to run on android devices or I have to develop a new application. I have experience only with writing application on swift and I do not know how to create an android application. If it is possible to convert it it will be great.
If you do not want to write different code for ios and android. Check if Hybrid app fits your requirements. Check out Apache Cordova (Adobe phonegap). You will be coding your application as a web app using HTML Css Js. Please be aware of its own pro's and con's of going with hybrid app.
If you are looking for truly native alternatives, Check out Xamarin which gives you native application's UI, Performance and access to low level API's. You need to code your app in C#
You cannot directly convert swift code to make it work on Android.
Related
I need help with some information which I couldn't find anywhere online. is it possible to convert my existing android app to ios using PhoneGap/Cordova? if it is yes, could u guys send me any link to do it. if its no, can I know why? please...
No, you can not convert it. Code base and frameworks are to different. For making cross platform app you can use Flutter, Xamarin or others...
Only if your android app is already a web application. Cordova and phonegap are a set of libraries for extending mobile web applications with native functionalities.
Apache Cordova is an open-source mobile development framework. It allows you to use standard web technologies - HTML5, CSS3, and JavaScript for cross-platform development. If your current Android application is a Native application; you cant convert application to iOS.
For more details : https://cordova.apache.org/docs/en/latest/guide/overview/
I am planning to write mobile apps for multi platforms and heard about react native as a good tool.
With little study, my understanding is that it's just for UI and you will end up using Android/IOS for part of your app coding.
Is it possible to write entire app in react native without Android knowledge?
My app needs to interact with other apps on the device like youtube, cal, WhatsApp, mail.. etc
Short Answer: Yes it is possible to write an entire app for both platforms Android and IOS, without Android knowledge, and without Swift Knowledge.
However, when some react native code works fine on IOSs but not on Androids, then you will have to do some bridging and have to write in Java for Android (requires Android Knowledge). Notice the android folder in your project? That is where Android-Specific code would be written.
And visa versa for things that work on Android but not on IOS, you will have to write in Swift and expose your code. Notice the ios folder?
I am trying to make android mobile app using cordova. I have created an application in MEAN.js framework and it is working properly and now i am trying to convert this application into an android mobile application so i tried a lot but could not find a proper solution. Please help me to find the way for creating android mobile app using cordova.
Thankyou.
Cordova is just a layer which converts HTML5 to native mobile app code. The thing to understand is that, although Cordova is extremely strong, it's quite low level. I would recommend you try to use Ionic. It's a framework which allows you to write HTML5 code (which then gets converted to native) but it also provides a layer of Angular. So, basically porting what you have in MEAN to Ionic should be straightforward
Is it possible convert a native Android app in to PhoneGap?
There is a script on: http://www.elvenware.com/charlie/development/android/PhoneGap.html which claimed it was possible, however it doesn't seem to have worked, and I am now stuck as to where to go.
Any help would be appreciated.
Is it possible convert a native Android app in to PhoneGap?
You can rewrite it.
There are bits and pieces of stuff that, in theory, could be used by a large development team to try to create an automated Android->HTML5 translator. However, many Android apps could not be translated that way, as they do things that are not presently possible using HTML5, even with the assistance of a hybrid app container like PhoneGap.
I am now stuck as to where to go
I would recommend that you start writing the PhoneGap app.
We are currently making a solution which can address this specific problem: how to convert existing android native java app to cross platform (Javascript). It includes Java->Javascript compiler, resource compiler (XML->HTML+CSS) and Javascript implementation of Android API. More information about the project and its current status can be found here: https://wellevo.com/android-js/
I m developing mobile web application using Asp.net mvc 3, jquery mobile, jquery it is running fine in android, iPhone.
How to convert this application into Android application using Eclipse?
First I do prefer not to convert them. Because if you are directly converting that you can not take benefit of native UI. But it will look same in mobile like it is running in mobile browser. But still if you want to try you can use phonegap .
If you want to do things with native I highly recommend mono for android . So, your backend will stay in asp.net mvc application and other things move to native application. And you can code in C# only.
Please let me know if any-other information needed.