I have developed a project on android but now I want to make it compatible for ios also. How a project could run on two operating system?
I would suggest doing some research on cross-platform development such as https://xamarin.com/.
You should be able to use the general logic behind your android app to develop the code using xamarin.
Android and iOs are totally different platforms so basically you cant just run an Android app on iOs. But you can try using cross-platform tools like Xamarin to publish your app in several different platforms. For example in Xamarin you write your app with C# and publish it on iOs and Android at the same time.
There are different flavors you can use to develop on both platforms. It all depends on your skills and preferences, or whether you want to learn something new. The most popular languages are the following:
Xamarin - Used mostly as a plugin with Visual Studio, and based on the C# programming language.
Cordova - An Apache language which lets you develop for both platforms.
Phonegap - the Adobe flavor of Cordova.
Sencha - If you are more into JavaScript, you can use this flavor to develop apps for both IOS and Android.
Kindly note that all of the above are subject to subscription and payment, although flavors like Sencha come with a free version too.
Hope this helps.
Related
So I created an app on android studio and now my boss wants me to get it to work on Apple devices.
Is there a short cut to get an Android App to work on Apple devices ie iPhones, iPads and so on.
I really don't wanna create a whole other version for Apple devices.
Impossible. An option is to create hybrid application using Xamarin or Flutter which will run on both iOS and Android. That means you need to migrate you current implementation to hybrid app.
There are several options to do it and each of them has pros and cons so choose wisely.
Hybrid App
A hybrid app allows you to build a cross-platform mobile application with web technology. There are plenty of options you can use like Ionic, PhoneGap or React Native. But since you have built an Android app with the native code I assume, those existent features need to be rewritten in order to run on an iOS device.
Xamarin/Flutter
They are both create a native-like experience. The advantage of them comparing with hybrid app technology is the performance would be better in general. But again, it doesn't mean that you can just create an iOS app without changing any code, you'll still need to rewrite most of part in your app.
Kotlin Native
As an android developer, you're probably familiar with Kotlin. It's officially supported by Android team and It's 100% interoperable with Java. Kotlin can also be compiled to run on multiplatform including iOS. By this way, you'll be able to reuse a lot of existing Kotlin code on both Android and iOS so you don't need to use a new language to rewrite all the functionalities you had done on Android. The cons are It's an experimental feature so It's young and could change on the future and the reusability doesn't mean that you don't need to learn iOS platform.
I'm bidding for a contract that insists on using the NDK for their iOS app. Basically, they're arguing that they already have an iOS app and they want to use the Android NDK to have an Android app for it.
I'm sorry if this comes off ignorant. I suggested that I could rewrite the entire app in Native Java/Kotlin but they don't see it any other way. Is there a way to use Android NDK to create an android version of an existing iOS app? I've never worked with the NDK.
Android does not support either Objective-C or Swift, the two main development languages for iOS development. If the iOS app is written in either of those then there's nothing for it but to rewrite the app for Android.
As #CommonsWare says in their comment, if the app is written in C++ using OpenGL ES, which is cross-platform, then you might be able to share significant parts of the code between platforms.
You also say "I'm bidding for a contract that insists on using the NDK for their iOS app." That doesn't really make sense. The Android NDK does not support cross-development for iOS. You can't use it to develop iOS apps, full stop.
I am new to mobile development with a requirement to develop applications for Android and IOS. My programming background is in C#.
Which is the best language and framework to start developing mobile applications?
Is it better to use native development or use cross-platform frameworks?
Please suggest frameworks and languages with respect to ease of development, development support etc..
I am no expert in Cross Platform Mobile Development (in fact, I was just searching for a cross platform mobile development languages/frameworks), but you could take a look at Xamarin, especially as you have a C# Background.
You may also want to take a look at Apache Cordova (and Adobe Phonegap), they use HTML+CSS+JavaScript.
I recently found Flutter, the development language is Dart and it's an early stage OSS project (as of 2016 october) and Haxe. They both seem like active projects, so worth following the progress on GitHub.
If I had to choose and I already had skills in C#, I'd go with Xamarin.
I strongly recommend you give a try to Flutter... It just came out from Google... It's in Beta, but Google heavily used it until now in production mobile applications. It uses Dart, as a programming language and it's awesome. If you have a background in C# (or similar languages, like Java for example) you won't have any problems - it's quick to learn and there are a bunch of tutorials already.
Do a search on YouTube for Flutter, and also on medium...
Here's the website link: http://flutter.io
You can also download some sample applications with all the Android / iOs widgets you can use in a Flutter application. Here's the app for Android: https://play.google.com/store/apps/details?id=io.flutter.gallery&hl=en
The key difference between Flutter and React native for example is that there's no Javascript bridge... and it compiles to native code. You also write the code once, and it will work by default both on Android and iOs... Hack, you can even switch to iOs widgets on an Android phone.
It's AWESOME!!!
I want to write app for ios with java is it possible ?
Can i do it with android studio ?
If i cant which is the best way for writing app in java for ios ?
There is no way to write a native ios app in java. You will have to use a mobile development framework. This used to be RoboVM but that is now winding down. The RoboVM devs recommend moving to libGDX and the Intel Multi-OS Engine.
Another option is to learn C# and use Xamarin studio to support several mobile platforms from a single codebase.
See here for a discussion of options, none of which are without a learning curve.
is it possible to develop android apps using Visual Basic? if yes, how?
i have been working with it for a while and eclipse is quite difficult to use. i'd seriously prefer using VS
MSDN has a fairly useful library article about cross-platform development in Visual Studio with links on how to install and use the Xamarin or Apache Cordova tools.
Xamarin seems to only support C#, but maybe you could look at using a tool such as ILSpy to decompile a binary created from VB into C#
It is possible to develop android apps using VB.Net and Xamarin.Forms.
Xamarin allows you to develop cross platform apps using .Net framework - however, Xamarin users in most cases use C#.
Source - Xamarin.Forms using Visual Basic.Net
Another way would be using ionic framework, cordova or phonegap (pretty much the same, with different GUI's).
You will code the app in JS, HTML and CSS and can compile it as native app for iOs, Android and other devices.
You can read more here
It would be possible yes, but I'd recommend you to take a look at Android Studio.
It's a very nice IDE using Java to develop android applications.
You can also use Intel XDK. Very easy to use and flexible in choosing a framework, like Ionic or Jquery Mobile.
Yes, you can develop Android apps using Visual Basic. Look at the product called "B4A" (Basic4Android) by Anywhere Software.
It's basically like developing in VB6 for Android, and has built-in visual designers and emulation connectivity. You write all code in BASIC and it compiles down to native Java and APK files. No special frameworks or runtimes are required. Unlimited in its capabilities due to its ability to use Java code in modules (if desired), it's a truly amazing product. it's also as popular as ever. 100% of the code you write will be in BASIC - NO JAVA, C#, or anything else). If you ever want to know where all the VB developers went, now you know.
You're welcome. :-)